Interface IPluginModel

All Superinterfaces:
IAdaptable, IBaseModel, IModel, IModelChangeProvider, IPluginModelBase, ISharedExtensionsModel, ISharedPluginModel

public interface IPluginModel extends IPluginModelBase
This type of model is created by parsing the manifest file. If the file is a workspace resource, it will be available as the underlying resource of the model. The model may be read-only or editable. It will also make a reference to the build.properties model when created. The reference will be of the same type as the model itself: if the model is editable, it will attempt to obtain an exclusive editable copy of build.properties model.

The plug-in model can be disabled. Disabling the model will not change its data. Users of the model will have to decide if the disabled state if of any importance to them or not.

The model is capable of notifying listeners about changes. An attempt to change a read-only model will result in a CoreException.

Restriction:
This interface is not intended to be implemented by clients.
Restriction:
This interface is not intended to be extended by clients.
  • Method Details

    • getPlugin

      IPlugin getPlugin()
      Returns a top-level model object.
      Returns:
      a root model instance