net.sourceforge.fixagora.sellside.client.view.editor
Class SellSideBookEditor

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.sellside.client.view.editor.SellSideBookEditor
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 SellSideBookEditor
extends AbstractBusinessObjectEditor

The Class SellSideBookEditor.


Constructor Summary
SellSideBookEditor(SellSideBook sellSideBook, MainPanel mainPanel, BasisClientConnector basisClientConnector)
          Instantiates a new sell side book editor.
 
Method Summary
 void addNewOrderSingleDialog(NewOrderSingleDialog newOrderSingleDialog)
          Adds the new order single dialog.
 void addSellSideQuoteRequestDialog(SellSideQuoteRequestDialog sellSideQuoteRequestDialog)
          Adds the sell side quote request dialog.
 void checkDirty()
          Check dirty.
 void clearCrawler(SellSideQuotePage sellSideQuotePage)
          Clear crawler.
 void closeAbstractBusinessObjectEditor()
          Close abstract business object editor.
 AbstractBusinessObject getAbstractBusinessObject()
          Gets the abstract business object.
 NewOrderSingleDialog getNewOrderSingleDialog(SellSideNewOrderSingleEntry sellSideNewOrderSingleEntry)
          Gets the new order single dialog.
 SellSideBook getSellSideBook()
          Gets the sell side book.
 SellSideQuoteRequestDialog getSellSideQuoteRequestDialog(SellSideQuoteRequestEntry sellSideQuoteRequestEntry)
          Gets the sell side quote request dialog.
 void initContent()
          Inits the content.
 void onNewOrderSingleResponse(NewOrderSingleResponse newOrderSingleResponse)
          On new order single response.
 void onSellSideQuoteRequestResponse(SellSideQuoteRequestResponse sellSideQuoteRequestResponse)
          On sell side quote request response.
 void onUpdateSellSideMDInputEntryResponse(UpdateSellSideMDInputEntryResponse updateSellSideMDInputEntryResponse)
          On update sell side md input entry response.
 void postConstruct()
          Post construct.
 void removeNewOrderSingleDialog(NewOrderSingleDialog newOrderSingleDialog)
          Removes the new order single dialog.
 void removeSellSideQuoteRequestDialog(SellSideQuoteRequestDialog sellSideQuoteRequestDialog)
          Removes the sell side quote request dialog.
 void save()
          Save.
 void stopWarning()
          Stop warning.
 void toggleWarning()
          Toggle warning.
 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, 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

SellSideBookEditor

public SellSideBookEditor(SellSideBook sellSideBook,
                          MainPanel mainPanel,
                          BasisClientConnector basisClientConnector)
Instantiates a new sell side book editor.

Parameters:
sellSideBook - the sell side book
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

getSellSideBook

public SellSideBook getSellSideBook()
Gets the sell side book.

Returns:
the sell side book

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.


onNewOrderSingleResponse

public void onNewOrderSingleResponse(NewOrderSingleResponse newOrderSingleResponse)
On new order single response.

Parameters:
newOrderSingleResponse - the new order single response

toggleWarning

public void toggleWarning()
Toggle warning.


addNewOrderSingleDialog

public void addNewOrderSingleDialog(NewOrderSingleDialog newOrderSingleDialog)
Adds the new order single dialog.

Parameters:
newOrderSingleDialog - the new order single dialog

removeNewOrderSingleDialog

public void removeNewOrderSingleDialog(NewOrderSingleDialog newOrderSingleDialog)
Removes the new order single dialog.

Parameters:
newOrderSingleDialog - the new order single dialog

getNewOrderSingleDialog

public NewOrderSingleDialog getNewOrderSingleDialog(SellSideNewOrderSingleEntry sellSideNewOrderSingleEntry)
Gets the new order single dialog.

Parameters:
sellSideNewOrderSingleEntry - the sell side new order single entry
Returns:
the new order single dialog

getSellSideQuoteRequestDialog

public SellSideQuoteRequestDialog getSellSideQuoteRequestDialog(SellSideQuoteRequestEntry sellSideQuoteRequestEntry)
Gets the sell side quote request dialog.

Parameters:
sellSideQuoteRequestEntry - the sell side quote request entry
Returns:
the sell side quote request dialog

clearCrawler

public void clearCrawler(SellSideQuotePage sellSideQuotePage)
Clear crawler.

Parameters:
sellSideQuotePage - the sell side quote page

onUpdateSellSideMDInputEntryResponse

public void onUpdateSellSideMDInputEntryResponse(UpdateSellSideMDInputEntryResponse updateSellSideMDInputEntryResponse)
On update sell side md input entry response.

Parameters:
updateSellSideMDInputEntryResponse - the update sell side md input entry response

onSellSideQuoteRequestResponse

public void onSellSideQuoteRequestResponse(SellSideQuoteRequestResponse sellSideQuoteRequestResponse)
On sell side quote request response.

Parameters:
sellSideQuoteRequestResponse - the sell side quote request response

removeSellSideQuoteRequestDialog

public void removeSellSideQuoteRequestDialog(SellSideQuoteRequestDialog sellSideQuoteRequestDialog)
Removes the sell side quote request dialog.

Parameters:
sellSideQuoteRequestDialog - the sell side quote request dialog

addSellSideQuoteRequestDialog

public void addSellSideQuoteRequestDialog(SellSideQuoteRequestDialog sellSideQuoteRequestDialog)
Adds the sell side quote request dialog.

Parameters:
sellSideQuoteRequestDialog - the sell side quote request dialog