Class FWSimComponentFactory
java.lang.Object
net.simplace.client.sim.graphpanel.factory.AbstractSimFactory
net.simplace.client.sim.graphpanel.factory.FWSimComponentFactory
- All Implemented Interfaces:
org.apache.commons.collections15.Factory<net.simplace.sim.util.FWSimFieldContainer>
Creates SimComponents chosen by the user (from all SimComponent classes not yet in the solution) and
SimComponent groups for the graph editor.
- Author:
- XPMUser
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractSimFactory
AbstractSimFactory.ClassNameContainer -
Field Summary
FieldsModifier and TypeFieldDescriptionCached class names of all SimComponents found in the classpath.Fields inherited from class AbstractSimFactory
iOrderNumber -
Constructor Summary
ConstructorsConstructorDescriptionFWSimComponentFactory(SimEnvGraphPanel aSimEnvGraphPanel, int aFirstOrderNumber) -
Method Summary
Modifier and TypeMethodDescriptionprotected net.simplace.sim.util.FWSimFieldContainernet.simplace.sim.util.FWSimFieldContainerGroupcreateFieldContainerGroup(List<net.simplace.sim.util.FWSimFieldContainer> aPickedSimComponents, Collection<net.simplace.sim.model.SimFieldLink> aCollection, String aGroupName, net.simplace.sim.util.FWSimVariable.CONTENT_TYPE aSim) Methods inherited from class AbstractSimFactory
create, getPanel
-
Field Details
-
iFindSimComponents
-
-
Constructor Details
-
FWSimComponentFactory
- Parameters:
aSimEnvGraphPanel- the graph panelaFirstOrderNumber- order number of the first created SimComponent
-
-
Method Details
-
createFieldContainer
protected net.simplace.sim.util.FWSimFieldContainer createFieldContainer()- Specified by:
createFieldContainerin classAbstractSimFactory- Returns:
- a new FWSimFieldContainer, or
nullif cancelled - See Also:
-
createFieldContainerGroup
public net.simplace.sim.util.FWSimFieldContainerGroup createFieldContainerGroup(List<net.simplace.sim.util.FWSimFieldContainer> aPickedSimComponents, Collection<net.simplace.sim.model.SimFieldLink> aCollection, String aGroupName, net.simplace.sim.util.FWSimVariable.CONTENT_TYPE aSim) - Parameters:
aPickedSimComponents- field containers combined in the groupaCollection- edges of the graphaGroupName- name of the groupaSim- content type of the group- Returns:
- the new created FieldContainer
-