Class JFreeChartEditor
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.ui.part.WorkbenchPart
-
- org.eclipse.ui.part.EditorPart
-
- org.palladiosimulator.edp2.visualization.editors.AbstractEditor<JFreeChartVisualizationSingleDatastreamInput>
-
- org.palladiosimulator.edp2.visualization.jfreechart.editor.JFreeChartEditor
-
- All Implemented Interfaces:
IAdaptable
,IExecutableExtension
,IEditorPart
,IPersistable
,IPersistableEditor
,ISaveablePart
,IWorkbenchPart
,IWorkbenchPart2
,IWorkbenchPart3
,IWorkbenchPartOrientation
,ITabbedPropertySheetPageContributor
,IVisualisationInputListener
,IVisualization<JFreeChartVisualizationSingleDatastreamInput>
public class JFreeChartEditor extends AbstractEditor<JFreeChartVisualizationSingleDatastreamInput>
Implementation of anEditorPart
, which is responsible for showing different subclasses ofJFreeChart
.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.jfree.experimental.chart.swt.ChartComposite
chartContainer
The container in which aJFreeChart
is contained.static String
EDITOR_ID
This editor's ID, e.g.-
Fields inherited from class org.palladiosimulator.edp2.visualization.editors.AbstractEditor
input, parent, propertySheetPage
-
Fields inherited from interface org.eclipse.ui.IEditorPart
PROP_DIRTY, PROP_INPUT
-
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
-
-
Constructor Summary
Constructors Constructor Description JFreeChartEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createPartControl(Composite parent)
protected String
getEditorName()
void
updateEditorContents()
Method, which describes the default updating process of the current chart.-
Methods inherited from class org.palladiosimulator.edp2.visualization.editors.AbstractEditor
addDropSupport, createSelectionProvider, doSave, doSaveAs, getAdapter, getContributorId, getEditorInput, getVisualisationInput, init, isDirty, isSaveAsAllowed, restoreState, saveState, setFocus, setInput, visualisationInputChanged
-
Methods inherited from class org.eclipse.ui.part.EditorPart
checkSite, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setContentDescription, setInitializationData, setInputWithNotify, setPartName
-
Methods inherited from class org.eclipse.ui.part.WorkbenchPart
addPartPropertyListener, addPropertyListener, dispose, firePartPropertyChanged, firePropertyChange, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy
-
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, dispose, getSite, getTitle, getTitleImage, removePropertyListener
-
-
-
-
Field Detail
-
EDITOR_ID
public static final String EDITOR_ID
This editor's ID, e.g. for Referencing in extension points.- See Also:
- Constant Field Values
-
chartContainer
protected org.jfree.experimental.chart.swt.ChartComposite chartContainer
The container in which aJFreeChart
is contained.
-
-
Method Detail
-
createPartControl
public void createPartControl(Composite parent)
- Specified by:
createPartControl
in interfaceIWorkbenchPart
- Overrides:
createPartControl
in classAbstractEditor<JFreeChartVisualizationSingleDatastreamInput>
-
updateEditorContents
public void updateEditorContents()
Method, which describes the default updating process of the current chart.- Specified by:
updateEditorContents
in classAbstractEditor<JFreeChartVisualizationSingleDatastreamInput>
-
getEditorName
protected String getEditorName()
- Specified by:
getEditorName
in classAbstractEditor<JFreeChartVisualizationSingleDatastreamInput>
-
-