if (context.getNewObject() instanceof Director) {
return new DirectorAddFeature(this);
} else if (context.getNewObject() instanceof Actor) {
return new ActorAddFeature(this);
} else if (context.getNewObject() instanceof Relation) {
<BUG>return new ConnectionAddFeature(this);
} else if (context.getNewObject() instanceof Port) {</BUG>
return new PortAddFeature(this);
} else if (context.getNewObject() instanceof Parameter) {
return new ParameterAddFeature(this);

if (context.getNewObject() instanceof Director) {
return new DirectorAddFeature(this);
} else if (context.getNewObject() instanceof Actor) {
return new ActorAddFeature(this);
} else if (context.getNewObject() instanceof Relation) {
return new ConnectionAddFeature(this);
} else if (context.getNewObject() instanceof Vertex) {
return new VertexAddFeature(this);
} else if (context.getNewObject() instanceof Port) {
return new PortAddFeature(this);
} else if (context.getNewObject() instanceof Parameter) {
return new ParameterAddFeature(this);
