Inheritance diagram for CP_ScriptableObject_Property:
Containers | |
CP_ScriptableObject_Imp * | GetSuperScriptableObject () const |
virtual void | SetSuperScriptableObject (CP_ScriptableObject_Imp *inSuperScriptableObject) |
CP_ScriptableObject_Imp * | GetDefaultSubScriptableObject () const |
void | SetDefaultSubScriptableObject (CP_ScriptableObject_Imp *inObject) |
CP_ScriptableObject_Imp * | GetDefaultSuperScriptableObject () const |
void | SetDefaultSuperScriptableObject (CP_ScriptableObject_Imp *inObject) |
static void | SetDefaultObject (CP_ScriptableObject_Imp *inDefaultObject) |
static CP_ScriptableObject_Imp * | GetDefaultObject () |
static CP_ScriptableObject_Imp * | GetScriptableObjectFromToken (const AEDesc &inToken) |
Property | |
CP_ScriptableObject_Imp * | GetScriptableObjectProperty (DescType inProperty) const |
virtual void | DoAE_GetData (const DescType inPropertyType, const AEDesc &inValue, AppleEvent &inOutReply) |
virtual void | DoAE_SetData (const DescType inPropertyType, const AEDesc &inValue, AppleEvent &inOutReply) |
AppleEventHandlers | |
virtual void | DoAE_Activate (const AppleEvent &inEvent, AppleEvent &inOutReply) |
virtual void | DoAE_Clone (const AppleEvent &inEvent, AppleEvent &inOutReply) |
virtual void | DoAE_Close (const AppleEvent &inEvent, AppleEvent &inOutReply) |
virtual void | DoAE_Delete (const AppleEvent &inEvent, AppleEvent &inOutReply) |
virtual void | DoAE_DoObjectsExist (const AppleEvent &inEvent, AppleEvent &inOutReply) |
virtual void | DoAE_Move (const AppleEvent &inEvent, AppleEvent &inOutReply) |
virtual void | DoAE_Open (const AppleEvent &inEvent, AppleEvent &inOutReply) |
virtual void | DoAE_Print (const AppleEvent &inEvent, AppleEvent &inOutReply) |
virtual void | DoAE_Save (const AppleEvent &inEvent, AppleEvent &inOutReply) |
virtual void | DoAE_Revert (const AppleEvent &inEvent, AppleEvent &inOutReply) |
Public Member Functions | |
Constructor / Destructor | |
CP_ScriptableObject_Property (CP_ScriptableObject_Imp *inContainer, const DescType inPropertyType) | |
Constructor. | |
virtual | ~CP_ScriptableObject_Property () throw () |
Destructor. | |
Getters | |
virtual DescType | GetAppleClass () const |
virtual DescType | GetPropertyType () const |
Events | |
virtual void | HandleAppleEventSelf (const AppleEvent &inEvent, AppleEvent &inOutReply, SInt32 inRefCon) |
Data | |
virtual void | DoGetData (const AppleEvent &inEvent, AppleEvent &inOutReply) |
virtual void | DoSetData (const AppleEvent &inEvent, AppleEvent &inOutReply) |
virtual void | SendAE_SetData (const DescType inDataType, Ptr inDataPtr, Size inDataSize, bool inDoExecute) |
Protected Member Functions | |
Specifier | |
virtual void | MakeSelfSpecifier (AEDesc &inContainerSpec, AEDesc &inOutSelfSpec) |
Protected Attributes | |
DescType | fAppleClassType |
DescType | fPropertyType |
CP_AppleEventHandler_Map | fEventHandlers |
CP_ScriptableObject_Imp * | fSuperScriptableObject |
CP_ScriptableObject_Imp * | fDefaultSubScriptableObject |
CP_ScriptableObject_Imp * | fDefaultSuperScriptableObject |
Static Protected Attributes | |
static CP_ScriptableObject_Imp * | gDefaultObject = NULL |
static bool | gInited = false |
|
Constructor.
|
|
Destructor.
|
|
Return a DescType describing the type of class we are.
Implements CP_ScriptableObject_Imp. |
|
|
|
Handle the passed in Apple Event.
Reimplemented from CP_ScriptableObject_Imp. |
|
Handle a get data Apple Event.
|
|
Handle a set data Apple Event.
|
|
Send a set data AppleEvent to ourselves.
|
|
Make a self specifier for this property.
Reimplemented from CP_ScriptableObject_Imp. |
|
Handles AppleEvents for this object and any sub scriptable objects that this object might contain.
|
|
Set the default object. This is the object that subsequent events will use when they refer to the default object.
|
|
|
|
Gets the scriptable object that an event corresponds to, by extracting our CP_ModelToken from the descriptor.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Compare Apple Event objects. This method returns false, and subclasses need to override it.
|
|
Return a count of the objects of inType contained in ourselves. This needs to be overriden, this method just returns 0.
Reimplemented in CP_Document_Base, and CP_Application_Imp. |
|
Return the object contained in the passed in container based upon the inForm criteria.
|
|
Return the object contained in ourselves based on the name passed in. Subclasses need to override this function. This routine just returns NULL.
Reimplemented in CP_Document_Base, and CP_Application_Imp. |
|
Return the object contained in ourselves based on the position passed in. Subclasses need to override this function. This routine just returns NULL.
Reimplemented in CP_Document_Base, and CP_Application_Imp. |
|
Return the object contained in ourselves based on the unique ID passed in. Subclasses need to override this function. This routine just returns NULL.
|
|
Return the object contained in ourselves based on the position passed in. Subclasses need to override this function. This routine just returns NULL.
|
|
Subclasses need to override this to handle the create element event.
Reimplemented in CP_Application< DOC_POLICY, PRINT_POLICY, UNDO_POLICY >. |
|
Adds the passed in CP_AppleEventSignal to the list of AppleEvents we will handle through a signal / slot connection.
|
|
Removes a previously added event handler from the list of the events handled by the object.
|
|
Returns true if there is a registered signal handler for the passed in event.
|
|
Finds and returns the signal for the passed in event.
|
|
Tries to get the CP_ModelToken from the passed in descriptor and return in outToken.
|
|
Places the passed in scriptable object into a CP_ModelToken and then packages it up in a descriptor and returns in outToken.
|
|
|
|
Subclasses should override this to handle the get data event.
Reimplemented in CP_Document_Base, CP_Application_Imp, and CP_Window_Imp. |
|
Subclasses should override this to handle the set data event.
Reimplemented in CP_Window_Imp. |
|
Send an Apple Event to ourselves. Used to record events.
|
|
Make the specifier for our object. This method will recruisvely travel the object heirachy to make the correct specifier.
|
|
Check to make sure that the required params for the event are present, and throw an OSErr exception if they are missing.
|
|
Initialize our Apple Event handling by installing the Apple Event dispatcher and its object handlers.
|
|
|
|
|
|
Reimplemented in CP_Window_Imp. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Return the object contained in the passed in container based upon the inForm criteria.
|
|
Return the object contained in the passed in container based upon the inForm criteria.
|
|
Return the object contained in the passed in container based upon the inForm criteria.
|
|
Return the object contained in the passed in container based upon the inForm criteria.
|
|
Return the object contained in the passed in container based upon the inForm criteria.
|
|
Return the object contained in the passed in container based upon the inForm criteria.
|
|
Subclasses need to override to return the position of their sub objects.
|
|
|
|
|
|
|
|
The default object that events will be dispatched to. |
|
Flag to indicate if this class has been initialized. |
|
Map that contains all of the registered handlers. |
|
Scriptable object that is our container. |
|
Default scriptable object that is contained by this object. |