com.unitesk.requality.eclipse.ui.editors
Class JSEditor
java.lang.Object
EditorPart
com.unitesk.requality.eclipse.ui.editors.JSEditor
- Direct Known Subclasses:
- ReviewEditor, UniEditor
public abstract class JSEditor
- extends EditorPart
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EDIT_MODE_REQ_RO
public static final int EDIT_MODE_REQ_RO
- See Also:
- Constant Field Values
EDIT_MODE_TP_RO
public static final int EDIT_MODE_TP_RO
- See Also:
- Constant Field Values
html
protected java.io.File html
JSEditor
public JSEditor()
getCurrentSelection
public TreeNode getCurrentSelection()
getSelectionText
public java.lang.String getSelectionText()
setSelection
public void setSelection(TreeNode node)
findText
public boolean findText(java.lang.String aString,
boolean aCaseSensitive,
boolean aBackwards,
boolean aWrapAround)
doSave
public void doSave(IProgressMonitor monitor)
doSaveAs
public void doSaveAs()
setTabLabel
protected void setTabLabel(java.lang.String value)
updateTabLabel
protected void updateTabLabel()
init
public void init(IEditorSite site,
IEditorInput input)
throws PartInitException
- Throws:
PartInitException
isDirty
public boolean isDirty()
isSaveAsAllowed
public boolean isSaveAsAllowed()
node2jsonString
protected java.lang.String node2jsonString(TreeNode n)
throws JSONException
- Throws:
JSONException
createPartControl
public void createPartControl(Composite parent)
setFocus
public void setFocus()
dispose
public void dispose()
refresh
protected void refresh(TreeNode node)
setUniEditorFocus
protected void setUniEditorFocus(java.util.UUID uuId)
getAdapter
public java.lang.Object getAdapter(java.lang.Class required)
getBrowser
public Browser getBrowser()
setEditMode
public void setEditMode(int editMode)
addSelectionChangedListener
public void addSelectionChangedListener(ISelectionChangedListener listener)
removeSelectionChangedListener
public void removeSelectionChangedListener(ISelectionChangedListener listener)
getSelection
public ISelection getSelection()
setSelection
public void setSelection(ISelection selection)