ALBA
Public Member Functions | Protected Attributes | List of all members
albaOpPaste Class Reference

#include <albaOpSelect.h>

Inheritance diagram for albaOpPaste:
Inheritance graph
[legend]
Collaboration diagram for albaOpPaste:
Collaboration graph
[legend]

Public Member Functions

 albaOpPaste (wxString label=_("Paste"))
 
bool Accept (albaVME *vme)
 
void OpDo ()
 
void OpUndo ()
 
albaOpCopy ()
 
- Public Member Functions inherited from albaOpEdit
 albaOpEdit (wxString label="")
 
 ~albaOpEdit ()
 
void SetInput (albaVME *vme)
 
bool ClipboardIsEmpty ()
 
void ClipboardClear ()
 
void ClipboardBackup ()
 
void ClipboardRestore ()
 
albaVMEGetClipboard ()
 
void SetClipboard (albaVME *node)
 
void SetSelectionParent (albaVME *parent)
 
void OpRun ()
 
- Public Member Functions inherited from albaOp
 albaTypeMacro (albaOp, albaObject)
 
 albaOp ()
 
 albaOp (const wxString &label)
 
virtual ~albaOp ()
 
void SetListener (albaObserver *Listener)
 
int GetType ()
 
virtual void OnEvent (albaEventBase *alba_event)
 
virtual albaOpCopy ()
 
virtual void OpRun ()
 
virtual void SetParameters (void *param)
 
virtual albaString GetParameters ()
 
virtual void OpDo ()
 
virtual void OpUndo ()
 
virtual albaGUIGetGui ()
 
virtual void SetInput (albaVME *vme)
 
virtual albaVMEGetInput ()
 
virtual albaVMEGetOutput ()
 
virtual void SetOutput (albaVME *output)
 
bool Accept (albaVME *vme)
 
void EnableAccept (bool enable=true)
 
virtual bool CanUndo ()
 
bool IsInputPreserving ()
 
void ShowGui ()
 
void HideGui ()
 
virtual bool OkEnabled ()
 
virtual void ForceStopWithOk ()
 
virtual void ForceStopWithCancel ()
 
bool IsCompatible (long state)
 
virtual const char ** GetActions ()
 
void SetMouse (albaDeviceButtonsPadMouse *mouse)
 
albaDeviceButtonsPadMouseGetMouse ()
 
void TestModeOn ()
 
void TestModeOff ()
 
bool GetTestMode ()
 
void SetCanundo (bool can_undo=true)
 
bool GetCanundo ()
 
void SetSetting (albaGUISettings *setting)
 
albaGUISettingsGetSetting ()
 
virtual char ** GetIcon ()
 
- Public Member Functions inherited from albaObserver
 albaObserver ()
 
virtual ~albaObserver ()
 
virtual void OnEvent (albaEventBase *e)=0
 
- Public Member Functions inherited from albaObject
 albaObject ()
 
virtual ~albaObject ()
 
virtual void Delete ()
 
virtual const char * GetTypeName () const
 
virtual bool IsA (const char *type_name) const
 
virtual bool IsA (const albaTypeID &type_id) const
 
virtual albaObjectNewObjectInstance () const =0
 
virtual const albaTypeIDGetTypeId () const
 
virtual void Print (std::ostream &os, const int indent=0) const
 
 albaObject (const albaObject &c)
 

Protected Attributes

albaAutoPointer< albaVMEm_PastedVme
 
bool m_Pasted
 
- Protected Attributes inherited from albaOpEdit
albaAutoPointer< albaVMEm_Backup
 
albaAutoPointer< albaVMEm_Selection
 
- Protected Attributes inherited from albaOp
albaVMEm_Input
 
albaVMEm_Output
 
albaGUIm_Gui
 
albaGUIHolderm_Guih
 
bool m_Canundo
 
int m_OpType
 
bool m_InputPreserving
 
albaObserverm_Listener
 
albaDeviceButtonsPadMousem_Mouse
 
albaGUISettingsm_SettingPanel
 
bool m_TestMode
 
bool m_EnableAccept
 
- Protected Attributes inherited from albaObject
bool m_HeapFlag
 

Additional Inherited Members

- Public Types inherited from albaOp
enum  ALBAOP_ID { ID_HELP = MINID , MINID }
 
- Static Public Member Functions inherited from albaObject
static const char * GetStaticTypeName ()
 
static bool IsStaticType (const char *type_name)
 
static bool IsStaticType (const albaTypeID &type_id)
 
static const albaTypeIDGetStaticTypeId ()
 
static albaObjectSafeDownCast (albaObject *o)
 
- Public Attributes inherited from albaOp
wxString m_Label
 
int m_Id
 
albaOpm_Next
 
long m_Compatibility
 
wxMenuItem * m_MenuItem
 
wxString m_OpMenuPath
 
- Protected Member Functions inherited from albaOpEdit
void RemoveBackLinksForTheSubTree (albaVME *vme)
 
void RestoreBackLinksForTheSubTree (albaVME *vme)
 
bool CanRestoreBackLinksForTheSubTree (albaVME *vme, albaVME *root)
 
- Protected Member Functions inherited from albaOp
virtual bool InternalAccept (albaVME *vme)
 
virtual void OpStop (int result)
 

Detailed Description

class name: albaOpPaste Operation which perform paste of a node previously copied or cut.

Definition at line 159 of file albaOpSelect.h.

Constructor & Destructor Documentation

◆ albaOpPaste()

albaOpPaste::albaOpPaste ( wxString  label = _("Paste"))

Constructor.

Member Function Documentation

◆ Accept()

bool albaOpPaste::Accept ( albaVME vme)

check if node can be input of the operation.

◆ OpDo()

void albaOpPaste::OpDo ( )
virtual

execute the operation.


Reimplemented from albaOp.

◆ OpUndo()

void albaOpPaste::OpUndo ( )
virtual

undo the operation.

Reimplemented from albaOp.

◆ Copy()

albaOp * albaOpPaste::Copy ( )
virtual

return a instance of current object.

Reimplemented from albaOp.

Member Data Documentation

◆ m_PastedVme

albaAutoPointer<albaVME> albaOpPaste::m_PastedVme
protected

Definition at line 173 of file albaOpSelect.h.

◆ m_Pasted

bool albaOpPaste::m_Pasted
protected

Definition at line 174 of file albaOpSelect.h.


The documentation for this class was generated from the following file: