| org.netbeans.modules.compapp.casaeditor.CasaDataEditorSupport
CasaDataEditorSupport | public class CasaDataEditorSupport extends DataEditorSupport implements OpenCookie,EditCookie,EditorCookie.Observable,LineCookie,CloseCookie(Code) | | author: tli |
Inner Class :protected static class CasaEditorEnv extends DataEditorSupport.Env | |
Inner Class :public static class CloseHandler implements CloseOperationHandler,Serializable | |
addUndoManagerToDocument | public void addUndoManagerToDocument()(Code) | | Adds the undo/redo manager to the document as an undoable edit
listener, so it receives the edits onto the queue. The manager
will be removed from the model as an undoable edit listener.
This method may be called repeatedly.
|
createPane | protected Pane createPane()(Code) | | |
createUndoRedoManager | protected UndoRedo.Manager createUndoRedoManager()(Code) | | |
getEnv | public CasaEditorEnv getEnv()(Code) | | |
getUndoManager | public QuietUndoManager getUndoManager()(Code) | | Returns the UndoRedo.Manager instance managed by this editor support.
UndoRedo.Manager instance. |
initializeCloneableEditor | public void initializeCloneableEditor(CloneableEditor editor)(Code) | | |
isLastView | public static boolean isLastView(TopComponent tc)(Code) | | |
notifyClosed | protected void notifyClosed()(Code) | | |
prepareDocument | public Task prepareDocument()(Code) | | |
reloadDocument | public Task reloadDocument()(Code) | | |
removeUndoManagerFromDocument | public void removeUndoManagerFromDocument()(Code) | | Removes the undo/redo manager undoable edit listener from the
document, to stop receiving undoable edits. The manager will
be added to the model as an undoable edit listener.
This method may be called repeatedly.
|
show | public void show(ResultItem resultItem)(Code) | | Implement ShowCookie.
|
silentClose | public boolean silentClose()(Code) | | This method allows the close behavior of CloneableEditorSupport to be
invoked from the SourceMultiViewElement. The close method of
CloneableEditorSupport at least clears the undo queue and releases
the swing document.
|
syncModel | public void syncModel()(Code) | | Have the Casa model sync with the document.
|
updateTitles | protected void updateTitles()(Code) | | |
|
|