Package org.graffiti.plugin.algorithm
Interface EditorAlgorithm
- All Superinterfaces:
Algorithm
- All Known Implementing Classes:
AbstractEditorAlgorithm,AbstractExperimentDataProcessor,ApplyAlternativeIdentifiersTo,BackgroundAlgorithm,BendsLaunchGUI,ChangeEdgeStyle,ChangeElementStyle,ChangeLabelsAlgorithm,ChangeNodeStyle,CloseAllWindows,ClusterOverviewNetworkLaunchGui,ComputeAttributesAlgorithm,CreateHierarchyTree,DataMapping,DuplicateEdge,ExportDataTableAlgorithm,GraphicExport,HierarchyAlgorithms,LaunchGui,LinkSelection,ProcessHierarchynodesDepOnLeafNodes,PutIntoSidePanel,RecreateView,RemoveParallelEdges,ResetEdgeSourceOrTarget,SearchAndSelecAlgorithm,SelectAlgorithm,SelectClusterAlgorithm,SetBackgroundColorAlgorithm,SetClusterLaunchGui,ShowLayoutTab,SOManalysis,StressMinimizationLayout,WebsiteGeneration
public interface EditorAlgorithm extends Algorithm
-
Method Summary
Modifier and Type Method Description booleanactiveForView(View v)ImageIcongetIcon()Returns the icon of the algorithm (used, e.g.ParameterDialoggetParameterDialog(Selection sel)Returns a customParameterDialogif the algorithm wants to provide one.StringgetShortName()Methods inherited from interface org.graffiti.plugin.algorithm.Algorithm
attach, check, execute, getAcceleratorKeyStroke, getActionEvent, getCategory, getDescription, getMenuCategory, getName, getParameters, getSetCategory, isLayoutAlgorithm, mayWorkOnMultipleGraphs, reset, setActionEvent, setParameters, showMenuIcon
-
Method Details
-
getParameterDialog
Returns a customParameterDialogif the algorithm wants to provide one. If this method returns null, a generic dialog will be generated using standardEditComponents.- Returns:
- DOCUMENT ME!
-
activeForView
-
getShortName
String getShortName()- Returns:
- A short name, used for the parameter dialog window.
-
getIcon
ImageIcon getIcon()Returns the icon of the algorithm (used, e.g. in the menu bar). Icon is only shown if showMenuIcon returns true.- Returns:
- The icon of the algorithm or null if the plugin icon should be used.
-