32#ifndef TTA_FU_DIALOG_HH
33#define TTA_FU_DIALOG_HH
37#include <wx/listctrl.h>
56 wxSizer*
createContents(wxWindow* parent,
bool call_fit,
bool set_sizer);
60 void onOK(wxCommandEvent& event);
62 void onName(wxCommandEvent& event);
117 DECLARE_EVENT_TABLE()
void onName(wxCommandEvent &event)
void onDeleteOperation(wxCommandEvent &event)
@ ID_ADD_OPERATION_FROM_OPSET
virtual bool TransferDataToWindow()
void updateAddressSpaceChoice()
TTAMachine::HWOperation * selectedOperation()
wxListCtrl * operationListCtrl_
Operation list control.
wxSizer * createContents(wxWindow *parent, bool call_fit, bool set_sizer)
void onOperationRightClick(wxListEvent &event)
void onDeletePort(wxCommandEvent &event)
void onHelp(wxCommandEvent &event)
void onSetAddressSpace(wxCommandEvent &event)
void onPortSelection(wxListEvent &event)
void onActivateOperation(wxListEvent &event)
TTAMachine::FUPort * selectedPort()
void onOK(wxCommandEvent &event)
wxChoice * addressSpaceChoice_
Address Space choice control.
void onAddOperationFromOpset(wxCommandEvent &event)
void onAddOperation(wxCommandEvent &event)
wxListCtrl * portListCtrl_
Port list control.
void onEditOperation(wxCommandEvent &event)
void updateOperationList()
void onEditPort(wxCommandEvent &event)
void onOperationSelection(wxListEvent &event)
void onPortRightClick(wxListEvent &event)
wxStaticBoxSizer * portsSizer_
Sizer for the port list controls.
wxString name_
Name of the function unit.
void onAddPort(wxCommandEvent &event)
wxStaticBoxSizer * operationsSizer_
Sizer for the operation list controls.
void onActivatePort(wxListEvent &event)
TTAMachine::FunctionUnit * functionUnit_
FunctionUnit to modify.