Package dev.equo.ide.ui
Class PartDescriptorHelper
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.ui.part.WorkbenchPart
-
- org.eclipse.ui.part.EditorPart
-
- dev.equo.ide.ui.PartDescriptorHelper
-
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable,org.eclipse.core.runtime.IExecutableExtension,org.eclipse.ui.IEditorPart,org.eclipse.ui.ISaveablePart,org.eclipse.ui.IWorkbenchPart,org.eclipse.ui.IWorkbenchPart2,org.eclipse.ui.IWorkbenchPart3,org.eclipse.ui.part.IWorkbenchPartOrientation
public class PartDescriptorHelper extends org.eclipse.ui.part.EditorPartNOT FOR END-USER USAGE, usePartDescriptor.
-
-
Constructor Summary
Constructors Constructor Description PartDescriptorHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreatePartControl(org.eclipse.swt.widgets.Composite parentCmp)voiddoSave(org.eclipse.core.runtime.IProgressMonitor monitor)voiddoSaveAs()voidinit(org.eclipse.ui.IEditorSite site, org.eclipse.ui.IEditorInput input)booleanisDirty()booleanisSaveAsAllowed()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, dispose, 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
-
-
-
-
Method Detail
-
createPartControl
public void createPartControl(org.eclipse.swt.widgets.Composite parentCmp)
- Specified by:
createPartControlin interfaceorg.eclipse.ui.IWorkbenchPart- Specified by:
createPartControlin classorg.eclipse.ui.part.WorkbenchPart
-
init
public void init(org.eclipse.ui.IEditorSite site, org.eclipse.ui.IEditorInput input)- Specified by:
initin interfaceorg.eclipse.ui.IEditorPart- Specified by:
initin classorg.eclipse.ui.part.EditorPart
-
isSaveAsAllowed
public final boolean isSaveAsAllowed()
- Specified by:
isSaveAsAllowedin interfaceorg.eclipse.ui.ISaveablePart- Specified by:
isSaveAsAllowedin classorg.eclipse.ui.part.EditorPart
-
isDirty
public boolean isDirty()
- Specified by:
isDirtyin interfaceorg.eclipse.ui.ISaveablePart- Specified by:
isDirtyin classorg.eclipse.ui.part.EditorPart
-
doSave
public void doSave(org.eclipse.core.runtime.IProgressMonitor monitor)
- Specified by:
doSavein interfaceorg.eclipse.ui.ISaveablePart- Specified by:
doSavein classorg.eclipse.ui.part.EditorPart
-
doSaveAs
public void doSaveAs()
- Specified by:
doSaveAsin interfaceorg.eclipse.ui.ISaveablePart- Specified by:
doSaveAsin classorg.eclipse.ui.part.EditorPart
-
setFocus
public void setFocus()
- Specified by:
setFocusin interfaceorg.eclipse.ui.IWorkbenchPart- Specified by:
setFocusin classorg.eclipse.ui.part.WorkbenchPart
-
-