public class NewNetworkAdapterAction extends AbstractNewAction
| Modifier and Type | Class and Description |
|---|---|
private class |
NewNetworkAdapterAction.VisitorForHardwareEdge
Visitor for adding hardwareEdges between the new Adapter and the device.
|
| Modifier and Type | Field and Description |
|---|---|
private ConfigurationGraph |
graph
the configurationgraph.
|
| Constructor and Description |
|---|
NewNetworkAdapterAction(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 NewNetworkAdapterAction(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