ext.sulis
Class AutoCreator
java.lang.Object
DefaultAutoAssociatePartFinderCreator
ext.sulis.AutoCreator
public class AutoCreator
- extends DefaultAutoAssociatePartFinderCreator
this class overrides createNewWTPart() in order to allow changes to newly created (autoassociated) Parts, namely TYPING them and setting attributes (like setting number equals name)
|
Method Summary |
wt.part.WTPart |
createNewWTPart(wt.epm.EPMDocument epmDoc,
java.lang.String partNumber,
java.lang.String partName,
wt.part.PartType partType,
java.lang.String folderOID,
wt.epm.workspaces.EPMWorkspace currentWS,
wt.org.WTOrganization org,
wt.part.Source source,
wt.part.QuantityUnit defaultUnits)
call superclass method with passed-in args, then type the newly created WTPart |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AutoCreator
public AutoCreator()
createNewWTPart
public wt.part.WTPart createNewWTPart(wt.epm.EPMDocument epmDoc,
java.lang.String partNumber,
java.lang.String partName,
wt.part.PartType partType,
java.lang.String folderOID,
wt.epm.workspaces.EPMWorkspace currentWS,
wt.org.WTOrganization org,
wt.part.Source source,
wt.part.QuantityUnit defaultUnits)
throws wt.util.WTException,
wt.util.WTPropertyVetoException,
wt.vc.VersionControlException,
wt.pom.UniquenessException
- call superclass method with passed-in args, then type the newly created WTPart
- Parameters:
epmDoc - partNumber - partName - partType - folderOID - currentWS - org - source - defaultUnits -
- Returns:
- WTPart
- Throws:
WTException, - WTPropertyVetoException, VersionControlException, UniquenessException
wt.util.WTException
wt.util.WTPropertyVetoException
wt.vc.VersionControlException
wt.pom.UniquenessException