net.sourceforge.fixagora.buyside.client.view.editor
Class BuySideBookEditor

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.buyside.client.view.editor.BuySideBookEditor
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 BuySideBookEditor
extends AbstractBusinessObjectEditor

The Class BuySideBookEditor.


Constructor Summary
BuySideBookEditor(BuySideBook buySideBook, MainPanel mainPanel, BasisClientConnector basisClientConnector)
          Instantiates a new buy side book editor.
 
Method Summary
 void addNewOrderSingle(BuySideNewOrderSingleEntry buySideNewOrderSingleEntry)
          Adds the new order single.
 void addNewOrderSingleDialog(NewOrderSingleDialog newOrderSingleDialog)
          Adds the new order single dialog.
 void addQuoteRequest(AbstractBuySideEntry.Side side, java.util.List<Counterparty> counterparties, long security)
          Adds the quote request.
 void addQuoteResponseDialog(QuoteResponseDialog quoteResponseDialog)
          Adds the quote response dialog.
 void checkDirty()
          Check dirty.
 void clearCrawler(BuySideQuotePage buySideQuotePage)
          Clear crawler.
 void closeAbstractBusinessObjectEditor()
          Close abstract business object editor.
 AbstractBusinessObject getAbstractBusinessObject()
          Gets the abstract business object.
 BuySideBook getBuySideBook()
          Gets the buy side book.
 NewOrderSingleDialog getNewOrderSingleDialog(BuySideNewOrderSingleEntry buySideNewOrderSingleEntry)
          Gets the new order single dialog.
 QuoteResponseDialog getQuoteResponseDialog(BuySideQuoteRequestEntry buySideQuoteRequestEntry)
          Gets the quote response dialog.
 void initContent()
          Inits the content.
 void onBuySideQuoteRequestResponse(BuySideQuoteRequestResponse quoteRequestResponse)
          On buy side quote request response.
 void onNewOrderSingleResponse(NewOrderSingleResponse newOrderSingleResponse)
          On new order single response.
 void onUpdateBuySideMDInputEntryResponse(UpdateBuySideMDInputEntryResponse updateBuySideMDInputEntryResponse)
          On update buy side md input entry response.
 void postConstruct()
          Post construct.
 void removeNewOrderSingleDialog(NewOrderSingleDialog newOrderSingleDialog)
          Removes the new order single dialog.
 void removeQuoteResponseDialog(QuoteResponseDialog quoteResponseDialog)
          Removes the quote response 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

BuySideBookEditor

public BuySideBookEditor(BuySideBook buySideBook,
                         MainPanel mainPanel,
                         BasisClientConnector basisClientConnector)
Instantiates a new buy side book editor.

Parameters:
buySideBook - the buy 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

getBuySideBook

public BuySideBook getBuySideBook()
Gets the buy side book.

Returns:
the buy side book

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

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

addNewOrderSingle

public void addNewOrderSingle(BuySideNewOrderSingleEntry buySideNewOrderSingleEntry)
Adds the new order single.

Parameters:
buySideNewOrderSingleEntry - the buy side new order single entry

onNewOrderSingleResponse

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

Parameters:
newOrderSingleResponse - the new order single response

onBuySideQuoteRequestResponse

public void onBuySideQuoteRequestResponse(BuySideQuoteRequestResponse quoteRequestResponse)
On buy side quote request response.

Parameters:
quoteRequestResponse - the quote request response

stopWarning

public void stopWarning()
Stop warning.


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

removeQuoteResponseDialog

public void removeQuoteResponseDialog(QuoteResponseDialog quoteResponseDialog)
Removes the quote response dialog.

Parameters:
quoteResponseDialog - the quote response dialog

addQuoteResponseDialog

public void addQuoteResponseDialog(QuoteResponseDialog quoteResponseDialog)
Adds the quote response dialog.

Parameters:
quoteResponseDialog - the quote response dialog

getNewOrderSingleDialog

public NewOrderSingleDialog getNewOrderSingleDialog(BuySideNewOrderSingleEntry buySideNewOrderSingleEntry)
Gets the new order single dialog.

Parameters:
buySideNewOrderSingleEntry - the buy side new order single entry
Returns:
the new order single dialog

getQuoteResponseDialog

public QuoteResponseDialog getQuoteResponseDialog(BuySideQuoteRequestEntry buySideQuoteRequestEntry)
Gets the quote response dialog.

Parameters:
buySideQuoteRequestEntry - the buy side quote request entry
Returns:
the quote response dialog

clearCrawler

public void clearCrawler(BuySideQuotePage buySideQuotePage)
Clear crawler.

Parameters:
buySideQuotePage - the buy side quote page

onUpdateBuySideMDInputEntryResponse

public void onUpdateBuySideMDInputEntryResponse(UpdateBuySideMDInputEntryResponse updateBuySideMDInputEntryResponse)
On update buy side md input entry response.

Parameters:
updateBuySideMDInputEntryResponse - the update buy side md input entry response

addQuoteRequest

public void addQuoteRequest(AbstractBuySideEntry.Side side,
                            java.util.List<Counterparty> counterparties,
                            long security)
Adds the quote request.

Parameters:
side - the side
counterparties - the counterparties
security - the security