InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
SnipRunRestoreLogCmd Class Reference
Inheritance diagram for SnipRunRestoreLogCmd:
CommandICommandIPMUnknown

Public Member Functions

 SnipRunRestoreLogCmd (IPMUnknown *boss)
 
virtual ~SnipRunRestoreLogCmd ()
 
- Public Member Functions inherited from Command
 Command (IPMUnknown *boss)
 
virtual void GetName (PMString *name) const
 
virtual void SetName (const PMString &newName)
 
virtual bool16 IsNameRequired () const
 
virtual const UIDListGetItemList () const
 
virtual const UIDListGetItemListReference () const
 
virtual void SetItemList (const UIDList &newItemList)
 
virtual void DoImmediate (bool16 isDynamic=kFalse)
 
virtual void LWDoImmediate ()
 
virtual void DoDynamic ()
 
virtual CommandState GetCommandState () const
 
virtual bool16 IsDone () const
 
virtual bool16 CanJoin (const ICommand *pNewCmd) const
 
virtual void SetCreatorID (int32 creatorID)
 
virtual int32 GetCreatorID () const
 
virtual bool16 LowMemIsOK () const
 
virtual const TargetGetTarget () const
 
virtual Undoability GetUndoability () const
 
virtual void SetUndoability (Undoability newUndoability)
 
virtual void SetActive (bool16 isActive)
 
virtual bool16 IsActive () const
 
virtual bool8 IsLWProcessed () const
 

Protected Member Functions

void Do ()
 
- Protected Member Functions inherited from Command
virtual void DoNotify ()
 
virtual void SetCommandState (CommandState state)
 
virtual PMStringCreateName ()
 
virtual void SetUpTarget ()
 
virtual void PreVerify (CommandState state)
 
virtual void PostVerify (CommandState state)
 
void SetTarget (const Target &newTarget)
 
void SetTarget (PredefinedTarget newTarget)
 
void SetTarget (IDataBase *db)
 

Additional Inherited Members

- Public Types inherited from Command
enum  CommandDummyArg { kItemList = 1 }
 
- Protected Types inherited from Command
enum  PredefinedTarget { kSessionWorkspaceTarget, kSessionTarget }
 
- Protected Attributes inherited from Command
UIDList fItemList
 

Detailed Description

When resize of the panel displaying the log starts the text control that displays it is cleared because otherwise the text display gets messed up and this command is scheduled to run to restore the contents of the log. When the user finishes dragging the mouse to do the resize this command runs and restores the contents of the log.

Constructor & Destructor Documentation

SnipRunRestoreLogCmd::SnipRunRestoreLogCmd (IPMUnknownboss)

Constructor.

SnipRunRestoreLogCmd::~SnipRunRestoreLogCmd ()
virtual

Destructor.

Member Function Documentation

void SnipRunRestoreLogCmd::Do (void )
protectedvirtual

Calls SnipRunLog::ResizeComplete to restore the log contents.

Implements Command.