oracle.ide.layout
Class AbstractLayoutListener
java.lang.Object
oracle.ide.layout.AbstractLayoutListener
- All Implemented Interfaces:
- BaseLayoutListener, LayoutListener
- public abstract class AbstractLayoutListener
- extends java.lang.Object
- implements LayoutListener
A Class class.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractLayoutListener
public AbstractLayoutListener()
- Constructor
close
public void close(Layout layout)
- Description copied from interface:
BaseLayoutListener
- Close the views associated with the specified
layout
. This method is called by the layout management system when a layout is being deactivated.
-
- Specified by:
close
in interface BaseLayoutListener
getView
public View getView(ViewId id)
-
- Specified by:
getView
in interface LayoutListener
addView
public void addView(ViewId id,
View view)
-
- Specified by:
addView
in interface LayoutListener
removeView
public void removeView(View view)
-
- Specified by:
removeView
in interface LayoutListener
addOpenedViews
public void addOpenedViews(Layout layout,
java.util.List openedList)
- Add all of our opened views to the specified opened list.
-
- Specified by:
addOpenedViews
in interface LayoutListener
-
- Parameters:
layout
- the Layout to use
openedList
- the list to add our opened views to
isVisible
protected boolean isVisible(java.lang.String viewId,
Layout layout)
getURL
public static java.net.URL getURL(java.lang.String urlProp,
PropertyAccess layout)
- Get the url stored in the specified <coce>layout under the given
urlProp
. Use this methods only for URL
s stored after being converted to their string representation using the utility class URL2String
.
getDocument
public static Document getDocument(java.lang.String urlProp,
PropertyAccess layout,
boolean always)
- Get the document whose url is stored in the specified <coce>layout under the given
urlProp
. If the always
flag is true
the method creates the Document
even when the url points to a resource that does not exists.
getDocument
public static Document getDocument(java.lang.String urlProp,
Layout layout)
- Get the document whose url is stored in the specified <coce>layout under the given
urlProp
. The method creates the Document
even when the url points to a document that does not exists.
getProject
public static Project getProject(java.lang.String viewId,
Layout layout)
getWorkspace
public static Workspace getWorkspace(java.lang.String viewId,
Layout layout)
Copyright © 1997, 2004, Oracle. All rights reserved.