|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IElementCreatorRegistry
The element creator registry keeps track of all currently registered
extensions of the eu.geclipse.core.gridElementCreator extension
point. The g-Eclipse core provides an internal implementation of this
interface that can be accessed with GridModel.getCreatorRegistry().
| Method Summary | |
|---|---|
java.util.List<IConfigurationElement> |
getConfigurations()
Get a list of IConfigurationElements for all element creators that
are defined as extensions of the
eu.geclipse.core.gridElementCreator extension point. |
java.util.List<IConfigurationElement> |
getConfigurations(java.lang.Class<? extends java.lang.Object> source,
java.lang.Class<? extends IGridElement> target)
Get a list of IConfigurationElement representing creators that are
able to create an element of the specified type from the specified object. |
IGridElementCreator |
getCreator(java.lang.Class<? extends java.lang.Object> source,
java.lang.Class<? extends IGridElement> target)
Get the first IGridElementCreator that is able to create an
element of the specified type from the specified object type. |
IGridElementCreator |
getCreator(java.lang.Object source,
java.lang.Class<? extends IGridElement> target)
Get the first IGridElementCreator that is able to create an
element of the specified type from the specified object. |
IGridElementCreator |
getCreator(java.lang.Object source,
java.lang.String targetClassName)
|
java.util.List<IGridElementCreator> |
getCreators()
Get a list of all element creators that are defined as extensions of the eu.geclipse.core.gridElementCreator extension
point. |
java.util.List<IGridElementCreator> |
getCreators(java.lang.Class<? extends java.lang.Object> source,
java.lang.Class<? extends IGridElement> target)
Get a list of IGridElementCreator that are able to create an
element of the specified type from the specified object type. |
java.util.List<IGridElementCreator> |
getCreators(java.lang.Object source,
java.lang.Class<? extends IGridElement> target)
Get a list of IGridElementCreator that are able to create an
element of the specified type from the specified object. |
| Method Detail |
|---|
java.util.List<IConfigurationElement> getConfigurations()
IConfigurationElements for all element creators that
are defined as extensions of the
eu.geclipse.core.gridElementCreator extension point.
java.util.List<IConfigurationElement> getConfigurations(java.lang.Class<? extends java.lang.Object> source,
java.lang.Class<? extends IGridElement> target)
IConfigurationElement representing creators that are
able to create an element of the specified type from the specified object.
source - The object from which to create the element.target - The type of the element to be created.
IConfigurationElements representing appropriate
element creators. If no such creators are currently registered an empty
list is returned.java.util.List<IGridElementCreator> getCreators()
eu.geclipse.core.gridElementCreator extension
point.
IGridElementCreator getCreator(java.lang.Object source,
java.lang.Class<? extends IGridElement> target)
IGridElementCreator that is able to create an
element of the specified type from the specified object. If such a creator
could be found and a source object was specified the creator's source
objects will be initialised by calling
IGridElementCreator.setSource(Object).
source - The object from which to create the element.target - The type of the element to be created.
null if no such
creator is currently registered.
IGridElementCreator getCreator(java.lang.Object source,
java.lang.String targetClassName)
throws ProblemException
ProblemException
IGridElementCreator getCreator(java.lang.Class<? extends java.lang.Object> source,
java.lang.Class<? extends IGridElement> target)
IGridElementCreator that is able to create an
element of the specified type from the specified object type.
source - The object type from which to create the element.target - The type of the element to be created.
null if no such
creator is currently registered.
java.util.List<IGridElementCreator> getCreators(java.lang.Object source,
java.lang.Class<? extends IGridElement> target)
IGridElementCreator that are able to create an
element of the specified type from the specified object. If such creators
could be found and a source object was specified the creators' source
objects will be initialised by calling
IGridElementCreator.setSource(Object).
source - The object from which to create the element.target - The type of the element to be created.
java.util.List<IGridElementCreator> getCreators(java.lang.Class<? extends java.lang.Object> source,
java.lang.Class<? extends IGridElement> target)
IGridElementCreator that are able to create an
element of the specified type from the specified object type.
source - The object type from which to create the element.target - The type of the element to be created.
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||