Library | Package Java Toolkit

Package com.ptc.wfc.wfcSession

Description

Similar to its predecessor J-Link, Object Toolkit top level object is a session, which provides methods to get objects representing Creo Parametric models, model items, parameters and so on.

Since Object Toolkit has more functional features than J-Link, its actual Session object, returned by pfcGlobal.GetProESession(), is of type WSession.

Interface WSession combines methods from Session and methods which are available only in Object Toolkit. Besides, methods for obtaining models now return Object Toolkit classes instead of J-Link.

As pfcGetProESession is shared by both Object Toolkit and J-Link, it declares the type of the returned session as Session. To obtain WSession, this object should be cast to that type:

    WSession ses = (WSession)pfcGlobal.GetProESession();
    



Interfaces
BeforeModelRetrieveActionListener This class delgates the event before activating file open dialog using File -> Open.
BeforeModelRetrieveInstructions This class specifies the instructions for action listener BeforeModelRetrieveActionListener.
BeforeModelRetrieveListenerSUCCESSOR(S): BeforeModelRetrieveActionListener

 
BeforeModelSaveAllListener 
BrowserMessageListener 
ElementWstringOption 
FiletypeOpenOptionsThis class specifies the options for file open dialog.
FiletypeSaveOptionsThis class specifies the options for file save dialog.
LineStyleData Provides the information about the Line Style.
ParsedFileNameData 
RunnableAction 
SnapshotTransformation 
Timer 
TimerAction 
TimeValue 
WBaseSession 
WSessionTop interface in Object Toolkit.

Classes
CreoType 
IntfDataSourceType Provides the type of IntfDataSource.
KinDragType 
KnownDirectoryType 
SnapshotTransformations 
wfcSessionContains global CIP definitions for module "wfcSession"
WModelRetrieveOption Provides options to retrieve model.
WModelRetrieveOptions