public Component createEditComponent(ValueProperty valueProperty){
  Component component;
switch (type) {
case DATATYPE:
    component=createDatatypeField(Datatypes.getNN(javaClass),valueProperty);
  break;
case ENTITY:
component=createEntityLookup(valueProperty);
break;
case UNARY:
component=createUnaryField(valueProperty);
break;
case ENUM:
component=createEnumLookup(valueProperty);
break;
case RUNTIME_ENUM:
component=createRuntimeEnumLookup(valueProperty);
break;
default :
throw new UnsupportedOperationException("Unsupported param type: " + type);
}
this.editComponent=component;
return component;
}

public Component createEditComponent ( ValueProperty valueProperty ) { Component component ; switch ( type ) { case DATATYPE : component = createDatatypeField ( Datatypes . getNN ( javaClass ) , valueProperty ) ; break ; case ENTITY : component = createEntityLookup ( valueProperty ) ; break ; case UNARY : component = createUnaryField ( valueProperty ) ; break ; case ENUM : component = createEnumLookup ( valueProperty ) ; break ; case RUNTIME_ENUM : component = createRuntimeEnumLookup ( valueProperty ) ; break ; default : throw new UnsupportedOperationException ( "Unsupported param type: " + type ) ; } this . editComponent = component ; return component ; }
creates an gui component for condition parameter .
