|
![]() |
||||||||
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.AbstractEditor<RoleAssignmentRulePresenter>
org.openpermis.editor.policy.view.RoleAssignmentRuleEditor
public class RoleAssignmentRuleEditor
Tool view that displays a role assignment rule.
Constructor Summary | |
---|---|
RoleAssignmentRuleEditor(org.jdesktop.application.ApplicationContext context,
AdapterTrader trader,
RoleAssignmentRulePresenter presenter)
Creates role assignment rule editor. |
Method Summary | |
---|---|
void |
addAuthority()
|
void |
addSubjectDomain()
|
protected void |
bind(org.jdesktop.beansbinding.BindingGroup bindings)
Binds all components to the presenter. |
void |
editAuthority()
|
void |
editSubjectDomain()
|
void |
fillContentPane(JPanel panel)
|
void |
removeAuthority()
|
void |
removeSubjectDomain()
|
void |
setConstraint(org.openpermis.basic.TimePeriodConstraint newConstraint)
Sets the constraint. |
void |
updateConstraintAtModel()
Updates the the constraints in the model. |
Methods inherited from class org.openpermis.editor.policy.view.AbstractEditor |
---|
adjustTitleParameters, canClose, contentPaneCreated, createContentPane, dispose, getModelSerialNumber, getPresenter, getTitleParameters, showYesNoDialog |
Methods inherited from class org.openpermis.editor.policy.view.AbstractView |
---|
attach, canEditPart, closeView, detach, editPart, getActionMap, getAdapteeTrader, getContentPane, getIcon, getResourceMap, getTitle, 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, detach, getContentPane, getIcon, getTitle |
Constructor Detail |
---|
public RoleAssignmentRuleEditor(org.jdesktop.application.ApplicationContext context, AdapterTrader trader, RoleAssignmentRulePresenter presenter)
context
- the application context used to lookup the action and resource map.presenter
- the presenter of this view.Method Detail |
---|
public void updateConstraintAtModel()
public void setConstraint(org.openpermis.basic.TimePeriodConstraint newConstraint)
newConstraint
- the constraint.@Action public void addAuthority()
@Action public void removeAuthority()
@Action public void editAuthority()
@Action public void addSubjectDomain()
@Action public void removeSubjectDomain()
@Action public void editSubjectDomain()
protected void bind(org.jdesktop.beansbinding.BindingGroup bindings)
AbstractEditor
This method is called after creation of the content pane.
bind
in class AbstractEditor<RoleAssignmentRulePresenter>
bindings
- the binding group to add bindings to.public void fillContentPane(JPanel panel)
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
PERMIS Role Based Access Control 0.3.0 (Build 14)
2009/05/08 09:06:33
Copyright (c) 2002-2007 Ergon Informatik AG