|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.kwebs.ServiceDataConfigurationElement
public class ServiceDataConfigurationElement
This class realizes the IConfigurationElement
interface of the eclipse platform in order to
provide the meta data of a layout service in a form processable by ExtensionLayoutDataService
.
Constructor Summary | |
---|---|
ServiceDataConfigurationElement(String thename)
|
|
ServiceDataConfigurationElement(String thename,
String thevalue)
|
|
ServiceDataConfigurationElement(String thename,
String thevalue,
Map<String,String> theattributes,
List<IConfigurationElement> thechildren)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.core.runtime.IConfigurationElement |
---|
equals |
Constructor Detail |
---|
public ServiceDataConfigurationElement(String thename)
thename
- public ServiceDataConfigurationElement(String thename, String thevalue)
thename
- thevalue
- public ServiceDataConfigurationElement(String thename, String thevalue, Map<String,String> theattributes, List<IConfigurationElement> thechildren)
thename
- thevalue
- theattributes
- thechildren
- Method Detail |
---|
public void addChild(IConfigurationElement child)
child
- the child elementpublic void addAttribute(String name, String value)
name
- the name of the attributevalue
- the value of the attributepublic static ServiceDataConfigurationElement getCategoryElementFromModel(Category category)
category
- the service data model element of type Category
public static ServiceDataConfigurationElement getLayoutTypeElementFromModel(LayoutType type)
type
- the service data model element of type LayoutType
public static ServiceDataConfigurationElement getLayoutOptionElementFromModel(LayoutOption option)
option
- the service data model element of type LayoutOption
public static ServiceDataConfigurationElement getLayoutAlgorithmElementFromModel(LayoutAlgorithm algorithm)
algorithm
- the service data model element of type LayoutAlgorithm
public Object createExecutableExtension(String propertyName) throws CoreException
createExecutableExtension
in interface IConfigurationElement
CoreException
public String getAttribute(String name)
getAttribute
in interface IConfigurationElement
public String getAttributeAsIs(String name)
getAttributeAsIs
in interface IConfigurationElement
public String[] getAttributeNames()
getAttributeNames
in interface IConfigurationElement
public IConfigurationElement[] getChildren()
getChildren
in interface IConfigurationElement
public IConfigurationElement[] getChildren(String name)
getChildren
in interface IConfigurationElement
public IExtension getDeclaringExtension()
getDeclaringExtension
in interface IConfigurationElement
public String getName()
getName
in interface IConfigurationElement
public String getValue()
getValue
in interface IConfigurationElement
public String getValueAsIs()
getValueAsIs
in interface IConfigurationElement
public String toString()
toString
in class Object
public Object getParent()
getParent
in interface IConfigurationElement
public String getNamespace() throws InvalidRegistryObjectException
getNamespace
in interface IConfigurationElement
InvalidRegistryObjectException
public boolean isValid()
isValid
in interface IConfigurationElement
public String getNamespaceIdentifier() throws InvalidRegistryObjectException
getNamespaceIdentifier
in interface IConfigurationElement
InvalidRegistryObjectException
public IContributor getContributor() throws InvalidRegistryObjectException
getContributor
in interface IConfigurationElement
InvalidRegistryObjectException
public String getAttribute(String attrName, String locale) throws InvalidRegistryObjectException
getAttribute
in interface IConfigurationElement
InvalidRegistryObjectException
public String getValue(String locale) throws InvalidRegistryObjectException
getValue
in interface IConfigurationElement
InvalidRegistryObjectException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |