: LightApp_Module( "NewGeom" ), mySelector(0)
{
myWorkshop = new XGUI_Workshop(this);
+ myProxyViewer = new NewGeom_SalomeViewer(this);
}
//******************************************************
foreach(SUIT_Selector* aSel, aList) {
aSel->setEnabled(aSel == aSelector);
}
+ myProxyViewer->setSelector(aSelector);
return aSelector;
}
return 0;
return QStringList();
}
-//******************************************************
-Handle(AIS_InteractiveContext) NewGeom_Module::AISContext() const
-{
- Handle(AIS_InteractiveContext) aContext;
- OCCViewer_Viewer* aViewer = mySelector->viewer();
- if (aViewer) {
- aContext = aViewer->getAISContext();
- }
- return aContext;
-}
-
//******************************************************
void NewGeom_Module::selectionChanged()
{