public interface IConfigurationElement extends java.lang.Comparable<IConfigurationElement>
| Modifier and Type | Method and Description |
|---|---|
void |
add(IConfigurationElement child)
Add a child configuration element to this configuration element.
|
java.lang.String |
getBuffer()
Returns the buffer (if there is one) associated with this configuration element.
|
IConfigurationElement[] |
getChildren()
Returns the children of this element.
|
IConfigurationExtension |
getConfigurationExtension()
Gets the associated configuration extension
|
java.lang.String |
getDescription()
Returns the description for this configuration element
|
java.io.File |
getFile()
Returns the file (if there is one) associated with this configuration element.
|
java.io.File |
getFileToReplace()
Gets the workspace file that should be replaced as part of an import.
|
ImageDescriptor |
getImage()
Returns the image descriptor associated with this configuration element
|
java.lang.String |
getName()
Returns the name for this configuration element
|
IConfigurationElement |
getParent()
Gets the parent configuration element of this element.
|
java.lang.String |
getProperty(java.lang.String key)
Gets a property that is associated with this configuration element
|
boolean |
hasChildren()
Returns whether this element has children or not.
|
boolean |
isConflicting()
Indicates whether this new configuration conflicts with the original.
|
boolean |
isDifferent()
Indicates whether this new configuration is different from the original.
|
boolean |
isSetToExport()
Determine whether this configuration element should be exported.
|
void |
setBuffer(java.lang.String buffer)
Sets the buffer (if there is one) associated with this configuration element.
|
void |
setConfigurationExtension(IConfigurationExtension extension)
Sets the associated configuration extension
|
void |
setConflicting(boolean flag)
Indicates whether the new configuration conflicts with the original.
|
void |
setDifferent(boolean flag)
Set whether the new configuration is different from the original.
|
void |
setFile(java.io.File file)
Sets the file (if there is one) associated with this configuration element.
|
void |
setFileToReplace(java.io.File file)
Sets the workspace file that should be replaced as part of an import.
|
void |
setParent(IConfigurationElement parent)
Sets the parent configuration element of this element.
|
void |
setProperty(java.lang.String key,
java.lang.String value)
Sets a property associated with this configuration element
|
void |
setToExport(boolean flag)
Sets whether this configuration element should be exported.
|
java.lang.String getName()
java.lang.String getDescription()
ImageDescriptor getImage()
void setConfigurationExtension(IConfigurationExtension extension)
extension - the configuration extensionIConfigurationExtension getConfigurationExtension()
void add(IConfigurationElement child)
child - the child to addboolean hasChildren()
IConfigurationElement[] getChildren()
void setParent(IConfigurationElement parent)
parent - the parent configuration elementIConfigurationElement getParent()
void setToExport(boolean flag)
flag - whether or not this configuration element should be exported.boolean isSetToExport()
void setFile(java.io.File file)
file - the associated filejava.io.File getFile()
void setBuffer(java.lang.String buffer)
buffer - the associated bufferjava.lang.String getBuffer()
void setFileToReplace(java.io.File file)
file - the file to replacejava.io.File getFileToReplace()
void setDifferent(boolean flag)
flag - true if the new configuration is different from the original,boolean isDifferent()
void setConflicting(boolean flag)
flag - true if the the new configuration is different from the original.boolean isConflicting()
void setProperty(java.lang.String key,
java.lang.String value)
key - the key for the propertyvalue - the value for the propertyjava.lang.String getProperty(java.lang.String key)
key - the key for the property