|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
View
components dispaly information to the user. A view
obtains the data from the model. There can be multiple views of the model.
Each View
has an associated Controller
.
Controllers receive requests to handle the commands associated with user
interaction with the view.
A view can own other views. For example, all views are owned by the
IdeMainWindow
view.
Controller
,
MainWindow
Field Summary | |
static java.lang.String |
PROJECT_PROP
|
static java.lang.String |
VISIBLE_PROP
|
static java.lang.String |
WORKSPACE_PROP
|
Method Summary | |
void |
activate()
This method is responsible for responding to the fact that this View is now the active view (e.g. |
void |
addViewListener(ViewListener l)
Add a ViewListener. |
void |
addViewSelectionListener(ViewSelectionListener l)
Add a ViewSelectionListener. |
void |
deactivate()
This method is responsible for cleaning up after this view stops being the active view. |
Context |
getContext(java.util.EventObject event)
Gets the current view context. |
java.lang.String |
getId()
Unique id identifying this view. |
Element[] |
getSelection()
Gets the selection context. |
Toolbar |
getToolbar()
Returns the toolbar associated with this view. |
void |
removeViewListener(ViewListener l)
Remove a ViewListener. |
void |
removeViewSelectionListener(ViewSelectionListener l)
Remmove a ViewSelectionListener. |
void |
updateTitle(java.lang.Object object)
Called when the view needs to update its title based on the specified object. |
Methods inherited from interface oracle.ide.help.Helpable |
getHelpInfo |
Methods inherited from interface oracle.ide.addin.Subview |
close, getContext, getContextMenu, getController, getGUI, isVisible, owner, show |
Field Detail |
public static final java.lang.String VISIBLE_PROP
public static final java.lang.String PROJECT_PROP
public static final java.lang.String WORKSPACE_PROP
Method Detail |
public void activate()
public void deactivate()
public Context getContext(java.util.EventObject event)
event
- event associated with the context;
public Element[] getSelection()
public java.lang.String getId()
public void updateTitle(java.lang.Object object)
public Toolbar getToolbar()
public void addViewListener(ViewListener l)
l
- the ViewListener to add.public void removeViewListener(ViewListener l)
l
- the ViewListener to remove.public void addViewSelectionListener(ViewSelectionListener l)
l
- the ViewSelectionListener to add.public void removeViewSelectionListener(ViewSelectionListener l)
l
- the ViewSelectionListener to remove.
|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©1997, 2003, Oracle. All rights reserved.