|
TPTP 4.6.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.hyades.ui.adapter.SynchronizedEditorAdapter
public class SynchronizedEditorAdapter
Implementation of the ISynchronizedEditorAdapter interface.
| Constructor Summary | |
|---|---|
SynchronizedEditorAdapter()
|
|
| Method Summary | |
|---|---|
boolean |
doSaveEditorFile(boolean wasDeleted)
This method is invoked when the editor content should be saved. |
boolean |
editorFileChanged()
This method is invoked when the editor file has been changed. |
boolean |
editorFileDeleted()
This method is invoked when the editor file has been deleted. |
boolean |
editorFileWriteAccessChanged(boolean isReadOnly)
This method is invoked when the editor file write access has been changed. |
void |
handle(java.util.List changedFiles,
java.util.List removedFiles)
Handles modifications in one or more monitored files. |
boolean |
reload()
Triggers a reload in the editor. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SynchronizedEditorAdapter()
| Method Detail |
|---|
public boolean reload()
ISynchronizedEditorAdapter
reload in interface ISynchronizedEditorAdaptertrue if the editor was reloaded
or false otherwise.org.eclipse.hyades.ui.internal.editor.ISynchronizedEditorAdapter#reload()public boolean doSaveEditorFile(boolean wasDeleted)
ISynchronizedEditorAdapter
doSaveEditorFile in interface ISynchronizedEditorAdapterwasDeleted - indicates whether the editor file has been deleted.
true if the editor synchronizer should not
perform the default treatment.ISynchronizedEditorAdapter.doSaveEditorFile(boolean)public boolean editorFileDeleted()
ISynchronizedEditorAdapter
editorFileDeleted in interface ISynchronizedEditorAdaptertrue if the editor synchronizer should not
perform the default treatment.org.eclipse.hyades.ui.internal.editor.ISynchronizedEditorAdapter#editorFileDeleted()public boolean editorFileChanged()
ISynchronizedEditorAdapter
editorFileChanged in interface ISynchronizedEditorAdaptertrue if the editor synchronizer should not
perform the default treatment.org.eclipse.hyades.ui.internal.editor.ISynchronizedEditorAdapter#editorFileChanged()public boolean editorFileWriteAccessChanged(boolean isReadOnly)
ISynchronizedEditorAdapter
editorFileWriteAccessChanged in interface ISynchronizedEditorAdaptertrue if the editor synchronizer should not
perform the default treatment.org.eclipse.hyades.ui.internal.editor.ISynchronizedEditorAdapter#editorFileWriteAccessChanged(boolean)
public void handle(java.util.List changedFiles,
java.util.List removedFiles)
ISynchronizedEditorAdapter
handle in interface ISynchronizedEditorAdapterorg.eclipse.hyades.ui.internal.editor.ISynchronizedEditorAdapter#handle(java.util.List, java.util.List)
|
TPTP 4.6.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||