g-Eclipse
Release 1.0.0

eu.geclipse.core.jobs
Class RemoteFilesContainerCreator

java.lang.Object
  extended by eu.geclipse.core.model.impl.AbstractGridElementCreator
      extended by eu.geclipse.core.jobs.RemoteFilesContainerCreator
All Implemented Interfaces:
ICreatorSourceMatcher, IGridElementCreator

public class RemoteFilesContainerCreator
extends AbstractGridElementCreator
implements ICreatorSourceMatcher

Creator for container, which has links to remote files (e.g. Output Files folder)


Constructor Summary
RemoteFilesContainerCreator()
           
 
Method Summary
 boolean canCreate(java.lang.Object source)
          Matcher method that determines if the corresponding IGridElementCreator can create an IGridElement from the specified object.
 IGridElement create(IGridContainer parent)
          Create an element and set it to be a child of the specified IGridContainer.
 
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
 

Constructor Detail

RemoteFilesContainerCreator

public RemoteFilesContainerCreator()
Method Detail

canCreate

public boolean canCreate(java.lang.Object source)
Description copied from interface: ICreatorSourceMatcher
Matcher method that determines if the corresponding IGridElementCreator can create an IGridElement from the specified object.

Specified by:
canCreate in interface ICreatorSourceMatcher
Parameters:
source - The object from which to create an element.
Returns:
True if the corresponding creator is potentially able to create elements from the specified object.

create

public IGridElement create(IGridContainer parent)
                    throws ProblemException
Description copied from interface: IGridElementCreator
Create an element and set it to be a child of the specified IGridContainer. The element is created from the object that was specified in a former call to IGridElementCreator.setSource(Object). If the creation fails a ProblemException will be thrown.

Specified by:
create in interface IGridElementCreator
Parameters:
parent - The parent of the newly created element.
Returns:
The newly created element.
Throws:
ProblemException - If any problem occurs while the new element is created. For instance if a source object is needed to create the element but was not defined before.

g-Eclipse
Release 1.0.0