org.eclipse.weaver.core.data
Class WeaverExtensionPointDescriptor

java.lang.Object
  extended byorg.eclipse.weaver.core.data.WeaverExtensionPointDescriptor

public class WeaverExtensionPointDescriptor
extends java.lang.Object

Descriptor of an extension point. Contains this extension point ID (an unique Integer pre defined) and a list of the extensions which use this extension point. They will be used in the weaver application plug-ins (IExtension).

Since:
1.0
Author:
- Marcos Didonet Del Fabro (LINA Labs, INRIA team)
- Guillaume Gueltas (Sodifrance)

Constructor Summary
WeaverExtensionPointDescriptor(int extensionLocalIdentifier, java.lang.String extensionPointID)
          Creates a descriptor of an extension point
 
Method Summary
 void addSelectedExtension(IExtension extension)
          adds a new extension object into the selected extensions list
 int getExtensionLocalIdentifier()
          Gets local identifier
 java.lang.String getExtensionPointID()
          Gets identifier for extension point
 java.util.List getSelectedExtensions()
          gets selected extensions
 void removeSelectedExtension(IExtension extension)
          removes the extension from the selected extensions list
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeaverExtensionPointDescriptor

public WeaverExtensionPointDescriptor(int extensionLocalIdentifier,
                                      java.lang.String extensionPointID)
Creates a descriptor of an extension point

Parameters:
extensionLocalIdentifier -
extensionPointID -
Method Detail

addSelectedExtension

public void addSelectedExtension(IExtension extension)
adds a new extension object into the selected extensions list

Parameters:
extension - the extension selected

removeSelectedExtension

public void removeSelectedExtension(IExtension extension)
removes the extension from the selected extensions list


getExtensionLocalIdentifier

public int getExtensionLocalIdentifier()
Gets local identifier

Returns:
extensionLocalIdentifier

getExtensionPointID

public java.lang.String getExtensionPointID()
Gets identifier for extension point

Returns:
extensionPointID

getSelectedExtensions

public java.util.List getSelectedExtensions()
gets selected extensions

Returns:
selectedExtensions