|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Editors such as code, gui, html editors should implements the
Editor
interface. Editors are generally hosted inside
an EditorFrame
.
Observer
Field Summary |
Fields inherited from interface oracle.ide.addin.View |
PROJECT_PROP, VISIBLE_PROP, WORKSPACE_PROP |
Method Summary | |
void |
editorHidden()
This method is called when an editor is hidden. |
void |
editorShown()
This method is called when an editor is made visible. |
java.awt.Component |
getDefaultFocusComponent()
This method is used to know what component should get the focus by default. |
Document[] |
getDependentDocuments()
Editors which access or manipulate more than one document must return these documents using this method. |
java.lang.String |
getTabDescription()
This method is called to get the tooltip to display in the tab hosting this editor. |
javax.swing.Icon |
getTabIcon()
This method is called to get the icon to display in the tab hosting this editor. |
java.lang.String |
getTabLabel()
This method is called to get the title to display in the tab hosting this editor. |
java.lang.String |
getTitleLabel()
This method is called to get the title to display in the title bar of the EditorFrame hosting this editor. |
void |
open()
Open this editor on the context set by a prior call to setContext. |
void |
setContext(Context context)
Sets the current editor context. |
void |
setOwner(EditorFrame frame)
Sets the editor frame that owns this editor. |
Methods inherited from interface oracle.ide.addin.Observer |
update |
Methods inherited from interface oracle.ide.addin.View |
activate, addViewListener, addViewSelectionListener, close, deactivate, getContext, getContext, getContextMenu, getGUI, getId, getSelection, getToolbar, isVisible, owner, removeViewListener, removeViewSelectionListener, setToolbarVisible, show, updateTitle, updateVisibleActions |
Methods inherited from interface oracle.ide.addin.ControllerProvider |
getController |
Methods inherited from interface oracle.ide.help.Helpable |
getHelpInfo |
Methods inherited from interface oracle.ide.layout.LayoutSelector |
addPreferredLayoutListener, getDisplayName, getPreferredLayoutBaseName, getPreferredLayoutURL, getType, initializeActiveLayout, initializeLayout, isReady, removePreferredLayoutListener, setPreferredLayoutBaseName, setPreferredLayoutURL, setType |
Method Detail |
public void open()
OpenAbortedException
setContext(oracle.ide.addin.Context)
public java.awt.Component getDefaultFocusComponent()
public java.lang.String getTitleLabel()
public java.lang.String getTabLabel()
public javax.swing.Icon getTabIcon()
public java.lang.String getTabDescription()
public void setContext(Context context)
public void setOwner(EditorFrame frame)
public Document[] getDependentDocuments()
public void editorShown()
public void editorHidden()
editorShown()
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.