| org.netbeans.modules.xslt.tmap.TMapDataEditorSupport
TMapDataEditorSupport | public class TMapDataEditorSupport extends DataEditorSupport implements OpenCookie,EditCookie,EditorCookie.Observable,ShowCookie,UndoRedoManagerProvider(Code) | | author: Vitaly Bychkov |
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.
|
addUndoManagerToModel | public void addUndoManagerToModel(QuietUndoManager undo)(Code) | | Add the undo/redo manager undoable edit listener to the model.
Caller should synchronize on the undo manager prior to calling this
method, to avoid thread concurrency issues.
Parameters: undo - the undo manager. |
createPane | protected CloneableEditorSupport.Pane createPane()(Code) | | |
createUndoRedoManager | protected UndoRedo.Manager createUndoRedoManager()(Code) | | |
getEnv | protected TMapEnv getEnv()(Code) | | |
getTMapModel | public TMapModel getTMapModel()(Code) | | TransformMap Model for this editor. |
getUndoRedoManager | public UndoRedo.Manager getUndoRedoManager()(Code) | | |
initializeCloneableEditor | public void initializeCloneableEditor(CloneableEditor editor)(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.
|
resumeUndoRedo | public void resumeUndoRedo(boolean value)(Code) | | Add the undo manager as an undoable edit listener to either the
Swing document or the XAM model, and set up the compound mode if
that was in place previously.
Parameters: value - value returned from suspendUndoRedo() |
show | public void show(ResultItem resultItem)(Code) | | Implements ShowCookie interface used to open editor for the object containing xam Component
Opens the editor for the file pointed by this resultItem.
Parameters: resultItem - Contains the error/warning source, message. |
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.
|
suspendUndoRedo | public boolean suspendUndoRedo()(Code) | | Remove the undo manager from both the model and document, such that
any changes made to either will not be added to the undo queue. The
caller should invoke resumeUndoRedo() once the changes
are completed.
a value that must be passed to resumeUndoRedo() . |
syncModel | public void syncModel()(Code) | | Sync Transform Map model with source.
|
updateTitles | protected void updateTitles()(Code) | | |
validateXML | public boolean validateXML(CookieObserver observer)(Code) | | |
|
|