|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.intro.config.IntroElement
Used to provide children of the computed gruops while constructing intro content. Clients provide
instances of this class from IntroConfigurer
to dynamically complete the intro
content. Attribute and element names, as well as content model must match the intro
schema.
Constructor Summary | |
---|---|
IntroElement(String name)
Creates a new intro element with the provided name. |
Method Summary | |
---|---|
void |
addChild(IntroElement child)
Adds a child to this element. |
boolean |
equals(Object obj)
|
String |
getAttribute(String name)
Returns the value of the attribute with a given name. |
Enumeration |
getAttributes()
Returns the names of all the attributes defined in this element. |
IntroElement[] |
getChildren()
Returns the children of this element. |
String |
getName()
Returns the name of the element. |
String |
getValue()
Returns the value of the element. |
void |
setAttribute(String name,
String value)
Sets the value of the named attribute. |
void |
setValue(String value)
Sets the value of the element. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IntroElement(String name)
name
- the name of the new intro elementMethod Detail |
public void setAttribute(String name, String value)
name
- attribute namevalue
- attribute valuepublic String getAttribute(String name)
name
- the attribute name
null
if not set.public Enumeration getAttributes()
public String getName()
public String getValue()
null
if not set.public void setValue(String value)
value
- the value of this elementpublic void addChild(IntroElement child)
child
- the new child of this elementpublic IntroElement[] getChildren()
public boolean equals(Object obj)
|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.