public class RegularisationEditor extends EditorPart implements IReusableEditor, IResourceChangeListener
Equivalences
Modifier and Type | Field and Description |
---|---|
static String |
ID |
PROP_DIRTY, PROP_INPUT
PROP_TITLE
Constructor and Description |
---|
RegularisationEditor() |
Modifier and Type | Method and Description |
---|---|
void |
createPartControl(Composite parent)
Create contents of the editor part.
|
void |
deleteSelection() |
void |
doSave(IProgressMonitor monitor) |
void |
doSaveAs() |
void |
init(IEditorSite site,
IEditorInput input) |
boolean |
isDirty() |
boolean |
isSaveAsAllowed() |
void |
resourceChanged(IResourceChangeEvent event) |
void |
setDirty(boolean dirty) |
void |
setFocus() |
void |
setInput(IEditorInput input) |
checkSite, getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setContentDescription, setInitializationData, setInputWithNotify, setPartName
addPartPropertyListener, addPropertyListener, dispose, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEditorInput, getEditorSite
addPropertyListener, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
getAdapter
isSaveOnCloseNeeded
public static final String ID
public void createPartControl(Composite parent)
createPartControl
in interface IWorkbenchPart
createPartControl
in class WorkbenchPart
parent
- public void setFocus()
setFocus
in interface IWorkbenchPart
setFocus
in class WorkbenchPart
public void doSave(IProgressMonitor monitor)
doSave
in interface ISaveablePart
doSave
in class EditorPart
public void doSaveAs()
doSaveAs
in interface ISaveablePart
doSaveAs
in class EditorPart
public void init(IEditorSite site, IEditorInput input) throws PartInitException
init
in interface IEditorPart
init
in class EditorPart
PartInitException
public void setInput(IEditorInput input)
setInput
in interface IReusableEditor
setInput
in class EditorPart
public boolean isDirty()
isDirty
in interface ISaveablePart
isDirty
in class EditorPart
public boolean isSaveAsAllowed()
isSaveAsAllowed
in interface ISaveablePart
isSaveAsAllowed
in class EditorPart
public void setDirty(boolean dirty)
public void resourceChanged(IResourceChangeEvent event)
resourceChanged
in interface IResourceChangeListener
public void deleteSelection()
Copyright © 2013 TextGrid. All Rights Reserved.