|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.composite.DefaultCompositeFileElementProxy
The default implementation class for a CompositeFileElementProxy
based on a container-style composite element type.
An observer is attached to the composite elements of this proxy type to fire
a composite state change event through the registry class when the container
state is modified.
Constructor Summary | |
DefaultCompositeFileElementProxy(java.lang.Class compositeElementClass)
Constructs a DefaultCompositeFileElementProxy object. |
Method Summary | |
protected void |
addChildURLs(java.util.Collection compositeFileUrls,
Element parent)
|
protected void |
addLocatableURL(java.util.Collection compositeFileUrls,
java.lang.Object o)
|
protected void |
addParentURL(java.util.Collection compositeFileUrls,
Element parent)
|
protected void |
attachContainerStateObserver(Element element)
Attaches a container state observer to the given element and its children. |
java.lang.Class |
getCompositeElementClass()
Gets the composite element class handled by this proxy. |
java.net.URL[] |
getCompositeFileURLs(Element compositeElement)
Gets the file URLs represented by the given composite element, attaching a container state observer to all composite children. |
protected java.util.Collection |
getContainerFileURLs(Element compositeElement)
Gets the file URLs represented by the given composite element. |
protected boolean |
isContainerStyleRecursive()
Asks whether this proxy behaves recursively with respect to its composite elements. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultCompositeFileElementProxy(java.lang.Class compositeElementClass)
DefaultCompositeFileElementProxy
object.
compositeElementClass
- the class of composite elements for the proxy.Method Detail |
public java.lang.Class getCompositeElementClass()
getCompositeElementClass
in interface CompositeFileElementProxy
public java.net.URL[] getCompositeFileURLs(Element compositeElement)
getCompositeFileURLs
in interface CompositeFileElementProxy
compositeElement
- the composite element.
protected void attachContainerStateObserver(Element element)
element
- the element.protected java.util.Collection getContainerFileURLs(Element compositeElement)
Locatable
interface and the element itself, if also a Locatable
.
compositeElement
- the composite element.
protected boolean isContainerStyleRecursive()
true
.
protected void addParentURL(java.util.Collection compositeFileUrls, Element parent)
protected void addChildURLs(java.util.Collection compositeFileUrls, Element parent)
protected void addLocatableURL(java.util.Collection compositeFileUrls, java.lang.Object o)
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.