|
![]() |
||||||||
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(ApplicationContext context,
Adapter 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. |
protected JComponent |
createContentPane()
Creates the content pane of this view. |
void |
editAuthority()
|
void |
editSubjectDomain()
|
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, close, contentPaneCreated, dispose, getModelSerialNumber, getPresenter, getTitleParameters, showYesNoDialog |
Methods inherited from class org.openpermis.editor.policy.view.AbstractView |
---|
attach, canEditPart, closeView, createEditor, createFormBuilder, createTranslationConverter, detach, editPart, getAction, getActionMap, getAdapteeTrader, getApplicationContext, getContentPane, getControlFactory, getDefaultFocusComponent, getIcon, getParentView, getResourceMap, getTitle, getViewContext, isEmbedded, openView, setEnabled, setParentView, showStatusError, 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, getDefaultFocusComponent, getIcon, getParentView, getTitle, isEmbedded, setParentView |
Constructor Detail |
---|
public RoleAssignmentRuleEditor(ApplicationContext context, Adapter 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.protected JComponent createContentPane()
AbstractView
createContentPane
in class AbstractView
null
.
|
![]() |
||||||||
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