@Deprecated public final class WoodPieceDispatcher extends AbstractDesigner<LogCategoryDispatcher> implements ProductionLineManagerChangeListener
| Modifier and Type | Class and Description |
|---|---|
protected static class |
WoodPieceDispatcher.MessageID
Deprecated.
|
| Constructor and Description |
|---|
WoodPieceDispatcher()
Deprecated.
Empty contructor for deserialization.
|
WoodPieceDispatcher(TreeLoggerWrapper treeLoggerWrapper,
ProductionLineManager plm)
Deprecated.
General constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDispatcher(java.lang.String logCategoryName)
Deprecated.
This method adds a new dispatcher with its name being the log category name.
|
java.util.Map<java.lang.String,java.lang.Double> |
dispatchThisWoodPiece(java.lang.String logCategoryName)
Deprecated.
This method produces a Map whose keys are the markets and values are the proportion of the
wood piece that is sent to a particular market.
|
boolean |
equals(java.lang.Object obj)
Deprecated.
|
protected void |
fireDesignerChangeEvent()
Deprecated.
|
java.util.List<LogCategoryDispatcher> |
getContent()
Deprecated.
This method returns a Collection of UserInterfaceableObject instances that are to be set in the different tabs of the dialog.
|
protected java.util.List<java.lang.String> |
getCurrentLogCategoryNames()
Deprecated.
|
javax.swing.filechooser.FileFilter |
getFileFilter()
Deprecated.
This method returns the appropriate FileFilter instance for this class.
|
protected java.util.Vector<java.lang.String> |
getLogCategoryNamesFromTreeLogger()
Deprecated.
|
protected java.util.Vector<java.lang.String> |
getProductionLineNames()
Deprecated.
|
boolean |
isValid()
Deprecated.
This method returns true if the WoodPieceDispatcher is operational.
|
protected void |
loadFrom(AbstractDesigner<LogCategoryDispatcher> designer)
Deprecated.
|
void |
productionLineManagerChanged(ProductionLineEvent evt)
Deprecated.
This method handles the change in the ProductionLineManager instance this class is listening to.
|
void |
reset()
Deprecated.
This method resets the singleton of this class.
|
getFilename, getMemorizerPackage, getName, getWorkspace, isWorkSpaceChangeableInGUI, load, loadFromFile, save, setName, setWorkspace, setWorkSpaceChangeableInGUI, unpackMemorizerPackagepublic WoodPieceDispatcher(TreeLoggerWrapper treeLoggerWrapper, ProductionLineManager plm)
public WoodPieceDispatcher()
public void reset()
reset in interface Resettablereset in class AbstractDesigner<LogCategoryDispatcher>protected void addDispatcher(java.lang.String logCategoryName)
logCategoryName - the name of the log categorypublic java.util.List<LogCategoryDispatcher> getContent()
AbstractDesignergetContent in class AbstractDesigner<LogCategoryDispatcher>public java.util.Map<java.lang.String,java.lang.Double> dispatchThisWoodPiece(java.lang.String logCategoryName)
logCategoryName - a String that defines the log category as specified in the tree logger parametersprotected java.util.Vector<java.lang.String> getProductionLineNames()
protected void loadFrom(AbstractDesigner<LogCategoryDispatcher> designer)
loadFrom in class AbstractDesigner<LogCategoryDispatcher>protected java.util.List<java.lang.String> getCurrentLogCategoryNames()
public boolean isValid()
isValid in class AbstractDesigner<LogCategoryDispatcher>protected java.util.Vector<java.lang.String> getLogCategoryNamesFromTreeLogger()
public javax.swing.filechooser.FileFilter getFileFilter()
ParameterizablegetFileFilter in interface IOUserInterfaceableObjectgetFileFilter in interface ParameterizablegetFileFilter in class AbstractDesigner<LogCategoryDispatcher>public void productionLineManagerChanged(ProductionLineEvent evt)
ProductionLineManagerChangeListenerproductionLineManagerChanged in interface ProductionLineManagerChangeListenerevt - a ProductionLineEvent objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectprotected void fireDesignerChangeEvent()
fireDesignerChangeEvent in class AbstractDesigner<LogCategoryDispatcher>