//-------------------------------------------------------------------------------------------------- /// //-------------------------------------------------------------------------------------------------- void CmdSelectionHelper::executeSelectionCommand(std::vector<PdmObjectHandle*> selection, SelectionManager::SelectionRole role) { CmdSelectionChangeExec* selectionChangeExec = createSelectionCommand(selection, role); CmdExecCommandManager::instance()->processExecuteCommand(selectionChangeExec); }
//-------------------------------------------------------------------------------------------------- /// //-------------------------------------------------------------------------------------------------- void CmdSelectionHelper::executeSelectionCommand(const std::vector<PdmObjectHandle*>& selection, int selectionLevel) { CmdSelectionChangeExec* selectionChangeExec = createSelectionCommand(selection, selectionLevel); CmdExecCommandManager::instance()->processExecuteCommand(selectionChangeExec); }