Pete
I want an expressionhandle with set expression to
MyEnumClass.allInstance , I'll get MyEnumClass's list values;
My problem is how to implement the MyEnumClass, if I can set
ExpressionHandle's expression to MyEnum.allinstances
> I have a class :
> public class myClass{
> ...
> public static ArrayList myList; //myList include all instance
> myClass
> }
>
> Put a expressHandle in a Form, I set expression to
> "myClass.allinstance"
>
> How can i get myList array
>
>
> Sorry,I have poor englis.
I am not sure what you are asking here.
One possibility is that you want have the equivalent of "AllInstaces"
from code rather than in OCL, another that you have a non-Eco class,
where you are maintaining a list of all instances, and what it to be
usable from OCL.
--
Jan Nordén
Architect, ECO Team