public abstract class AbstractLayoutListener extends java.lang.Object implements LayoutListener
| Constructor and Description |
|---|
AbstractLayoutListener()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
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 Node |
getNode(java.lang.String urlProp, Layout layout)
Get the Node whose url is stored in the specified
layout under the given urlProp. |
static Node |
getNode(java.lang.String urlProp, PropertyAccess layout, boolean always)
Get the Node whose url is stored in the specified
layout under the given urlProp. |
static Project |
getProject(java.lang.String viewId, Layout layout) |
static java.net.URL |
getURL(java.lang.String urlProp, PropertyAccess layout)
Get the url stored in the specified
layout under the given 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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinit, savepublic void close(Layout layout)
BaseLayoutListenerlayout. This method is called by the layout management system when a layout is being deactivated.close in interface BaseLayoutListenerpublic View getView(ViewId id)
getView in interface LayoutListenerpublic void addView(ViewId id, View view)
addView in interface LayoutListenerpublic void removeView(View view)
removeView in interface LayoutListenerpublic void addOpenedViews(Layout layout, java.util.List openedList)
addOpenedViews in interface LayoutListenerlayout - the Layout to useopenedList - the list to add our opened views to
protected boolean isVisible(java.lang.String viewId,
Layout layout)
public static java.net.URL getURL(java.lang.String urlProp,
PropertyAccess layout)
layout under the given urlProp. Use this methods only for URLs stored after being converted to their string representation using the utility class URL2String.public static Node getNode(java.lang.String urlProp, PropertyAccess layout, boolean always)
layout under the given urlProp. If the always flag is true the method creates the Node even when the url points to a resource that does not exists.public static Node getNode(java.lang.String urlProp, Layout layout)
layout under the given urlProp. The method creates the Node even when the url points to a Node that does not exists.