Remove an action.
178322
def remove(self, name):
        """"""
        self.gui.removeAction(self._actions_dict[name].qaction)
        del self._actions_dict[name]
        delattr(self, name)
665718
def remove_menu(self, menu):
        
        self._menus.remove(menu)
        for action in menu.actions():
            self.removeAction(action)
67802
def unholdAction(self):
        
        self._actionHeld = False
        
        point = self.mapFromGlobal(QCursor.pos())
        self.setCurrentAction(self.actionAt(point))
902096
def remove(self):
        """"""
        if self.exists() or self.islink():
            self.fs.unlink(self.get_internal_path())
            return 1
        return None
1322241
def off(self, event):
        ''
        try:
            self._once_events.remove(event)
        except KeyError:
            pass
        self._callback_by_event.pop(event, None)
256497
def remove(self, force=False):
        
        if force:
            _fs, filename = opener.parse(self.uri)
            _fs.remove(filename)
        self.uri = None
1003213
public static void unregist(Object action) {
        if (logger.isInfoEnabled()) {
            logger.info(" Un Regist Action : " + action);
        }

        if (action != null) {
            for (Iterator<Map.Entry<EventType, Object>> iter = table.entrySet().iterator(); iter.hasNext();) {
                Map.Entry<EventType, Object> entry = iter.next();
                if (action == entry.getValue()) {
                    if (logger.isInfoEnabled()) {
                        logger.info(" Find " + entry.getKey() + " For : " + action);
                    }

                    iter.remove();
                }
            }
        }
    }
1220149
public function clear()
    {
        $this->controller = null;
        $this->action = null;
        $this->filters = array();
        $this->filter_names = array();
        $this->position = 0;
        $this->has_action_filter = false;
    }
198710
public function removeActionArticle()
    {
        $sActionId = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('oxid');
        //$sActionId = $this->getConfig()->getConfigParam( 'oxid' );

        $oDb = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();

        $oDb->Execute(
            'delete from oxobject2action '
            . 'where oxactionid=' . $oDb->quote($sActionId)
            . ' and oxclass = "oxarticle"'
        );
    }
1115045
def stop(self, activity, action):
        '''
        
        '''
        try:
            self._remove_running_action(activity, action)
        except ValueError:
            retox_log.debug("Could not find action %s in env %s" % (activity, self.name))
        self._mark_action_completed(activity, action)
        self.refresh()
636683
function(name, action, context) {
        if (!name || !action) {
            return;
        }
        var self = this;
        function wrapper() {
            self.off(name, wrapper);
            action.apply(this, arguments);
        }
        return this.on(name, wrapper, context);
    }
1336472
def remove(self, resource):
        """"""
        if isinstance(resource, Resource):
            self._resources.remove(resource)
1250477
def __view_remove_actions(self):
        

        add_project_action = "Actions|Umbra|Components|addons.projects_explorer|Add Project ..."
        remove_project_action = "Actions|Umbra|Components|addons.projects_explorer|Remove Project"
        add_new_file_action = "Actions|Umbra|Components|addons.projects_explorer|Add New File ..."
        add_new_directory_action = "Actions|Umbra|Components|addons.projects_explorer|Add New Directory ..."
        rename_action = "Actions|Umbra|Components|addons.projects_explorer|Rename ..."
        # copy_action = "Actions|Umbra|Components|addons.projects_explorer|Copy ..."
        # move_action = "Actions|Umbra|Components|addons.projects_explorer|Move ..."
        delete_action = "Actions|Umbra|Components|addons.projects_explorer|Delete ..."
        find_in_files_action = "Actions|Umbra|Components|addons.projects_explorer|Find In Files ..."
        output_selected_path_action = "Actions|Umbra|Components|addons.projects_explorer|Output Selected Path"

        for action in (add_project_action,
                       remove_project_action,
                       add_new_file_action,
                       add_new_directory_action,
                       rename_action,
                       # copy_action,
                       # move_action,
                       delete_action,
                       output_selected_path_action):
            self.__view.removeAction(self.__engine.actions_manager.get_action(action))
            self.__engine.actions_manager.unregister_action(action)
503746
def remove(cls, resource_id, parent_id=None, grandparent_id=None,
               wait=True, timeout=None):
        """"""
        raise exception.NotSupported(feature="DELETE",
                                     context="VirtualSwitchManager")
178787
def action_cancel(self):
        """"""
        self.write({'state': 'cancelled'})
        for rec in self:
            rec.message_post(
                subtype='mt_comment',
                body=_(
                    'Change request <b>%s</b> has been cancelled by %s.'
                    ) % (rec.display_name, self.env.user.name)
                )
10551
public function removeAction($name)
    {

        if (isset($this->actions[$name])) {
            unset($this->actions[$name]);
        }

        return $this;
    }
675714
function (action) {
        var targetID = action.originalTarget.id,
            element = this.targets[targetID]

        if (!element) {
            return
        }

        var actionIndex = element.actions.indexOf(action)

        if (actionIndex == -1) {
            return
        }

        if (this.currentTarget == element) {
            element.currentActionSalvaged = true
        }

        element.actions[actionIndex] = null
        element.actions.splice(actionIndex, 1); // Delete array item

        if (element.actions.length === 0) {
            if (this.currentTarget == element) {
                this.currentTargetSalvaged = true
            }
        }

    }