Class PutIntoSidePanel
java.lang.Object
org.graffiti.plugin.algorithm.AbstractAlgorithm
org.graffiti.plugin.algorithm.AbstractEditorAlgorithm
de.ipk_gatersleben.ag_nw.graffiti.plugins.gui.layout_control.dbe.AbstractExperimentDataProcessor
de.ipk_gatersleben.ag_nw.graffiti.plugins.gui.layout_control.dbe.PutIntoSidePanel
- All Implemented Interfaces:
ExperimentDataProcessor
,UndoableEdit
,Algorithm
,EditorAlgorithm
public class PutIntoSidePanel extends AbstractExperimentDataProcessor
- Author:
- klukas
-
Constructor Summary
Constructors Constructor Description PutIntoSidePanel()
-
Method Summary
Modifier and Type Method Description boolean
activeForView(View v)
ImageIcon
getIcon()
Returns the icon of the algorithm (used, e.g.String
getName()
Returns the name (ID) of the algorithm.Set<Category>
getSetCategory()
Returns a set of categories to classify this algorithm .void
processData()
void
setComponent(JComponent optSupplementaryPanel)
void
setExperimentData(ExperimentInterface md)
Perform data mapping (or something else).Methods inherited from class de.ipk_gatersleben.ag_nw.graffiti.plugins.gui.layout_control.dbe.AbstractExperimentDataProcessor
addPostProcessor, execute, getAnnotations, removePostProcessor
Methods inherited from class org.graffiti.plugin.algorithm.AbstractEditorAlgorithm
getParameterDialog, getShortName
Methods inherited from class org.graffiti.plugin.algorithm.AbstractAlgorithm
addEdit, attach, canRedo, canUndo, check, die, doesUndo, getAcceleratorKeyStroke, getActionEvent, getCategory, getDescription, getMenuCategory, getParameters, getPresentationName, getRedoPresentationName, getUndoPresentationName, isAlwaysExecutable, isLayoutAlgorithm, isSignificant, markExecutionDone, markRedoDone, markUndoDone, mayWorkOnMultipleGraphs, redo, replaceEdit, reset, setActionEvent, setParameters, showMenuIcon, undo
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.graffiti.plugin.algorithm.Algorithm
attach, check, getAcceleratorKeyStroke, getActionEvent, getCategory, getDescription, getMenuCategory, getParameters, isLayoutAlgorithm, mayWorkOnMultipleGraphs, reset, setActionEvent, setParameters, showMenuIcon
-
Constructor Details
-
PutIntoSidePanel
public PutIntoSidePanel()
-
-
Method Details
-
getName
Description copied from interface:Algorithm
Returns the name (ID) of the algorithm.- Returns:
- DOCUMENT ME!
-
processData
public void processData() -
activeForView
-
setExperimentData
Description copied from interface:ExperimentDataProcessor
Perform data mapping (or something else).- Specified by:
setExperimentData
in interfaceExperimentDataProcessor
- Specified by:
setExperimentData
in classAbstractExperimentDataProcessor
- Parameters:
md
- Experiment data (XML)
-
setComponent
- Specified by:
setComponent
in interfaceExperimentDataProcessor
- Overrides:
setComponent
in classAbstractExperimentDataProcessor
-
getIcon
Description copied from class:AbstractEditorAlgorithm
Returns the icon of the algorithm (used, e.g. in the menu bar). Icon is only shown if showMenuIcon returns true.- Specified by:
getIcon
in interfaceEditorAlgorithm
- Overrides:
getIcon
in classAbstractEditorAlgorithm
- Returns:
- The icon of the algorithm or null if the plugin icon should be used.
-
getSetCategory
Description copied from interface:Algorithm
Returns a set of categories to classify this algorithm . e.g. return new HashSet(Arrays.asList( Category.GRAPH, Category.NODE )); is an algorithm, working on graphs and more specific on nodes - Specified by:
getSetCategory
in interfaceAlgorithm
- Overrides:
getSetCategory
in classAbstractAlgorithm
- Returns:
- Set of Category Enums that classify this algorithm.
-