Objects like IResources or URIs. These element creators are used to both create elements and to insert them into the model hierarchy.
<!ELEMENT extension (creator+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT creator (source+ , target)>
<!ATTLIST creator
id CDATA #REQUIRED
name CDATA #REQUIRED
class CDATA #REQUIRED
wizard CDATA #IMPLIED>
eu.geclipse.core.model.IGridElementCreator interface that is used to create Grid elements and to insert them into the Grid model hierarchy.<!ELEMENT source EMPTY>
<!ATTLIST source
class CDATA #REQUIRED
pattern CDATA #IMPLIED
priority CDATA #IMPLIED
default (true | false)
matcher CDATA #IMPLIED>
Specifies the source of the creator. The source of a creator is an arbitrary class (inheriting from java.lang.Object from which a Grid element can be created. Furthermore an optional pattern can be defined that will be matched against toString() of the source. As last step a matcher may be defined that may have a final look at the specified object. Only if all defined matching rules hold for the specified source object it is assumed that this creator potentially can create an IGridElement from the source object.
java.lang.Object from which this creator can create a Grid element.java.io.File the pattern may be used to match the filename of the file. The pattern therefore is applied to the toString() method of the source. If this source element is declared to be the default source the pattern attribute may be interpreted as default value of the source, e.g. if this is a String or URI source.<!ELEMENT target EMPTY>
<!ATTLIST target
name CDATA #REQUIRED
class CDATA #REQUIRED>
Specifies the target of the creator. The target of a creator is a class that implements eu.geclipse.core.model.IGridElement and that is created by a specific creator.
eu.geclipse.core.model.IGridElement that denotes the types of elements that are created by an element creator.<extension point="eu.geclipse.core.gridElementCreator"> <creator class="eu.geclipse.core.model.impl.GenericVoCreator" name="Generic VO" wizard="eu.geclipse.ui.wizards.GenericVoWizard"> <source class="org.eclipse.core.filesystem.IFileStore"> </source> <target class="eu.geclipse.core.model.impl.GenericVirtualOrganization"> </target> </creator> </extension>
Copyright (c) 2006, 2007 g-Eclipse Consortium
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html.
Initial development of the original code was made for the g-Eclipse project founded by European Union project number: FP6-IST-034327 http://www.geclipse.eu.