Interface ComponentDesignDelegate.DeepSelectToolbar
-
- Enclosing interface:
- ComponentDesignDelegate
public static interface ComponentDesignDelegate.DeepSelectToolbar
DesignDelegates may contribute buttons to the workspace's toolbar when the the component type is the current deep selection. These buttons will be addeed and removed in response to changes in deep selection container type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<javax.swing.AbstractButton>
getToolbarButtons()
void
onSelectionChange(SelectionChangeEvent event)
Called when selection (not deep selection) has changed.void
setEnabled(boolean isEnabled)
If isEnabled is true, the default logic for whether to enable/disable buttons is run.
-
-
-
Method Detail
-
getToolbarButtons
@Nonnull java.util.List<javax.swing.AbstractButton> getToolbarButtons()
- Returns:
- a set of JideToolbar compatible buttons that will be presented when the delegate's component type is the deep selection.
-
setEnabled
void setEnabled(boolean isEnabled)
If isEnabled is true, the default logic for whether to enable/disable buttons is run. If false, it forces all buttons to be disabled.
-
onSelectionChange
void onSelectionChange(@Nonnull SelectionChangeEvent event)
Called when selection (not deep selection) has changed.
-
-