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:
ErrorReporter, Editor, View

public class ObligationEditor
extends AbstractEditor<ObligationPresenter>

Editor for a ObligationPresenter.

Since:
0.3.0

Constructor Summary
ObligationEditor(ApplicationContext context, Adapter trader, ObligationPresenter presenter)
          Creates a new editor view.
 
Method Summary
protected  void bind(org.jdesktop.beansbinding.BindingGroup bindings)
          Binds all components to the presenter.
protected  JComponent createContentPane()
          Creates the content pane of this view.
 
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

ObligationEditor

public ObligationEditor(ApplicationContext context,
                        Adapter 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

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

createContentPane

protected JComponent createContentPane()
Description copied from class: AbstractView
Creates the content pane of this view.

Specified by:
createContentPane in class AbstractView
Returns:
the content pane of this view, must not be null.
Since:
0.9.0


OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:17:21
Copyright (c) 2002-2007 Ergon Informatik AG