void wxGUIEditorGraphicBBS::editBlackBox(GBlackBoxModel *bbmodel)
{
- wxEditionDialog* dialog = new wxEditionDialog(this,bbmodel);
+ wxBlackBoxEditionDialog* dialog = new wxBlackBoxEditionDialog(this,bbmodel);
dialog->Show();
}
void wxGUIEditorGraphicBBS::editDiagramParameters(wxVtkSceneManager* scene)
{
- wxEditionDialog* dialog = new wxEditionDialog(this,scene);
+ wxBlackBoxEditionDialog* dialog = new wxBlackBoxEditionDialog(this,scene);
dialog->Show();
}
//Includes same project
#include "wxTabPanelsManager.h"
#include "wxPropertiesPanel.h"
-#include "wxEditionDialog.h"
+#include "wxBlackBoxEditionDialog.h"
#include "wxVtkSceneManager.h"
//#include "C:\RaC\CREATIS\bbtkGEditor\data\icons\wxart_new.xpm" // JPR
#include "wxart_new.xpm" // JPR
/**
* \file
-* \brief Class bbtk::wxEditionDialog .
+* \brief Class bbtk::wxBlackBoxEditionDialog .
*/
-#include "wxEditionDialog.h"
+#include "wxBlackBoxEditionDialog.h"
#include "creaWx.h"
namespace bbtk
{
//=========================================================================
- wxEditionDialog::wxEditionDialog(wxGUIEditorGraphicBBS *parent,GBlackBoxModel *model):wxDialog(parent,wxID_ANY,_T(""), wxDefaultPosition, wxSize(480, 640))
+ wxBlackBoxEditionDialog::wxBlackBoxEditionDialog(wxGUIEditorGraphicBBS *parent,GBlackBoxModel *model):wxDialog(parent,wxID_ANY,_T(""), wxDefaultPosition, wxSize(480, 640))
{
_model=model;
std::string title("BlackBox Editing - Name:");
//=========================================================================
- wxEditionDialog::wxEditionDialog(wxGUIEditorGraphicBBS *parent,wxVtkSceneManager* scene):wxDialog(parent, wxID_ANY, _T(""), wxDefaultPosition, wxSize(300, 300))
+ wxBlackBoxEditionDialog::wxBlackBoxEditionDialog(wxGUIEditorGraphicBBS *parent,wxVtkSceneManager* scene):wxDialog(parent, wxID_ANY, _T(""), wxDefaultPosition, wxSize(300, 300))
{
}
//=========================================================================
- wxEditionDialog::~wxEditionDialog()
+ wxBlackBoxEditionDialog::~wxBlackBoxEditionDialog()
{
}
//=========================================================================
- void wxEditionDialog::constructBlackBoxEditionDialog()
+ void wxBlackBoxEditionDialog::constructBlackBoxEditionDialog()
{
wxBoxSizer *sizerDialog = new wxBoxSizer(wxVERTICAL);
wxButton *closeButton = new wxButton(this, 1004, _T("Close"), wxDefaultPosition, wxSize(70, 30));
// connect command event handlers
- Connect(1003,wxEVT_COMMAND_BUTTON_CLICKED,wxCommandEventHandler(wxEditionDialog::onClickOk));
- Connect(1004,wxEVT_COMMAND_BUTTON_CLICKED,wxCommandEventHandler(wxEditionDialog::onClickClose));
+ Connect(1003,wxEVT_COMMAND_BUTTON_CLICKED,wxCommandEventHandler(wxBlackBoxEditionDialog::onClickOk));
+ Connect(1004,wxEVT_COMMAND_BUTTON_CLICKED,wxCommandEventHandler(wxBlackBoxEditionDialog::onClickClose));
buts->Add(okButton,0,wxCENTRE|wxEXPAND,5);
buts->Add(closeButton,0,wxCENTRE|wxEXPAND,5);
//=========================================================================
- void wxEditionDialog::onClickOk(wxCommandEvent& event)
+ void wxBlackBoxEditionDialog::onClickOk(wxCommandEvent& event)
{
for(int i=0;i<_lstValues.size();i++)
//=========================================================================
- void wxEditionDialog::onClickClose(wxCommandEvent& event)
+ void wxBlackBoxEditionDialog::onClickClose(wxCommandEvent& event)
{
Close(true);
}
/**
* \file
-* \brief Class bbtk::wxEditionDialog : abstract black-box interface.
+* \brief Class bbtk::wxBlackBoxEditionDialog : abstract black-box interface.
*/
/**
-* \class bbtk::wxEditionDialog
+* \class bbtk::wxBlackBoxEditionDialog
* \brief
*/
-#ifndef __wxEditionDialog_h__
-#define __wxEditionDialog_h__
+#ifndef __wxBlackBoxEditionDialog_h__
+#define __wxBlackBoxEditionDialog_h__
//Includes same project
#include "bbtkwxGUIEditorGraphicBBS.h"
class wxVtkSceneManager;
- class wxEditionDialog : public wxDialog
+ class wxBlackBoxEditionDialog : public wxDialog
{
public:
- wxEditionDialog(wxGUIEditorGraphicBBS *parent,wxVtkSceneManager* scene);
- wxEditionDialog(wxGUIEditorGraphicBBS *parent,GBlackBoxModel *model);
- ~wxEditionDialog();
+ wxBlackBoxEditionDialog(wxGUIEditorGraphicBBS *parent,wxVtkSceneManager* scene);
+ wxBlackBoxEditionDialog(wxGUIEditorGraphicBBS *parent,GBlackBoxModel *model);
+ ~wxBlackBoxEditionDialog();
void constructBlackBoxEditionDialog();
void onClickOk(wxCommandEvent& event);
+++ /dev/null
-/*=========================================================================
-Program: bbtk
-Module: $RCSfile$
-Language: C++
-Date: $Date$
-Version: $Revision$
-=========================================================================*/
-
-/* ---------------------------------------------------------------------
-
-* Copyright (c) CREATIS-LRMN (Centre de Recherche en Imagerie Medicale)
-* Authors : Eduardo Davila, Laurent Guigues, Jean-Pierre Roux
-*
-* This software is governed by the CeCILL-B license under French law and
-* abiding by the rules of distribution of free software. You can use,
-* modify and/ or redistribute the software under the terms of the CeCILL-B
-* license as circulated by CEA, CNRS and INRIA at the following URL
-* http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
-* or in the file LICENSE.txt.
-*
-* As a counterpart to the access to the source code and rights to copy,
-* modify and redistribute granted by the license, users are provided only
-* with a limited warranty and the software's author, the holder of the
-* economic rights, and the successive licensors have only limited
-* liability.
-*
-* The fact that you are presently reading this means that you have had
-* knowledge of the CeCILL-B license and that you accept its terms.
-* ------------------------------------------------------------------------ */
-
-/**
-* \file
-* \brief Class bbtk::wxPropertiesPanel .
-*/
-
-
-#include "wxPropertiesPanel.h"
-
-
-namespace bbtk
-{
- //=========================================================================
- wxPropertiesPanel::wxPropertiesPanel()
- {
- _grid=NULL;
- }
-
- //=========================================================================
- wxPropertiesPanel::wxPropertiesPanel(wxWindow *parent):wxPanel(parent)
- {
- _grid = new wxGrid(this,wxID_ANY);
- _grid->CreateGrid(15,2);
- _grid->SetColLabelSize(0);
- _grid->SetRowLabelSize(0);
-
- wxBoxSizer *sizer = new wxBoxSizer(wxVERTICAL);
- sizer->Add(_grid,0,wxEXPAND|wxALL,0);
- SetSizer(sizer);
- }
-
- //=========================================================================
- wxPropertiesPanel::~wxPropertiesPanel()
- {
-
- }
- //=========================================================================
-
-} // EO namespace bbtk
-
-// EOF
-
+++ /dev/null
-/*=========================================================================
-Program: bbtk
-Module: $RCSfile$
-Language: C++
-Date: $Date$
-Version: $Revision$
-=========================================================================*/
-
-/* ---------------------------------------------------------------------
-
-* Copyright (c) CREATIS-LRMN (Centre de Recherche en Imagerie Medicale)
-* Authors : Eduardo Davila, Laurent Guigues, Jean-Pierre Roux
-*
-* This software is governed by the CeCILL-B license under French law and
-* abiding by the rules of distribution of free software. You can use,
-* modify and/ or redistribute the software under the terms of the CeCILL-B
-* license as circulated by CEA, CNRS and INRIA at the following URL
-* http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
-* or in the file LICENSE.txt.
-*
-* As a counterpart to the access to the source code and rights to copy,
-* modify and redistribute granted by the license, users are provided only
-* with a limited warranty and the software's author, the holder of the
-* economic rights, and the successive licensors have only limited
-* liability.
-*
-* The fact that you are presently reading this means that you have had
-* knowledge of the CeCILL-B license and that you accept its terms.
-* ------------------------------------------------------------------------ */
-
-
-
-/**
-* \file
-* \brief Class bbtk::wxPropertiesPanel : abstract black-box interface.
-*/
-
-/**
-* \class bbtk::wxPropertiesPanel
-* \brief
-*/
-
-#ifndef __wxPropertiesPanel_h__
-#define __wxPropertiesPanel_h__
-
-//Includes same project
-
-//Includes wxWidgets
-#include <wx/panel.h>
-#include <wx/aui/aui.h>
-#include <wx/dnd.h>
-#include <wx/grid.h>
-
-//Includes creaMaracasVisu
-
-//Includes std
-#include <iostream>
-
-
-
-
-namespace bbtk
-{
-
- class wxPropertiesPanel : public wxPanel
- {
- public:
- wxPropertiesPanel();
- wxPropertiesPanel(wxWindow *parent);
- ~wxPropertiesPanel();
-
- private:
- wxGrid *_grid;
-
- protected:
-
- };
-
-
-}
-// namespace bbtk
-#endif
-