Package org.graffiti.plugin.algorithm
Class AbstractEditorAlgorithm
java.lang.Object
org.graffiti.plugin.algorithm.AbstractAlgorithm
org.graffiti.plugin.algorithm.AbstractEditorAlgorithm
- All Implemented Interfaces:
UndoableEdit,Algorithm,EditorAlgorithm
- Direct Known Subclasses:
AbstractExperimentDataProcessor,BackgroundAlgorithm,ChangeEdgeStyle,ChangeElementStyle,ChangeNodeStyle,CloseAllWindows,DuplicateEdge,ExportDataTableAlgorithm,LaunchGui,RecreateView,RemoveParallelEdges,ResetEdgeSourceOrTarget,SearchAndSelecAlgorithm,SelectClusterAlgorithm,SetBackgroundColorAlgorithm,ShowLayoutTab,WebsiteGeneration
public abstract class AbstractEditorAlgorithm extends AbstractAlgorithm implements EditorAlgorithm
-
Constructor Summary
Constructors Constructor Description AbstractEditorAlgorithm() -
Method Summary
Modifier and Type Method Description ImageIcongetIcon()Returns the icon of the algorithm (used, e.g.ParameterDialoggetParameterDialog(Selection s)Returns a customParameterDialogif the algorithm wants to provide one.StringgetShortName()Methods inherited from class org.graffiti.plugin.algorithm.AbstractAlgorithm
addEdit, attach, canRedo, canUndo, check, die, doesUndo, getAcceleratorKeyStroke, getActionEvent, getCategory, getDescription, getMenuCategory, getParameters, getPresentationName, getRedoPresentationName, getSetCategory, getUndoPresentationName, isAlwaysExecutable, isLayoutAlgorithm, isSignificant, markExecutionDone, markRedoDone, markUndoDone, mayWorkOnMultipleGraphs, redo, replaceEdit, reset, setActionEvent, setParameters, showMenuIcon, undoMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.graffiti.plugin.algorithm.Algorithm
attach, check, execute, getAcceleratorKeyStroke, getActionEvent, getCategory, getDescription, getMenuCategory, getName, getParameters, getSetCategory, isLayoutAlgorithm, mayWorkOnMultipleGraphs, reset, setActionEvent, setParameters, showMenuIconMethods inherited from interface org.graffiti.plugin.algorithm.EditorAlgorithm
activeForView
-
Constructor Details
-
AbstractEditorAlgorithm
public AbstractEditorAlgorithm()
-
-
Method Details
-
getParameterDialog
Description copied from interface:EditorAlgorithmReturns a customParameterDialogif the algorithm wants to provide one. If this method returns null, a generic dialog will be generated using standardEditComponents.- Specified by:
getParameterDialogin interfaceEditorAlgorithm- Returns:
- DOCUMENT ME!
-
getShortName
- Specified by:
getShortNamein interfaceEditorAlgorithm- Returns:
- A short name, used for the parameter dialog window.
-
getIcon
Returns the icon of the algorithm (used, e.g. in the menu bar). Icon is only shown if showMenuIcon returns true.- Specified by:
getIconin interfaceEditorAlgorithm- Returns:
- The icon of the algorithm or null if the plugin icon should be used.
-