if ( activeModule() )
activeModule()->contextMenuPopup( type, thePopup, title );
}
+
+void CAM_Application::createEmptyStudy()
+{
+ SUIT_Study* study = activeStudy();
+
+ STD_Application::createEmptyStudy();
+
+ SUIT_Study* newStudy = activeStudy();
+ if ( study != newStudy )
+ {
+ CAM_Study* camStudy = dynamic_cast<CAM_Study*>( newStudy );
+ for ( ModuleListIterator it( myModules ); it.current(); ++it )
+ camStudy->insertDataModel( it.current()->dataModel() );
+ }
+}
QString moduleName( const QString& ) const;
QString moduleTitle( const QString& ) const;
+ virtual void createEmptyStudy();
+
protected:
virtual SUIT_Study* createNewStudy();
virtual void updateCommandsStatus();