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
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse PDE
Release 3.5

org.eclipse.pde.core
Interface IBaseModel

All Superinterfaces:
IAdaptable
All Known Subinterfaces:
IBuildModel, IExtensionsModel, IFragmentModel, IModel, IPluginModel, IPluginModelBase, ISharedExtensionsModel, ISharedPluginModel

public interface IBaseModel
extends IAdaptable

A base generic model. Classes that implement this interface are expected to be able to:

  • Dispose (clear all the data and reset)
  • Tell if they are editable
  • Tell if they contain valid data

Since:
2.0
Restriction:
This interface is not intended to be implemented by clients.
Restriction:
This interface is not intended to be extended by clients.

Method Summary
 void dispose ()
          Releases all the data in this model and clears the state.
 boolean isDisposed ()
          Tests if this model has been disposed.
 boolean isEditable ()
          Tests if this model can be modified.
 boolean isValid ()
          Tests if this model valid.
 
Methods inherited from interface org.eclipse.core.runtime. IAdaptable
getAdapter
 

Method Detail

dispose

void dispose()
Releases all the data in this model and clears the state. A disposed model can be returned to the normal state by reloading.


isDisposed

boolean isDisposed()
Tests if this model has been disposed. Disposed model cannot be used until it is loaded/reloaded.

Returns:
true if the model has been disposed

isEditable

boolean isEditable()
Tests if this model can be modified. Modification of a model that is not editable will result in CoreException being thrown.

Returns:
true if this model can be modified

isValid

boolean isValid()
Tests if this model valid. When models are loaded from the file, they may pass the syntax error checking and load all the model objects. However, some of the objects may contain invalid values that make the model unusable.

Returns:
true only if the model can be safely used in all computations.

Eclipse PDE
Release 3.5

Copyright (c) IBM Corp. and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire