org.openpermis.editor.policy.view
Class ObligationEditor

java.lang.Object
  extended by org.openpermis.editor.policy.view.AbstractView
      extended by org.openpermis.editor.policy.view.AbstractEditor<ObligationPresenter>
          extended by org.openpermis.editor.policy.view.ObligationEditor
All Implemented Interfaces:
EventListener, AncestorListener, ErrorReporter, Editor, View

public class ObligationEditor
extends AbstractEditor<ObligationPresenter>
implements AncestorListener

Editor for a ObligationPresenter.

Since:
0.3.0

Field Summary
private static org.slf4j.Logger LOGGER
          The logger object of this class.
private  JTextField text
          The name field.
 
Constructor Summary
ObligationEditor(org.jdesktop.application.ApplicationContext context, AdapterTrader trader, ObligationPresenter presenter)
          Creates a new editor view.
 
Method Summary
 void ancestorAdded(AncestorEvent event)
           
 void ancestorMoved(AncestorEvent event)
           
 void ancestorRemoved(AncestorEvent event)
           
protected  void bind(org.jdesktop.beansbinding.BindingGroup bindings)
          Binds all components to the presenter.
 void close()
           
 void fillContentPane(JPanel panel)
           
private  JComponent headerName()
           
 
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

LOGGER

private static final org.slf4j.Logger LOGGER
The logger object of this class.

Since:
0.3.0

text

private JTextField text
The name field.

Since:
0.3.0
Constructor Detail

ObligationEditor

public ObligationEditor(org.jdesktop.application.ApplicationContext context,
                        AdapterTrader trader,
                        ObligationPresenter presenter)
Creates a new editor view.

Parameters:
context - the application context used to lookup the obligation and resource map.
presenter - the presenter of this view.
Since:
0.3.0
Method Detail

close

@Action
public void close()
Since:
0.3.0

bind

protected void bind(org.jdesktop.beansbinding.BindingGroup bindings)
Description copied from class: AbstractEditor
Binds all components to the presenter.

This method is called after creation of the content pane.

Specified by:
bind in class AbstractEditor<ObligationPresenter>
Parameters:
bindings - the binding group to add bindings to.
Since:
0.3.0

headerName

private JComponent headerName()
Since:
0.3.0

fillContentPane

public void fillContentPane(JPanel panel)
Specified by:
fillContentPane in class AbstractEditor<ObligationPresenter>
Since:
0.3.0

ancestorAdded

public void ancestorAdded(AncestorEvent event)
Specified by:
ancestorAdded in interface AncestorListener
Since:
0.3.0

ancestorMoved

public void ancestorMoved(AncestorEvent event)
Specified by:
ancestorMoved in interface AncestorListener
Since:
0.3.0

ancestorRemoved

public void ancestorRemoved(AncestorEvent event)
Specified by:
ancestorRemoved in interface AncestorListener
Since:
0.3.0


PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:15:22
Copyright (c) 2002-2007 Ergon Informatik AG