final mxCell vertex = this.createReader(reader, x++); mapPlugin2Graph.put(reader, vertex); mapPluginOutputPorts2Graph.put(reader, this.createOutputPorts(reader, vertex, true)); } else if (plugin instanceof MIFilter) { final MIFilter filter = (MIFilter) plugin; mapPlugin2Graph.put(filter, vertex); mapPluginInputPorts2Graph.put(filter, this.createInputPorts(filter, vertex)); mapPluginOutputPorts2Graph.put(filter, this.createOutputPorts(filter, vertex, false));
final mxCell vertex = this.createReader(reader, x++); mapPlugin2Graph.put(reader, vertex); mapPluginOutputPorts2Graph.put(reader, this.createOutputPorts(reader, vertex, true)); } else if (plugin instanceof MIFilter) { final MIFilter filter = (MIFilter) plugin; mapPlugin2Graph.put(filter, vertex); mapPluginInputPorts2Graph.put(filter, this.createInputPorts(filter, vertex)); mapPluginOutputPorts2Graph.put(filter, this.createOutputPorts(filter, vertex, false));