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

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.core.runtime.model
Class ConfigurationElementModel

java.lang.Object
  extended by 

org.eclipse.core.runtime.model.PluginModelObject
      extended by 
org.eclipse.core.runtime.model.ConfigurationElementModel

Deprecated. In Eclipse 3.0 the runtime was refactored and all non-essential elements removed. This class provides facilities primarily intended for tooling. As such it has been removed and no directly substitutable API provided.

public class ConfigurationElementModel
extends PluginModelObject

An object which represents the user-defined contents of an extension in a plug-in manifest.

This class may be instantiated, or further subclassed.


Constructor Summary
ConfigurationElementModel ()
          Deprecated. Creates a new configuration element model in which all fields are null.
 
Method Summary
  Object getParent ()
          Deprecated. Returns the element which contains this element.
  ExtensionModel getParentExtension ()
          Deprecated. Returns the extension in which this configuration element is declared.
  ConfigurationPropertyModel[] getProperties ()
          Deprecated. Returns the properties associated with this element.
  ConfigurationElementModel[] getSubElements ()
          Deprecated. Returns this element's sub-elements.
  String getValue ()
          Deprecated. Returns the value of this element.
  String getValueAsIs ()
          Deprecated. Returns the value of this element.
 void markReadOnly ()
          Deprecated. Sets this model object and all of its descendents to be read-only.
 void setLocalizedValue ( String value)
          Deprecated. Optimization to replace a non-localized key with its localized value.
 void setParent ( Object value)
          Deprecated. Sets the parent of this element.
 void setProperties ( ConfigurationPropertyModel[] value)
          Deprecated. Sets the properties associated with this element.
 void setSubElements ( ConfigurationElementModel[] value)
          Deprecated. Sets configuration elements contained by this element This object must not be read-only.
 void setValue ( String value)
          Deprecated. Sets the value of this element.
 
Methods inherited from class org.eclipse.core.runtime.model. PluginModelObject
assertIsWriteable, getName, getStartLine, isReadOnly, setLocalizedName, setName, setStartLine, toString
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfigurationElementModel

public ConfigurationElementModel()
Deprecated. 
Creates a new configuration element model in which all fields are null.

Method Detail

getParent

public 
Object getParent()
Deprecated. 
Returns the element which contains this element. If this element is an immediate child of an extension, the returned value can be downcast to ExtensionModel. Otherwise the returned value can be downcast to ConfigurationElementModel.

Returns:
the parent of this configuration element or null

getParentExtension

public 
ExtensionModel getParentExtension()
Deprecated. 
Returns the extension in which this configuration element is declared. If this element is a top-level child of an extension, the returned value is equivalent to getParent.

Returns:
the extension in which this configuration element is declared or null

getProperties

public 
ConfigurationPropertyModel[] getProperties()
Deprecated. 
Returns the properties associated with this element.

Returns:
the properties associated with this element or null

getSubElements

public 
ConfigurationElementModel[] getSubElements()
Deprecated. 
Returns this element's sub-elements.

Returns:
the sub-elements of this element or null

getValue

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

Returns:
the value of this element or null

getValueAsIs

public 
String getValueAsIs()
Deprecated. 
Returns the value of this element.

Returns:
the value of this element or null
Since:
2.0

markReadOnly

public void markReadOnly()
Deprecated. 
Sets this model object and all of its descendents to be read-only. Subclasses may extend this implementation.

Overrides:
markReadOnly in class PluginModelObject
See Also:
PluginModelObject.isReadOnly()

setLocalizedValue

public void setLocalizedValue(
String value)
Deprecated. 
Optimization to replace a non-localized key with its localized value. Avoids having to access resource bundles for further lookups.

Parameters:
value - the localized value of this model object

setParent

public void setParent(
Object value)
Deprecated. 
Sets the parent of this element. The supplied parent is either an ExtensionModel, if this element is to be a direct child of an extension, or another ConfigurationElement. This object must not be read-only.

Parameters:
value - the new parent of this element. May be null.

setProperties

public void setProperties(
ConfigurationPropertyModel[] value)
Deprecated. 
Sets the properties associated with this element. This object must not be read-only.

Parameters:
value - the properties to associate with this element. May be null.

setSubElements

public void setSubElements(
ConfigurationElementModel[] value)
Deprecated. 
Sets configuration elements contained by this element This object must not be read-only.

Parameters:
value - the configuration elements to be associated with this element. May be null.

setValue

public void setValue(
String value)
Deprecated. 
Sets the value of this element. This object must not be read-only.

Parameters:
value - the new value of this element. May be null.

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