net.sourceforge.fixagora.basis.client.view.editor
Class FRoleEditor

java.lang.Object
  extended by bibliothek.gui.dock.dockable.AbstractDockable
      extended by bibliothek.gui.dock.DefaultDockable
          extended by net.sourceforge.fixagora.basis.client.view.editor.AbstractBusinessObjectEditor
              extended by net.sourceforge.fixagora.basis.client.view.editor.FRoleEditor
All Implemented Interfaces:
bibliothek.gui.dock.DockElement, bibliothek.gui.dock.DockElementRepresentative, bibliothek.gui.dock.station.support.PlaceholderListItem<bibliothek.gui.Dockable>, bibliothek.gui.Dockable

public class FRoleEditor
extends AbstractBusinessObjectEditor

The Class FRoleEditor.


Constructor Summary
FRoleEditor(FRole role, MainPanel mainPanel, BasisClientConnector basisClientConnector)
          Instantiates a new f role editor.
 
Method Summary
 void checkDirty()
          Check dirty.
 AbstractBusinessObject getAbstractBusinessObject()
          Gets the abstract business object.
 FRole getRole()
          Gets the role.
 void initContent()
          Inits the content.
 void save()
          Save.
 void updateContent(AbstractBusinessObject abstractBusinessObject)
          Update content.
 void updateRoles(java.util.List<FRole> roles)
          Update roles.
 
Methods inherited from class net.sourceforge.fixagora.basis.client.view.editor.AbstractBusinessObjectEditor
checkName, closeAbstractBusinessObjectEditor, getBasisClientConnector, getBugIcon, getMainPanel, getNameWarningLabel, getSelectedTab, getWarningIcon, handleFocus, isConsistent, isDirty, isEditable, isVisible, postConstruct
 
Methods inherited from class bibliothek.gui.dock.DefaultDockable
add, add, asDockStation, getComponent, getContentPane, getFactoryID, remove, setController, setFactoryID, setLayout
 
Methods inherited from class bibliothek.gui.dock.dockable.AbstractDockable
accept, accept, addDockableListener, addDockableStateListener, addDockHierarchyListener, addKeyListener, addMouseInputListener, asDockable, bind, configureDisplayerHints, getController, getDockParent, getElement, getGlobalActionOffers, getLocalActionOffers, getPopupLocation, getTitleIcon, getTitleText, getTitleToolTip, isDockableVisible, isUsedAsTitle, listBoundTitles, removeDockableListener, removeDockableStateListener, removeDockHierarchyListener, removeKeyListener, removeMouseInputListener, requestDockTitle, resetTitleIcon, setActionOffers, setDockParent, setTitleIcon, setTitleText, setTitleToolTip, shouldFocus, shouldTransfersFocus, unbind
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FRoleEditor

public FRoleEditor(FRole role,
                   MainPanel mainPanel,
                   BasisClientConnector basisClientConnector)
Instantiates a new f role editor.

Parameters:
role - the role
mainPanel - the main panel
basisClientConnector - the basis client connector
Method Detail

initContent

public void initContent()
Description copied from class: AbstractBusinessObjectEditor
Inits the content.

Specified by:
initContent in class AbstractBusinessObjectEditor

getRole

public FRole getRole()
Gets the role.

Returns:
the role

save

public void save()
Description copied from class: AbstractBusinessObjectEditor
Save.

Overrides:
save in class AbstractBusinessObjectEditor

checkDirty

public void checkDirty()
Description copied from class: AbstractBusinessObjectEditor
Check dirty.

Specified by:
checkDirty in class AbstractBusinessObjectEditor

updateContent

public void updateContent(AbstractBusinessObject abstractBusinessObject)
Description copied from class: AbstractBusinessObjectEditor
Update content.

Overrides:
updateContent in class AbstractBusinessObjectEditor
Parameters:
abstractBusinessObject - the abstract business object

updateRoles

public void updateRoles(java.util.List<FRole> roles)
Description copied from class: AbstractBusinessObjectEditor
Update roles.

Specified by:
updateRoles in class AbstractBusinessObjectEditor
Parameters:
roles - the roles

getAbstractBusinessObject

public AbstractBusinessObject getAbstractBusinessObject()
Description copied from class: AbstractBusinessObjectEditor
Gets the abstract business object.

Specified by:
getAbstractBusinessObject in class AbstractBusinessObjectEditor
Returns:
the abstract business object