g-Eclipse
Release 1.0.0

eu.geclipse.core.model.impl
Class AbstractVoCreator

java.lang.Object
  extended by eu.geclipse.core.model.impl.AbstractGridElementCreator
      extended by eu.geclipse.core.model.impl.AbstractVoCreator
All Implemented Interfaces:
IConfigurableElementCreator, IGridElementCreator

public abstract class AbstractVoCreator
extends AbstractGridElementCreator
implements IConfigurableElementCreator

Abstract implementation for VO creators adding the possibility to create VOs from an IConfiguration.


Constructor Summary
AbstractVoCreator()
           
 
Method Summary
 IGridElement create(IGridContainer parent, IConfiguration configuration)
          Create a model element from the specified IConfiguration.
 IConfiguration getConfiguration()
          Get the IConfiguration that was formerly set as source for this creator of null if the source was either not yet set or is not an IConfiguration.
 void setConfiguration(IConfiguration configuration)
          Set the specified IConfiguration as source for this creator.
 
Methods inherited from class eu.geclipse.core.model.impl.AbstractGridElementCreator
create, getSource, setSource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface eu.geclipse.core.model.IGridElementCreator
create, create, getSource, setSource
 

Constructor Detail

AbstractVoCreator

public AbstractVoCreator()
Method Detail

create

public IGridElement create(IGridContainer parent,
                           IConfiguration configuration)
                    throws ProblemException
Description copied from interface: IConfigurableElementCreator
Create a model element from the specified IConfiguration.

Specified by:
create in interface IConfigurableElementCreator
Parameters:
parent - The parent element of the newly created model element.
configuration - The IConfiguration from which to create the element.
Returns:
The newly created element.
Throws:
ProblemException - If the creation of the element failed.

getConfiguration

public IConfiguration getConfiguration()
Description copied from interface: IConfigurableElementCreator
Get the IConfiguration that was formerly set as source for this creator of null if the source was either not yet set or is not an IConfiguration.

Specified by:
getConfiguration in interface IConfigurableElementCreator
Returns:
The IConfiguration which acts as source for this creator.

setConfiguration

public void setConfiguration(IConfiguration configuration)
Description copied from interface: IConfigurableElementCreator
Set the specified IConfiguration as source for this creator.

Specified by:
setConfiguration in interface IConfigurableElementCreator
Parameters:
configuration - The IConfiguration to be the new source for this creator.

g-Eclipse
Release 1.0.0