Class InstrumentationDescriptionEditor
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.ui.part.WorkbenchPart
-
- org.eclipse.ui.part.EditorPart
-
- edu.kit.ipd.sdq.eventsim.instrumentation.specification.editor.InstrumentationDescriptionEditor
-
- All Implemented Interfaces:
IAdaptable,IExecutableExtension,IEditorPart,ISaveablePart,IWorkbenchPart,IWorkbenchPart2,IWorkbenchPart3,IWorkbenchPartOrientation
public class InstrumentationDescriptionEditor extends EditorPart
An editor forInstrumentationDescriptions. For editing specificInstrumentationRules, correspondingInstrumentationRuleUIs are used.
-
-
Field Summary
Fields Modifier and Type Field Description static StringID-
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 InstrumentationDescriptionEditor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreatePartControl(Composite parent)voiddispose()voiddoSave(IProgressMonitor monitor)voiddoSaveAs()static InstrumentationDescriptionEditorgetActive()InstrumentationRulegetActiveRule()InstrumentationDescriptiongetDescription()FontgetOrCreateFont(Label label, int style)PCMModelgetPcm()voidinit(IEditorSite site, IEditorInput input)booleanisDirty()booleanisSaveAsAllowed()voidreloadPcm()voidsetFocus()-
Methods inherited from class org.eclipse.ui.part.EditorPart
checkSite, getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setContentDescription, setInitializationData, setInput, setInputWithNotify, setPartName
-
Methods inherited from class org.eclipse.ui.part.WorkbenchPart
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getAdapter, 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.core.runtime.IAdaptable
getAdapter
-
Methods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, getSite, getTitle, getTitleImage, removePropertyListener
-
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getActive
public static InstrumentationDescriptionEditor getActive()
-
init
public void init(IEditorSite site, IEditorInput input) throws PartInitException
- Specified by:
initin interfaceIEditorPart- Specified by:
initin classEditorPart- Throws:
PartInitException
-
createPartControl
public void createPartControl(Composite parent)
- Specified by:
createPartControlin interfaceIWorkbenchPart- Specified by:
createPartControlin classWorkbenchPart
-
doSave
public void doSave(IProgressMonitor monitor)
- Specified by:
doSavein interfaceISaveablePart- Specified by:
doSavein classEditorPart
-
doSaveAs
public void doSaveAs()
- Specified by:
doSaveAsin interfaceISaveablePart- Specified by:
doSaveAsin classEditorPart
-
isDirty
public boolean isDirty()
- Specified by:
isDirtyin interfaceISaveablePart- Specified by:
isDirtyin classEditorPart
-
isSaveAsAllowed
public boolean isSaveAsAllowed()
- Specified by:
isSaveAsAllowedin interfaceISaveablePart- Specified by:
isSaveAsAllowedin classEditorPart
-
setFocus
public void setFocus()
- Specified by:
setFocusin interfaceIWorkbenchPart- Specified by:
setFocusin classWorkbenchPart
-
dispose
public void dispose()
- Specified by:
disposein interfaceIWorkbenchPart- Overrides:
disposein classWorkbenchPart
-
getDescription
public InstrumentationDescription getDescription()
-
getActiveRule
public InstrumentationRule getActiveRule()
-
getPcm
public PCMModel getPcm()
-
reloadPcm
public void reloadPcm()
-
-