Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.1.0)

E13403-02

oracle.ide.layout
Class AbstractLayoutListener

java.lang.Object
  extended by oracle.ide.layout.AbstractLayoutListener
All Implemented Interfaces:
BaseLayoutListener, LayoutListener

public abstract class AbstractLayoutListener
extends java.lang.Object
implements LayoutListener

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 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)
           
 
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

AbstractLayoutListener

public AbstractLayoutListener()
Constructor

Method Detail

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 layout under the given urlProp. Use this methods only for URLs stored after being converted to their string representation using the utility class URL2String.


getNode

public 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. If the always flag is true the method creates the Node even when the url points to a resource that does not exists.


getNode

public static Node getNode(java.lang.String urlProp,
                           Layout layout)
Get the Node whose url is stored in the specified layout under the given urlProp. The method creates the Node even when the url points to a Node 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)

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.1.0)

E13403-02

Copyright © 1997, 2009, Oracle. All rights reserved.