Package adams.gui.flow.tree.menu
Interface TreePopupAction
-
- All Superinterfaces:
Action,ActionListener,BaseAction,CleanUpHandler,EventListener,PropertiesAction<StateContainer>
- All Known Implementing Classes:
AbstractAddBreakpointAction,AbstractAddMostCommonActorAction,AbstractCompareActors,AbstractEncloseActor,AbstractFromTemplateAction,AbstractTreePopupMenuItemAction,AbstractTreePopupSubMenuAction,AddActor,AddActorAfter,AddActorBeneath,AddActorHere,AddBookmark,AddBreakpoint,AddBreakpointAfter,AddBreakpointBeneath,AddBreakpointHere,AddFromTemplate,AddFromTemplateAfter,AddFromTemplateBeneath,AddFromTemplateHere,AddMostCommonActor,AddMostCommonActorAfter,AddMostCommonActorBeneath,AddMostCommonActorHere,AnnotateActor,AttachBreakpointHere,AttachListener,Bookmark,CleanUpActorName,CollapseAll,CompareActors,CompareJustActors,CompareSubFlows,CopyActor,CopyActorCommandline,CopyActorMore,CopyActorName,CopyActorPath,CopyActorPlainText,CopyStorageName,CopyVariableName,CreateCallableActor,CutActor,EditActor,EditExternalFlow,EditListeners,EncloseActor,EncloseActorAll,EncloseActorCommon,EncloseActorCompact,EncloseActorSpecial,ExpandAll,ExpandCollapseExternalFlow,ExportActor,ExternalFlow,ExternalizeActor,FindUsages,GoTo,Help,InspectMemory,InspectMemoryDetails,InspectMemorySize,LastTemplate,Listeners,MakeConditional,MakeInteractive,MakeTimed,MaterializeExternalActor,MenuHeader,PasteActor,PasteActorAfter,PasteActorBeneath,PasteActorHere,PullUpActor,RemoveActor,RemoveBookmark,RemoveBreakpoints,RemoveListeners,RenameActor,RunToHere,Separator,SwapActor,ToggleState
public interface TreePopupAction extends PropertiesAction<StateContainer>
Interface for menu items in the popup menu of the flow tree.- Version:
- $Revision: 9881 $
- Author:
- fracpete
-
-
Field Summary
-
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddUndoPoint(String comment)Adds an undo point with the given comment.booleankeyStrokeApplies(KeyStroke ks)Checks whether the keystroke matches.-
Methods inherited from interface javax.swing.Action
accept, addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
-
Methods inherited from interface adams.gui.action.BaseAction
cleanUp, getAccelerator, getIcon, getMnemonic, getName, getToolTipText, hasAccelerator, hasMnemonic, hasToolTipText, isAsynchronous, isSelected, setAccelerator, setAsynchronous, setIcon, setIcon, setMnemonic, setName, setSelected, setToolTipText
-
Methods inherited from interface adams.gui.action.PropertiesAction
getMenuItem, update
-
-
-
-
Method Detail
-
keyStrokeApplies
boolean keyStrokeApplies(KeyStroke ks)
Checks whether the keystroke matches.- Parameters:
ks- the keystroke to match- Returns:
- true if a match
-
addUndoPoint
void addUndoPoint(String comment)
Adds an undo point with the given comment.- Parameters:
comment- the comment for the undo point
-
-