|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.ui.part.WorkbenchPart | +--org.eclipse.ui.part.EditorPart | +--com.ibm.lpex.alef.LpexAbstractTextEditor | +--com.ibm.lpex.alef.LpexTextEditor
A line-oriented, LPEX-based text editor for IFile
resources and
IStorage
objects.
The editor's context menu has id #TextEditorContext
.
The editor's ruler context menu has id #TextRulerContext
.
Fields inherited from class com.ibm.lpex.alef.LpexAbstractTextEditor |
DEFAULT_EDITOR_CONTEXT_MENU_ID, DEFAULT_RULER_CONTEXT_MENU_ID, VERTICAL_RULER_WIDTH |
Fields inherited from interface org.eclipse.ui.IEditorPart |
PROP_DIRTY, PROP_INPUT |
Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
PROP_TITLE |
Constructor Summary | |
LpexTextEditor()
Creates a new text editor. |
Method Summary | |
protected void |
initializeEditor()
Initialize this editor. |
boolean |
isSaveAsAllowed()
The TextEditor implementation of this
IEditorPart method returns true . |
protected void |
performSaveAs(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
The LpexTextEditor implementation of this
AbstractTextEditor method asks the user for the workspace path
of a file resource, and saves the document there. |
Methods inherited from class org.eclipse.ui.part.EditorPart |
getEditorInput, getEditorSite, getTitleToolTip |
Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
addPropertyListener, getConfigurationElement, getDefaultImage, getSite, getTitle, getTitleImage, removePropertyListener, setInitializationData, setSite, setTitle, setTitleImage, setTitleToolTip |
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.IEditorPart |
getEditorInput, getEditorSite |
Methods inherited from interface org.eclipse.ui.IWorkbenchPart |
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener |
Constructor Detail |
public LpexTextEditor()
Method Detail |
protected void initializeEditor()
public boolean isSaveAsAllowed()
TextEditor
implementation of this
IEditorPart
method returns true
.isSaveAsAllowed
in class LpexAbstractTextEditor
LpexAbstractTextEditor.isSaveAsAllowed()
protected void performSaveAs(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
LpexTextEditor
implementation of this
AbstractTextEditor
method asks the user for the workspace path
of a file resource, and saves the document there.performSaveAs
in class LpexAbstractTextEditor
com.ibm.lpex.alef.LpexAbstractTextEditor
progressMonitor
- the progress monitor for communicating result state, or
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |