|
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 | ||||||||
public interface ISynchronizedEditorAdapter
Instances of this interface are used to customized the operations that
the org.eclipse.hyades.ui.internal.editor.EditorSynchronizer
performs to synchronize the editor with the OS file system or with the
Eclipse's workspace.
| 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. |
| Method Detail |
|---|
boolean reload()
true if the editor was reloaded
or false otherwise.
void handle(java.util.List changedFiles,
java.util.List removedFiles)
changedFiles - removedFiles - boolean editorFileDeleted()
true if the editor synchronizer should not
perform the default treatment.boolean editorFileChanged()
true if the editor synchronizer should not
perform the default treatment.boolean editorFileWriteAccessChanged(boolean isReadOnly)
isReadOnly -
true if the editor synchronizer should not
perform the default treatment.boolean doSaveEditorFile(boolean wasDeleted)
wasDeleted - indicates whether the editor file has been deleted.
true if the editor synchronizer should not
perform the default treatment.
|
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 | ||||||||