|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openpermis.editor.policy.plugin.AbstractPlugin
org.openpermis.editor.policy.plugin.AbstractPolicyPlugin
org.openpermis.editor.policy.plugin.ValidationPlugin
public class ValidationPlugin
Plugin that validates the active policy.
Constructor Summary | |
---|---|
ValidationPlugin(ApplicationContext context)
Creates a new validation plugin. |
Method Summary | |
---|---|
void |
customizeMenu(MenuBarFactory.Customizer customizer)
Prompts the plugin to provide its menu customization. |
void |
customizeToolBar(ToolBarFactory.Customizer customizer)
Prompts the plugin to provide its tool bar customization. |
protected void |
updateActions(boolean hasPresenter)
Updates all actions of this plugin. |
void |
validate()
Validates the active policy presenter and displays a dialog. |
Methods inherited from class org.openpermis.editor.policy.plugin.AbstractPolicyPlugin |
---|
getPolicyPresenter, refresh |
Methods inherited from class org.openpermis.editor.policy.plugin.AbstractPlugin |
---|
getAction, getActionMap, getApplicationContext, getMainContentPane, getMainFrame, getResourceMap, getTranslation, getTranslation, showError, showWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidationPlugin(ApplicationContext context)
context
- the application context of this plugin.Method Detail |
---|
@Action public void validate()
protected void updateActions(boolean hasPresenter)
AbstractPolicyPlugin
updateActions
in class AbstractPolicyPlugin
hasPresenter
- true
if a presenter is set, false
otherwise.public void customizeMenu(MenuBarFactory.Customizer customizer)
Plugin
customizeMenu
in interface Plugin
customizeMenu
in class AbstractPlugin
customizer
- the customizer to use.public void customizeToolBar(ToolBarFactory.Customizer customizer)
Plugin
customizeToolBar
in interface Plugin
customizeToolBar
in class AbstractPlugin
customizer
- the customizer to use.
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:17:21
Copyright (c) 2002-2007 Ergon Informatik AG