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

#include <albaOpSelect.h>

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

Public Member Functions

 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 Member Functions

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)
 

Protected Attributes

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
 

Detailed Description

class name: albaOpEdit Interface operation for cut, copy, and paste operation.

Definition at line 72 of file albaOpSelect.h.

Constructor & Destructor Documentation

◆ albaOpEdit()

albaOpEdit::albaOpEdit ( wxString  label = "")

Constructor.

◆ ~albaOpEdit()

albaOpEdit::~albaOpEdit ( )

Destructor.

Member Function Documentation

◆ SetInput()

void albaOpEdit::SetInput ( albaVME vme)
inlinevirtual

set input node to the operation.

Reimplemented from albaOp.

Definition at line 80 of file albaOpSelect.h.

◆ ClipboardIsEmpty()

bool albaOpEdit::ClipboardIsEmpty ( )

check if the clipboard is empty.

◆ ClipboardClear()

void albaOpEdit::ClipboardClear ( )

clear the clipboard.

◆ ClipboardBackup()

void albaOpEdit::ClipboardBackup ( )

store clipboard for backup

◆ ClipboardRestore()

void albaOpEdit::ClipboardRestore ( )

restore clipboard from backup

◆ GetClipboard()

albaVME * albaOpEdit::GetClipboard ( )

return the albaVME that is in the clipboard

◆ SetClipboard()

void albaOpEdit::SetClipboard ( albaVME node)

set the clipboard

◆ SetSelectionParent()

void albaOpEdit::SetSelectionParent ( albaVME parent)

set the parent of the selection

◆ OpRun()

void albaOpEdit::OpRun ( )
virtual

runs operation.

Reimplemented from albaOp.

◆ RemoveBackLinksForTheSubTree()

void albaOpEdit::RemoveBackLinksForTheSubTree ( albaVME vme)
protected

◆ RestoreBackLinksForTheSubTree()

void albaOpEdit::RestoreBackLinksForTheSubTree ( albaVME vme)
protected

◆ CanRestoreBackLinksForTheSubTree()

bool albaOpEdit::CanRestoreBackLinksForTheSubTree ( albaVME vme,
albaVME root 
)
protected

Member Data Documentation

◆ m_Backup

albaAutoPointer<albaVME> albaOpEdit::m_Backup
protected

Definition at line 103 of file albaOpSelect.h.

◆ m_Selection

albaAutoPointer<albaVME> albaOpEdit::m_Selection
protected

Definition at line 104 of file albaOpSelect.h.


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