Package se.conciliate.extensions.ui
Class LazyModelingActionGroup
java.lang.Object
se.conciliate.extensions.ui.ModelingAction
se.conciliate.extensions.ui.ModelingActionGroup
se.conciliate.extensions.ui.LazyModelingActionGroup
A group of modeling actions that are loaded when asked for.
-
Nested Class Summary
Nested classes/interfaces inherited from class se.conciliate.extensions.ui.ModelingActionGroup
ModelingActionGroup.PreferredAlignment
-
Constructor Summary
ConstructorsConstructorDescriptionLazyModelingActionGroup
(boolean enabled) LazyModelingActionGroup
(String name, Icon icon, boolean enabled) -
Method Summary
Modifier and TypeMethodDescriptionReturns the child actions.boolean
protected abstract List<ModelingAction>
Loads the children.Methods inherited from class se.conciliate.extensions.ui.ModelingActionGroup
addModelingAction, clear, getAlignment, hasTitle, isEnabled, isSelectWithNumKeys, setAlignment, setSelectWithNumKeys
Methods inherited from class se.conciliate.extensions.ui.ModelingAction
getSwingAction, toString
-
Constructor Details
-
LazyModelingActionGroup
-
LazyModelingActionGroup
public LazyModelingActionGroup(boolean enabled)
-
-
Method Details
-
isAlwaysLoaded
public boolean isAlwaysLoaded() -
getChildren
Description copied from class:ModelingActionGroup
Returns the child actions.- Overrides:
getChildren
in classModelingActionGroup
-
loadChildren
Loads the children. This method will be called when getChildren() is called for the first time. This method is guaranteed to be called on a worker thread.- Throws:
Exception
-