#include <attraggl.h>
Inheritance diagram for MultiAppliedAttribute:
Public Member Functions | |
MultiAppliedAttribute (NodeAttribute &AttrInstance) | |
This constructor tries to create a string describing what we have multiple instances of. | |
virtual BOOL | Display (DialogOp &Dialog) |
Would normally display some information about the applied attribute but since this is too complicated we won't bother. | |
virtual void | Hide () |
Would normally hide the information provided by display, but since we didn't do anything then we won't do anything here either. | |
virtual StringBase & | GetText (StringBase &Description) const |
This text is gonna be stuck in the Used Properties list of the Wizard Properties Dialog (aka TemplateDialog). | |
virtual AttributeIdentifier | GetAttrID () const |
virtual BOOL | ApplyAttribute (Operation &OpToApplyWith) |
virtual VisibleAttribute * | GetVisibleAttribute () |
Protected Member Functions | |
const StringBase & | GetAttributeDescription () const |
This text is gonna be stuck in the Used Properties list of the Wizard Properties Dialog (aka TemplateDialog). | |
Private Member Functions | |
CC_DECLARE_MEMDUMP (MultiAppliedAttribute) | |
Private Attributes | |
String_64 | m_AttributeDescription |
AttributeIdentifier | m_AttrID |
Definition at line 427 of file attraggl.h.
|
This constructor tries to create a string describing what we have multiple instances of.
Definition at line 1246 of file attraggl.cpp. 01246 : 01247 m_AttrID(AttrInstance.GetAttributeClassID()) 01248 { 01249 // Create a VisibleAttribute from which we can get a description 01250 VisibleAttribute* const pVisibleAttribute = AttrInstance.CreateVisibleAttribute(); 01251 01252 if (pVisibleAttribute != NULL) 01253 { 01254 pVisibleAttribute->GetText(m_AttributeDescription); 01255 } 01256 01257 delete pVisibleAttribute; 01258 }
|
|
Implements AppliedAttribute. Definition at line 444 of file attraggl.h. 00444 { return TRUE; } // DON'T DO IT!
|
|
|
|
Would normally display some information about the applied attribute but since this is too complicated we won't bother.
Reimplemented from VisibleListItem. Definition at line 1319 of file attraggl.cpp. 01320 { 01321 return TRUE; 01322 }
|
|
This text is gonna be stuck in the Used Properties list of the Wizard Properties Dialog (aka TemplateDialog).
Definition at line 1276 of file attraggl.cpp. 01277 { 01278 return m_AttributeDescription; 01279 }
|
|
Implements AppliedAttribute. Definition at line 443 of file attraggl.h. 00443 { return m_AttrID; }
|
|
This text is gonna be stuck in the Used Properties list of the Wizard Properties Dialog (aka TemplateDialog).
Implements VisibleListItem. Definition at line 1295 of file attraggl.cpp. 01296 { 01297 Description.MakeMsg(_R(IDS_VARIOUS), &GetAttributeDescription()); 01298 01299 return Description; 01300 }
|
|
Implements AppliedAttribute. Definition at line 445 of file attraggl.h. 00445 { return NULL; }
|
|
Would normally hide the information provided by display, but since we didn't do anything then we won't do anything here either.
Reimplemented from VisibleListItem. Definition at line 1341 of file attraggl.cpp.
|
|
Definition at line 451 of file attraggl.h. |
|
Definition at line 452 of file attraggl.h. |