public class ActionsPanel extends Composite implements IVirtualSpacePanel, IContextMenuContributor, IVSActionListener
IVSComponentState.State
Modifier and Type | Method and Description |
---|---|
void |
appendMenuItems(Viewer viewer,
IzMenu menu,
DesignerProp target)
Called to append menu items.
|
boolean |
doAddExpandCollapseAll(Viewer viewer,
IzMenu menu,
DesignerProp target)
Checks if expand/collapse all menu items should be added.
|
DesignerProp |
getTarget()
Gets the default target when none other is found for the pop-up menu in the viewer.
|
void |
onActionCompleted(VSAction action,
VSActionTXProcess process,
Throwable exception)
Called after the action completes the TXP processing
i.e.
|
void |
onActionInvoked(VSAction action,
VSActionTXProcess process)
Called before the action invokes the Action Actors.
|
void |
onBroken(VSRelativeReference<?> reference,
VSAction action)
Called when the property reference has been broken, i.e.
|
void |
onConnections(IVSActionListener[] listeners)
Called to update the connections.
|
void |
onEditedProperty(GProp<?> _action)
Selection changed for panel.
|
void |
onParentStateChanged(IVSComponent parent,
IVSComponentState.State state,
boolean on)
Called when the parent changes state.
|
void |
onResolved(VSRelativeReference<?> reference,
VSAction action)
Called when the property reference has been resolved.
|
void |
onStateChanged(VSAction action,
IVSComponentState.State state,
boolean on)
Called when the field changes state.
|
void |
prependMenuItems(Viewer viewer,
IzMenu menu,
DesignerProp target)
Called to prepend menu items.
|
void |
saveSettings()
Saves the settings.
|
public void saveSettings()
saveSettings
in interface IVirtualSpacePanel
public void onEditedProperty(GProp<?> _action)
onEditedProperty
in interface IVirtualSpacePanel
public void prependMenuItems(Viewer viewer, IzMenu menu, DesignerProp target)
prependMenuItems
in interface IContextMenuContributor
prependMenuItems
in interface IContextMenuContributorFormControl<Viewer>
viewer
- The viewer.menu
- The pop-up menu.target
- The selected target in the viewer, null for none.public void appendMenuItems(Viewer viewer, IzMenu menu, DesignerProp target)
appendMenuItems
in interface IContextMenuContributor
appendMenuItems
in interface IContextMenuContributorFormControl<Viewer>
viewer
- The viewer.menu
- The pop-up menu.target
- The selected target in the viewer, null for none.public boolean doAddExpandCollapseAll(Viewer viewer, IzMenu menu, DesignerProp target)
doAddExpandCollapseAll
in interface IContextMenuContributor
public DesignerProp getTarget()
getTarget
in interface IContextMenuContributor
getTarget
in interface IContextMenuContributorFormControl<Viewer>
public void onConnections(IVSActionListener[] listeners)
public void onResolved(VSRelativeReference<?> reference, VSAction action)
IVSActionListener
onResolved
in interface IVSActionListener
reference
- The VSRelativeReference instance holding the reference.action
- The target reference.public void onBroken(VSRelativeReference<?> reference, VSAction action)
IVSActionListener
onBroken
in interface IVSActionListener
reference
- The VSRelativeReference instance holding the reference.action
- The target reference.public void onStateChanged(VSAction action, IVSComponentState.State state, boolean on)
IVSActionListener
onStateChanged
in interface IVSActionListener
action
- The VS action.state
- The state change.on
- New state.public void onParentStateChanged(IVSComponent parent, IVSComponentState.State state, boolean on)
IVSComponentListener
onParentStateChanged
in interface IVSComponentListener
parent
- The parent who's state was changed.state
- The state change, possible values PARENT_ENABLED, PARENT_READONLY, PARENT_VISIBLE.on
- New state.public void onActionInvoked(VSAction action, VSActionTXProcess process)
IVSActionListener
This method is called in the execution trigger thread.
onActionInvoked
in interface IVSActionListener
action
- The VS action.process
- The initialized process.public void onActionCompleted(VSAction action, VSActionTXProcess process, Throwable exception)
IVSActionListener
This method is called from the thread that executed the TX action process.
onActionCompleted
in interface IVSActionListener
action
- The VS action.process
- The completed process.exception
- Potential exception in TX process, null for none.iizi® is a registered trademark of Mindus SARL. © Copyright Mindus SARL, 2020. All rights reserved.