public class NewSlotAction extends AbstractNewAction
| Modifier and Type | Class and Description |
|---|---|
private class |
NewSlotAction.VisitorForHardwareEdge
Visitor for adding HardwareEdges between the new slot and the Switch or Internet.
|
| Modifier and Type | Field and Description |
|---|---|
private ConfigurationGraph |
graph
the configurationgraph.
|
| Constructor and Description |
|---|
NewSlotAction(java.lang.String name,
ConfigurationGraph graph)
Action for a new NetworkAdapter.
|
| Modifier and Type | Method and Description |
|---|---|
protected Node |
createNode(java.awt.Point p)
Abstract Methode for adding a Node to the graph.
|
actionPerformedprivate final ConfigurationGraph graph
public NewSlotAction(java.lang.String name,
ConfigurationGraph graph)
name - the name of the node.graph - the graph.protected Node createNode(java.awt.Point p)
AbstractNewActioncreateNode in class AbstractNewActionp - Point, where the node should be added