#include "wxVtkSceneManager.h"
#include "GlobalConstants.h"
+
#include "wxart_new.xpm" // JPR
#include "wxart_open.xpm"
#include "wxart_save.xpm"
#include "wxart_complexbox.xpm"
#include "wxart_complexinputport.xpm"
#include "wxart_complexoutputport.xpm"
+#include "wxart_undo.xpm"
+#include "wxart_redo.xpm"
//Includes creaMaracasVisu
#include <bbtkWxGUIHtmlBrowser.h>
#include <bbtkBlackBoxDescriptor.h>
#include <bbtkConfigurationFile.h>
+#include <bbtkSystemTools.h>
//Includes vtk
// Shows the dialog to change the parameters and values of the black box
void editBlackBox(GBlackBoxModel *bbmodel);
+ bool boxNameExists(std::string boxname);
+
+ // Checks and adds if necessary the .bbg/.bbs extensions
+ std::string CheckExtension (std::string filename, std::string extension);
// Method that can be used to refresh the help and package browser
// RaC TOFIX!!!
void RegenerateAll();
void SaveActualComplexBox(std::string filename);
void SaveActualDiagram(std::string filename);
void SaveCurrentDiagramAs( ); //DFCH
+ void SaveTempActualDiagram();//FCY
// File menu and toolbar events
void OnAddComplexBoxOutput(wxCommandEvent& event);
void OnExit(wxCommandEvent& event);
void OnHelpBBeditor(wxCommandEvent& event);
+ void OnUndo(wxCommandEvent& event);
+ void OnRedo(wxCommandEvent& event);
+ void OnChangeName(wxCommandEvent& event);
// Edit menu events
- void OnCopySelectedToComplexDiagram(wxCommandEvent& event);
+ void OnCopySelectedToComplexDiagram(wxCommandEvent& event);
+
// Tool menu events
void OnCreatePackage(wxCommandEvent& event);