|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.jfacefactories.binders.EnableBinder
public final class EnableBinder
Methods for binding enablement of controls to bean properties and other controls.
Method Summary | |
---|---|
void |
bind(org.eclipse.swt.widgets.Control master,
org.eclipse.swt.widgets.Control... slaves)
Ensures the enablement of the passed 'slaves' equals that of the passed 'master'. |
void |
bind(java.lang.Object bean,
java.lang.String propertyName,
org.eclipse.swt.widgets.Control... controls)
Sets the enablement of the passed control(s) based on the value of the passed boolean property on the passed bean. |
protected org.eclipse.core.databinding.DataBindingContext |
getContext()
Accessor to context. |
protected IExceptionHandler |
getExceptionHandler()
Accessor to exception handler. |
protected org.eclipse.core.databinding.observable.Realm |
getRealm()
Accessor to validation realm. |
protected void |
runInRealm(java.lang.Runnable runnable)
Runs the passed runnable in the current validation realm |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public final void bind(org.eclipse.swt.widgets.Control master, org.eclipse.swt.widgets.Control... slaves)
master
- slaves
- public final void bind(java.lang.Object bean, java.lang.String propertyName, org.eclipse.swt.widgets.Control... controls)
bean
- - cannot be nullpropertyName
- - must refer to a boolean property.controls
- - cannot be nullprotected org.eclipse.core.databinding.DataBindingContext getContext()
protected org.eclipse.core.databinding.observable.Realm getRealm()
protected void runInRealm(java.lang.Runnable runnable)
runnable
- protected IExceptionHandler getExceptionHandler()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |