Package uk.ac.gda.ui.tool.selectable
Interface Lockable
- All Known Implementing Classes:
SelectableAcquisitionCompositeFactory
public interface Lockable
Locks some class features. Depending on the implementation, a class implementing this interface allows a second class to acquire some rights on the first.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThis constant may be used as key to identify a LockableSelectable instance viaWidget.getData(String) -
Method Summary
Modifier and TypeMethodDescriptionvoidlock(boolean lock) Disable the selectable implementing this interface
-
Field Details
-
LOCKABLE_SELECTABLE
This constant may be used as key to identify a LockableSelectable instance viaWidget.getData(String)- See Also:
-
-
Method Details
-
lock
void lock(boolean lock) Disable the selectable implementing this interface- Parameters:
lock-trueto lock,falseto unlock
-