net.sourceforge.fixagora.tradecapture.client.view.editor
Class TradeCaptureEditor

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.tradecapture.client.view.editor.TradeCaptureEditor
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 TradeCaptureEditor
extends AbstractBusinessObjectEditor

The Class TradeCaptureEditor.


Constructor Summary
TradeCaptureEditor(TradeCapture tradeCapture, MainPanel mainPanel, BasisClientConnector basisClientConnector)
          Instantiates a new trade capture editor.
 
Method Summary
 void checkDirty()
          Check dirty.
 void closeAbstractBusinessObjectEditor()
          Close abstract business object editor.
 AbstractBusinessObject getAbstractBusinessObject()
          Gets the abstract business object.
 TradeCapture getTradeCapture()
          Gets the trade capture.
 void initContent()
          Inits the content.
 void onTradeCaptureEntryResponse(TradeCaptureEntryResponse tradeCaptureEntryResponse)
          On trade capture entry response.
 void postConstruct()
          Post construct.
 void save()
          Save.
 void stopWarning()
          Stop warning.
 void updateContent(AbstractBusinessObject abstractBusinessObject)
          Update content.
 void updateIcon()
          Update icon.
 void updateRoles(java.util.List<FRole> roles)
          Update roles.
 
Methods inherited from class net.sourceforge.fixagora.basis.client.view.editor.AbstractBusinessObjectEditor
checkName, getBasisClientConnector, getBugIcon, getMainPanel, getNameWarningLabel, getSelectedTab, getWarningIcon, handleFocus, isConsistent, isDirty, isEditable, isVisible
 
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

TradeCaptureEditor

public TradeCaptureEditor(TradeCapture tradeCapture,
                          MainPanel mainPanel,
                          BasisClientConnector basisClientConnector)
Instantiates a new trade capture editor.

Parameters:
tradeCapture - the trade capture
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

getTradeCapture

public TradeCapture getTradeCapture()
Gets the trade capture.

Returns:
the trade capture

save

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

Overrides:
save in class AbstractBusinessObjectEditor

closeAbstractBusinessObjectEditor

public void closeAbstractBusinessObjectEditor()
Description copied from class: AbstractBusinessObjectEditor
Close abstract business object editor.

Overrides:
closeAbstractBusinessObjectEditor in class AbstractBusinessObjectEditor

postConstruct

public void postConstruct()
Description copied from class: AbstractBusinessObjectEditor
Post construct.

Overrides:
postConstruct 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

stopWarning

public void stopWarning()
Stop warning.


onTradeCaptureEntryResponse

public void onTradeCaptureEntryResponse(TradeCaptureEntryResponse tradeCaptureEntryResponse)
On trade capture entry response.

Parameters:
tradeCaptureEntryResponse - the trade capture entry response

updateIcon

public void updateIcon()
Update icon.