|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gmf.runtime.diagram.ui.resources.editor.ide.document.FileDocumentProvider.FileSynchronizer
protected class FileDocumentProvider.FileSynchronizer
Synchronizes the document with external resource changes.
Field Summary | |
---|---|
protected IFileEditorInput |
fFileEditorInput
The file editor input. |
protected boolean |
fIsInstalled
A flag indicating whether this synchronizer is installed or not. |
Constructor Summary | |
---|---|
FileDocumentProvider.FileSynchronizer(IFileEditorInput fileEditorInput)
Creates a new file synchronizer. |
Method Summary | |
---|---|
protected IFile |
getFile()
Returns the file wrapped by the file editor input. |
void |
install()
Installs the synchronizer on the input's file. |
void |
resourceChanged(IResourceChangeEvent e)
|
void |
uninstall()
Uninstalls the synchronizer from the input's file. |
protected void |
update(java.lang.Runnable runnable)
Posts the update code "behind" the running operation. |
boolean |
visit(IResourceDelta delta)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected IFileEditorInput fFileEditorInput
protected boolean fIsInstalled
Constructor Detail |
---|
public FileDocumentProvider.FileSynchronizer(IFileEditorInput fileEditorInput)
fileEditorInput
- the editor input to be synchronizedMethod Detail |
---|
protected IFile getFile()
public void install()
public void uninstall()
public void resourceChanged(IResourceChangeEvent e)
resourceChanged
in interface IResourceChangeListener
public boolean visit(IResourceDelta delta) throws CoreException
visit
in interface IResourceDeltaVisitor
CoreException
protected void update(java.lang.Runnable runnable)
runnable
- the update code
|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.