|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.ide.layout.AbstractLayoutListener
A Class class.
Constructor Summary | |
AbstractLayoutListener()
Constructor |
Method Summary | |
void |
addOpenedViews(Layout layout,
java.util.List openedList)
Add all of our opened views to the specified opened list. |
void |
addView(ViewId id,
View view)
|
void |
close(Layout layout)
Close the views associated with the specified layout . |
static Document |
getDocument(java.lang.String urlProp,
Layout layout)
Get the document whose url is stored in the specified urlProp . |
static Document |
getDocument(java.lang.String urlProp,
Layout layout,
boolean always)
Get the document whose url is stored in the specified urlProp . |
static Project |
getProject(java.lang.String viewId,
Layout layout)
|
static java.net.URL |
getURL(java.lang.String urlProp,
Layout layout)
Get the url stored in the specified urlProp . |
View |
getView(ViewId id)
|
static Workspace |
getWorkspace(java.lang.String viewId,
Layout layout)
|
protected boolean |
isVisible(java.lang.String viewId,
Layout layout)
|
void |
removeView(View view)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.ide.layout.BaseLayoutListener |
init, save |
Constructor Detail |
public AbstractLayoutListener()
Method Detail |
public void close(Layout layout)
BaseLayoutListener
layout
.
This method is called by the layout management system when a layout
is being deactivated.
close
in interface BaseLayoutListener
public View getView(ViewId id)
getView
in interface LayoutListener
public void addView(ViewId id, View view)
addView
in interface LayoutListener
public void removeView(View view)
removeView
in interface LayoutListener
public void addOpenedViews(Layout layout, java.util.List openedList)
addOpenedViews
in interface LayoutListener
layout
- the Layout to useopenedList
- the list to add our opened views toprotected boolean isVisible(java.lang.String viewId, Layout layout)
public static java.net.URL getURL(java.lang.String urlProp, Layout layout)
urlProp
. Use this methods only for URL
s stored
after being converted to their string representation using the utility
class URL2String
.
public static Document getDocument(java.lang.String urlProp, Layout layout, boolean always)
urlProp
. If the always
flag
is true
the method creates the Document
even when the
url points to a resource that does not exists.
public static Document getDocument(java.lang.String urlProp, Layout layout)
urlProp
. The method creates the
Document
even when the url points to a document that does not
exists.
public static Project getProject(java.lang.String viewId, Layout layout)
public static Workspace getWorkspace(java.lang.String viewId, Layout layout)
|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©1997, 2003, Oracle. All rights reserved.