|
![]() |
||||||||
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<TargetPresenter>
org.openpermis.editor.policy.view.TargetEditor
public class TargetEditor
Editor for a TargetPresenter
.
Field Summary | |
---|---|
private CheckList<org.openpermis.policy.bean.ActionBean> |
actionList
The list of actions in the target. |
private static org.slf4j.Logger |
LOGGER
The logger object of this class. |
private JComboBox |
resourceDomain
Chooser for the resource domain of the target. |
Constructor Summary | |
---|---|
TargetEditor(org.jdesktop.application.ApplicationContext context,
AdapterTrader trader,
TargetPresenter presenter)
Creates a new editor view. |
Method Summary | |
---|---|
private JComponent |
actionList()
|
void |
addAction()
|
void |
addResourceDomain()
|
protected void |
bind(org.jdesktop.beansbinding.BindingGroup bindings)
Binds all components to the presenter. |
void |
close()
|
void |
editAction()
|
void |
editResourceDomain()
|
void |
fillContentPane(JPanel panel)
|
void |
removeAction()
|
void |
removeResourceDomain()
|
private JComponent |
resourceDomainChooser()
|
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 |
Field Detail |
---|
private static final org.slf4j.Logger LOGGER
private JComboBox resourceDomain
private CheckList<org.openpermis.policy.bean.ActionBean> actionList
Constructor Detail |
---|
public TargetEditor(org.jdesktop.application.ApplicationContext context, AdapterTrader trader, TargetPresenter presenter)
context
- the application context used to lookup the action and resource map.presenter
- the presenter of this view.Method Detail |
---|
@Action public void addAction()
@Action public void addResourceDomain()
@Action public void removeResourceDomain()
@Action public void removeAction()
@Action public void editResourceDomain()
@Action public void editAction()
@Action public void close()
protected void bind(org.jdesktop.beansbinding.BindingGroup bindings)
AbstractEditor
This method is called after creation of the content pane.
bind
in class AbstractEditor<TargetPresenter>
bindings
- the binding group to add bindings to.private JComponent resourceDomainChooser()
private JComponent actionList()
public void fillContentPane(JPanel panel)
fillContentPane
in class AbstractEditor<TargetPresenter>
|
![]() |
||||||||
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:22
Copyright (c) 2002-2007 Ergon Informatik AG