0020632: EDF 1173 GEOM : Extrusion with multiple selection

Additional changes (to set object name in the dialog boxes properly)
This commit is contained in:
vsr 2010-02-18 11:11:53 +00:00
parent e1706ff05c
commit ad71fc6606
6 changed files with 30 additions and 0 deletions

View File

@ -498,3 +498,12 @@ void GenerationGUI_PipeDlg::addSubshapesToStudy()
addSubshapesToFather(objMap);
}
//=================================================================================
// function : extractPrefix
// purpose : redefined from GEOMBase_Helper class
//=================================================================================
bool GenerationGUI_PipeDlg::extractPrefix() const
{
return myBaseObjects.length() > 1;
}

View File

@ -48,6 +48,7 @@ protected:
virtual bool isValid( QString& );
virtual bool execute( ObjectList& );
virtual void addSubshapesToStudy();
virtual bool extractPrefix() const;
private:
void Init();

View File

@ -733,3 +733,12 @@ void GenerationGUI_PrismDlg::addSubshapesToStudy()
}
addSubshapesToFather(objMap);
}
//=================================================================================
// function : extractPrefix
// purpose : redefined from GEOMBase_Helper class
//=================================================================================
bool GenerationGUI_PrismDlg::extractPrefix() const
{
return myBaseObjects.length() > 1;
}

View File

@ -50,6 +50,7 @@ protected:
virtual bool isValid( QString& );
virtual bool execute( ObjectList& );
virtual void addSubshapesToStudy();
virtual bool extractPrefix() const;
private:
void Init();

View File

@ -458,3 +458,12 @@ void GenerationGUI_RevolDlg::addSubshapesToStudy()
addSubshapesToFather(objMap);
}
//=================================================================================
// function : extractPrefix
// purpose : redefined from GEOMBase_Helper class
//=================================================================================
bool GenerationGUI_RevolDlg::extractPrefix() const
{
return myBaseObjects.length() > 1;
}

View File

@ -48,6 +48,7 @@ protected:
virtual bool isValid( QString& );
virtual bool execute( ObjectList& );
virtual void addSubshapesToStudy();
virtual bool extractPrefix() const;
private:
void Init();