Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.core.runtime.model
Class PluginModelObject

    java.lang.Object
      org.eclipse.core.runtime.model.PluginModelObject

Direct Known Subclasses:
  ConfigurationElementModel, ConfigurationPropertyModel, ExtensionModel, ExtensionPointModel, LibraryModel, PluginModel, PluginPrerequisiteModel, URLModel

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 abstract class PluginModelObject
extends Object

An object which has the general characteristics of all elements in a plug-in manifest.

This class may be subclassed.

Constructor Summary
`PluginModelObject()` Deprecated.

Method Summary
`protected void` | `assertIsWriteable()` Deprecated. Checks that this model object is writeable.
`String` | `getName()` Deprecated. Returns the name of this element.
`int` | `getStartLine()` Deprecated. Return the line number for the start tag for this plug-in object.
`boolean` | `isReadOnly()` Deprecated. Returns whether or not this model object is read-only.
`void` | `markReadOnly()` Deprecated. Sets this model object and all of its descendents to be read-only.
`void` | `setLocalizedName(String value)` Deprecated. Optimization to replace a non-localized key with its localized value.
`void` | `setName(String value)` Deprecated. Sets the name of this element.
`void` | `setStartLine(int lineNumber)` Deprecated. Set the line number for the start tag for this plug-in object.
`String` | `toString()` Deprecated. Return a string representation of this object.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### PluginModelObject

    public PluginModelObject()

  Deprecated.

Method Detail

### assertIsWriteable

    protected void assertIsWriteable()

  Deprecated.
  Checks that this model object is writeable. A runtime exception is thrown if it is not.

### getName

    public String getName()

  Deprecated.
  Returns the name of this element.

  Returns:
    the name of this element or `null`

### getStartLine

    public int getStartLine()

  Deprecated.
  Return the line number for the start tag for this plug-in object. This is the line number of the element declaration from the plug-in manifest file.

  Returns:
    the line number of the start tag for this object

### isReadOnly

    public boolean isReadOnly()

  Deprecated.
  Returns whether or not this model object is read-only.

  Returns:
    `true` if this model object is read-only, `false` otherwise
  See Also:
    `markReadOnly()`

### markReadOnly

    public void markReadOnly()

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

  See Also:
    `isReadOnly()`

### setLocalizedName

    public void setLocalizedName(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 name of this model object

### setName

    public void setName(String value)

  Deprecated.
  Sets the name of this element.

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

### setStartLine

    public void setStartLine(int lineNumber)

  Deprecated.
  Set the line number for the start tag for this plug-in object. This is the line number for the element declaration from the plug-in manifest file. This value can only be set once, subsequent calls to this method will be ignored.

  Parameters:
    `lineNumber` - the line number of this object's declaration in the file

### toString

    public String toString()

  Deprecated.
  Return a string representation of this object. This value is not to be relied on and can change at any time. To be used for debugging purposes only.

  See Also:
    `Object.toString()`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
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, 2004. All rights reserved.