|
![]() |
||||||||
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
public abstract class AbstractPolicyPlugin
Plugin that validates the active policy.
Constructor Summary | |
---|---|
AbstractPolicyPlugin(ApplicationContext context)
Creates a new validation plugin. |
Method Summary | |
---|---|
protected PolicyPresenter |
getPolicyPresenter()
Returns the active policy presenter. |
void |
refresh(PolicyPresenter newPresenter)
Instructs the plugin to refresh itself with the specified policy presenter. |
protected void |
updateActions(boolean hasPresenter)
Updates all actions of this plugin. |
Methods inherited from class org.openpermis.editor.policy.plugin.AbstractPlugin |
---|
customizeMenu, customizeToolBar, 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 |
Methods inherited from interface org.openpermis.editor.policy.plugin.Plugin |
---|
customizeMenu, customizeToolBar |
Constructor Detail |
---|
public AbstractPolicyPlugin(ApplicationContext context)
context
- the application context of this plugin.Method Detail |
---|
protected PolicyPresenter getPolicyPresenter()
null
.protected void updateActions(boolean hasPresenter)
hasPresenter
- true
if a presenter is set, false
otherwise.public void refresh(PolicyPresenter newPresenter)
PolicyPlugin
refresh
in interface PolicyPlugin
newPresenter
- the policy presenter to refresh with.
|
![]() |
||||||||
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