|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The EditorFrame
interface.
Field Summary | |
static java.lang.String |
EDITOR_FRAME_ID
Constant used for constructing a ViewId. |
Fields inherited from interface oracle.ide.addin.View |
PROJECT_PROP, VISIBLE_PROP, WORKSPACE_PROP |
Method Summary | |
boolean |
activateEditor(Editor editor)
Activates the given editor and raises it to the front. |
void |
addViewSelectionListener(ViewSelectionListener listener)
Adds the specified listener as one of our ViewSelctionListeners. |
void |
closeAll()
|
void |
closeEditor(Editor editor)
Closes the editor and removes the tab from the frame. |
void |
displayEditorAsStale(Editor editor)
Display a glass pane over the given Editor such that the user is provided with a visual cue that that Editor is out of date and is prevented from interacting with it. |
Editor |
getCurrentEditor()
Fetches the current editor whose tab is selected in this frame. |
Editor |
getEditor(int index)
Fetches the Editor instance at the given index in our tabbed pane |
Editor |
getEditorBySelOrder(int index)
Fetches the Editor instance at the given index in our tabbed pane |
int |
getEditorCount()
Returns the number of opened editors in this editor frame. |
boolean |
isSelected()
Returns whether the EditorFrame is the currently "selected" or active frame. |
void |
removeViewSelectionListener(ViewSelectionListener listener)
Removes the specified listener from being one of our ViewSelctionListeners. |
Methods inherited from interface oracle.ide.addin.View |
activate, addViewListener, close, deactivate, getContext, getContext, getContextMenu, getGUI, getId, getSelection, getToolbar, isVisible, owner, removeViewListener, 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.addin.Observer |
update |
Field Detail |
public static final java.lang.String EDITOR_FRAME_ID
Method Detail |
public boolean isSelected()
public boolean activateEditor(Editor editor)
editor
- the editor to activate
public int getEditorCount()
public Editor getEditor(int index)
index
- the index of the Editor instance to fetch in our tabbed pane
public Editor getEditorBySelOrder(int index)
index
- the selection index of the Editor instance. Active editor is
at 0, last before is 1, ...
public Editor getCurrentEditor()
public void closeEditor(Editor editor)
editor
- the editor to closepublic void closeAll()
public void displayEditorAsStale(Editor editor)
public void addViewSelectionListener(ViewSelectionListener listener)
addViewSelectionListener
in interface View
listener
- the listener to addpublic void removeViewSelectionListener(ViewSelectionListener listener)
removeViewSelectionListener
in interface View
listener
- the listener to remove
|
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.