|
Eclipse JDT Release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface for accessing working copies of ICompilationUnit
objects. The original compilation unit is only given indirectly by means
of an IEditorInput. The life cycle is as follows:
connect creates and remembers a working copy of the
compilation unit which is encoded in the given editor inputgetWorkingCopy returns the working copy remembered on
connectdisconnect destroys the working copy remembered on
connectThis interface is not intended to be implemented by clients.
JavaUI.getWorkingCopyManager()| Method Summary | |
void |
connect(org.eclipse.ui.IEditorInput input)
Connects the given editor input to this manager. |
void |
disconnect(org.eclipse.ui.IEditorInput input)
Disconnects the given editor input from this manager. |
ICompilationUnit |
getWorkingCopy(org.eclipse.ui.IEditorInput input)
Returns the working copy remembered for the compilation unit encoded in the given editor input. |
void |
shutdown()
Shuts down this working copy manager. |
| Method Detail |
public void connect(org.eclipse.ui.IEditorInput input)
throws org.eclipse.core.runtime.CoreException
input - the editor input
org.eclipse.core.runtime.CoreException - if the working copy cannot be created for the
compilation unitpublic void disconnect(org.eclipse.ui.IEditorInput input)
input - the editor inputpublic ICompilationUnit getWorkingCopy(org.eclipse.ui.IEditorInput input)
input - the editor input
null if the
input does not encode an editor input, or if there is no remembered working
copy for this compilation unitpublic void shutdown()
|
Eclipse JDT Release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||