There is no way that I know of to do this easily...

A couple of notes:

The parameter names should match the field names.
Otherwise, you will have problems if you use the actor
in actor-oriented classes. If you want the user to see
a different name, I suggest:

enableOperation = new Parameter(this, "enableOperation");
enableOperation.setDisplayName("enableCatalogUpdate");

Edward


On 11/30/12 1:42 AM, SIGNORET Jacqueline 139795 wrote:
Dear All,

I am a beginner trying to develop an actor. I apologize for asking a
silly question.

I need two parameter : the first is a Boolean and the second one a String :

public Parameter enableOperation;

public StringParameter method;

enableOperation = new Parameter(this, "enableCatalogUpdate");

enableOperation.setTypeEquals(BaseType.BOOLEAN);

enableOperation.setExpression("false");

method = new StringParameter(this, "populationRequest");

method.setTypeEquals(BaseType.STRING);

method.setExpression("create");

method.addChoice("create");

method.addChoice("update");

I should like that the second parameter be available only when the user
checks the first one. Is it possible to do that easily?

Many thanks for any help.

Jacqueline



_______________________________________________
Kepler-users mailing list
[email protected]
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users

<<attachment: eal.vcf>>

_______________________________________________
Kepler-users mailing list
[email protected]
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users

Reply via email to