|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjecteditorListener.handlers.UpdatedEditor
public class UpdatedEditor
This data class holds references to all of the objects that represent the updated object. Note: This is a data class. It is felt that the decision to provide getters is acceptable.
| Constructor Summary | |
|---|---|
UpdatedEditor(org.eclipse.jface.text.IDocument theDocument,
org.eclipse.ui.IWorkbenchPart thePart,
EditorState theState)
The primary constructor. |
|
| Method Summary | |
|---|---|
int |
compareTo(UpdatedEditor o)
|
org.eclipse.jface.text.IDocument |
getDocument()
Gets the document representing the contents of the editor. |
org.eclipse.core.runtime.IPath |
getPath()
Gets the path of the current document. |
EditorState |
getTheState()
Gets the state of the current editor. |
org.eclipse.ui.IWorkbenchPart |
getWorkbenchPart()
Gets the part representing the editor in the eclipse workbench. |
java.lang.String |
toString()
Overrides the toString method. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UpdatedEditor(org.eclipse.jface.text.IDocument theDocument,
org.eclipse.ui.IWorkbenchPart thePart,
EditorState theState)
theDocument - the document representing the current editor's contents.thePart - the workbench part of the current editor.theState - the defined state of the current editor.| Method Detail |
|---|
public org.eclipse.jface.text.IDocument getDocument()
public org.eclipse.ui.IWorkbenchPart getWorkbenchPart()
public EditorState getTheState()
public org.eclipse.core.runtime.IPath getPath()
public java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(UpdatedEditor o)
compareTo in interface java.lang.Comparable<UpdatedEditor>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||