#include "OB_ListItem.h"
#include "SalomeApp_Application.h"
#include "SalomeApp_ImportOperation.h"
-#include "SalomeApp_NameDlg.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_NameDlg.h"
+#include "LightApp_SelectionMgr.h"
#include "SalomeApp_Study.h"
#include "SUIT_Desktop.h"
#include "SUIT_FileDlg.h"
return new SUPERVGUI_DataModel( this );
}
-SalomeApp_Selection* SUPERVGUI::createSelection() const
+LightApp_Selection* SUPERVGUI::createSelection() const
{
return new SUPERVGUI_Selection();
}
if ( obj->FindAttribute(anAttr, "AttributeName") ) {
_PTR(AttributeName) aName ( anAttr );
QString nm = QString( aName->Value().c_str() );
- nm = SalomeApp_NameDlg::getName( application()->desktop(), nm );
+ nm = LightApp_NameDlg::getName( application()->desktop(), nm );
if ( !nm.isEmpty() ) {
// sak : 24.11.04 : fix for PAL6898 : if rename fails (study locked),
// a message box is displayed, and cursor is "wait cursor". We think that "wait cursor"
protected:
virtual CAM_DataModel* createDataModel();
- virtual SalomeApp_Selection* createSelection() const;
+ virtual LightApp_Selection* createSelection() const;
private:
void loadEngine(SALOME_NamingService* namingService);
using namespace boost;
#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
#include "SalomeApp_Study.h"
#include "SUIT_Session.h"
#include "SUPERVGUI_Information.h"
#include "SUPERVGUI_Library.h"
-#include "SalomeApp_NameDlg.h"
+#include "LightApp_NameDlg.h"
#include "SUIT_MessageBox.h"
#include "LogWindow.h"
#include "SUIT_Session.h"
}
void SUPERVGUI_CanvasNode::rename() {
- QString aName = SalomeApp_NameDlg::getName( SUIT_Session::session()->activeApplication()->desktop(), myNode->Name() );
+ QString aName = LightApp_NameDlg::getName( SUIT_Session::session()->activeApplication()->desktop(), myNode->Name() );
if (!aName.isEmpty()) {
setNodeName(aName);
}
// Function : open
// Purpose :
//================================================================
-bool SUPERVGUI_DataModel::open( const QString& str, CAM_Study* study )
+bool SUPERVGUI_DataModel::open( const QString& str, CAM_Study* study, QStringList list )
{
- return SalomeApp_DataModel::open( str, study );
+ return SalomeApp_DataModel::open( str, study, list );
}
//================================================================
// Function : save
// Purpose :
//================================================================
-bool SUPERVGUI_DataModel::save()
+bool SUPERVGUI_DataModel::save(QStringList& list)
{
- return SalomeApp_DataModel::save();
+ return SalomeApp_DataModel::save(list);
}
//================================================================
// Function : saveAs
// Purpose :
//================================================================
-bool SUPERVGUI_DataModel::saveAs( const QString& str, CAM_Study* study )
+bool SUPERVGUI_DataModel::saveAs( const QString& str, CAM_Study* study, QStringList& list )
{
- return SalomeApp_DataModel::saveAs( str, study );
+ return SalomeApp_DataModel::saveAs( str, study, list );
}
//================================================================
SUPERVGUI_DataModel ( CAM_Module* theModule );
virtual ~SUPERVGUI_DataModel();
- virtual bool open( const QString&, CAM_Study* );
- virtual bool save();
- virtual bool saveAs( const QString&, CAM_Study* );
+ virtual bool open( const QString&, CAM_Study*, QStringList );
+ virtual bool save( QStringList& );
+ virtual bool saveAs( const QString&, CAM_Study*, QStringList& );
virtual bool close();
virtual bool isModified() const ;
#include "SUPERVGUI_Selection.h"
#include "SUPERVGUI.h"
-#include <SalomeApp_DataOwner.h>
+#include <LightApp_DataOwner.h>
#include <SalomeApp_Study.h>
#include <SUIT_Session.h>
QtxValue SUPERVGUI_Selection::param( const int ind, const QString& p ) const
{
- QtxValue val( SalomeApp_Selection::param( ind, p ) );
+ QtxValue val( LightApp_Selection::param( ind, p ) );
if ( !val.isValid() ) {
if ( p == "type" ) val = QtxValue( typeName( ind ) );
}
#ifndef SUPERVGUI_SELECTION_HeaderFile
#define SUPERVGUI_SELECTION_HeaderFile
-#include <SalomeApp_Selection.h>
+#include <LightApp_Selection.h>
#include <SALOMEconfig.h>
class SALOME_InteractiveObject;
-class SUPERVGUI_Selection : public SalomeApp_Selection
+class SUPERVGUI_Selection : public LightApp_Selection
{
public:
SUPERVGUI_Selection();