Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.ui.intro.config
Class IntroElement


java.lang.Object
  extended by 
org.eclipse.ui.intro.config.IntroElement

public class IntroElement
extends Object

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.

Since:
3.2

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

IntroElement

public IntroElement(
String name)
Creates a new intro element with the provided name.

Parameters:
name - the name of the new intro element
Method Detail

setAttribute

public void setAttribute(
String name,
                         
String value)
Sets the value of the named attribute.

Parameters:
name - attribute name
value - attribute value

getAttribute

public 
String getAttribute(
String name)
Returns the value of the attribute with a given name.

Parameters:
name - the attribute name
Returns:
value of the attribute with a given name or null if not set.

getAttributes

public 
Enumeration getAttributes()
Returns the names of all the attributes defined in this element.

Returns:
an enumeration of all the element names

getName

public 
String getName()
Returns the name of the element.

Returns:
name of the element

getValue

public 
String getValue()
Returns the value of the element.

Returns:
value of the element or null if not set.

setValue

public void setValue(
String value)
Sets the value of the element.

Parameters:
value - the value of this element

addChild

public void addChild(
IntroElement child)
Adds a child to this element.

Parameters:
child - the new child of this element

getChildren

public 
IntroElement[] getChildren()
Returns the children of this element.

Returns:
an array of child elements or an empty array of there are no children.

equals

public boolean equals(
Object obj)
Overrides:
equals in class Object

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire