Search in sources :

Example 1 with ValidateAction

use of org.intellij.plugins.relaxNG.validation.ValidateAction in project intellij-community by JetBrains.

the class ApplicationLoader method installValidateXmlAction.

private static void installValidateXmlAction() {
    final ActionManager mgr = ActionManager.getInstance();
    final AnAction validateAction = mgr.getAction(VALIDATE_XML);
    mgr.unregisterAction(VALIDATE_XML);
    mgr.registerAction(VALIDATE_XML, new ValidateAction(validateAction));
}
Also used : ActionManager(com.intellij.openapi.actionSystem.ActionManager) ValidateAction(org.intellij.plugins.relaxNG.validation.ValidateAction) AnAction(com.intellij.openapi.actionSystem.AnAction)

Aggregations

ActionManager (com.intellij.openapi.actionSystem.ActionManager)1 AnAction (com.intellij.openapi.actionSystem.AnAction)1 ValidateAction (org.intellij.plugins.relaxNG.validation.ValidateAction)1