|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openpermis.editor.policy.view.AbstractView
org.openpermis.editor.policy.view.AbstractToolView<DecisionPresenter>
org.openpermis.editor.policy.view.DecisionTool
public class DecisionTool
Displays the resulting access decision for selected roles and actions.
Constructor Summary | |
---|---|
DecisionTool(org.jdesktop.application.ApplicationContext context,
AdapterTrader trader)
Creates a decision tool view. |
Method Summary | |
---|---|
protected void |
attachPresenter(DecisionPresenter presenter,
org.jdesktop.beansbinding.BindingGroup bindings)
Attaches any listeners required to the new presenter and binds components. |
protected JComponent |
createContentPane()
Creates the content pane of this view. |
bibliothek.gui.dock.common.CLocation |
getDefaultLocation()
Returns the desired default location relative to the working area for this tool view. |
void |
refresh(org.openpermis.policy.bean.PolicyBean policy,
PolicyContext context)
Instructs the tool to refresh itself with the specified policy. |
Methods inherited from class org.openpermis.editor.policy.view.AbstractToolView |
---|
contentPaneCreated, createToolBar, detachPresenter, getPresenter, getToolBar, getToolIdentifier, setPresenter, updateActions |
Methods inherited from class org.openpermis.editor.policy.view.AbstractView |
---|
attach, canClose, canEditPart, closeView, detach, editPart, getActionMap, getAdapteeTrader, getContentPane, getIcon, getResourceMap, getTitle, getTitleParameters, getViewContext, label, openView, showStatusError, toolBar, updateTitle |
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.view.View |
---|
attach, canClose, detach, getContentPane, getIcon, getTitle |
Constructor Detail |
---|
public DecisionTool(org.jdesktop.application.ApplicationContext context, AdapterTrader trader)
context
- application meta data for the tool.Method Detail |
---|
public void refresh(org.openpermis.policy.bean.PolicyBean policy, PolicyContext context)
Tool
Called whenever the policy that this view renders changes.
policy
- the policy to refresh with.context
- the policy context to use.protected void attachPresenter(DecisionPresenter presenter, org.jdesktop.beansbinding.BindingGroup bindings)
AbstractToolView
The default implementation initializes the content pane if necessary.
attachPresenter
in class AbstractToolView<DecisionPresenter>
presenter
- the new presenter to attach to.bindings
- the binding group to add bindings to.protected JComponent createContentPane()
AbstractView
createContentPane
in class AbstractView
null
.public bibliothek.gui.dock.common.CLocation getDefaultLocation()
Tool
getDefaultLocation
in interface Tool
getDefaultLocation
in class AbstractToolView<DecisionPresenter>
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:15:11
Copyright (c) 2002-2007 Ergon Informatik AG