Customizing ocl environnement [message #32332] |
Sat, 07 July 2007 21:46 |
Eclipse User |
|
|
|
Originally posted by: asma.charfi.com
Hi,
Can we add more than one operation to ower OCL environnement .
if yes, how can we use Calloperation method twice?
asma
|
|
|
Re: Customizing ocl environnement [message #32505 is a reply to message #32332] |
Mon, 09 July 2007 15:16 |
Eclipse User |
|
|
|
Originally posted by: cdamus.ca.ibm.com
Hi, Asma,
You can add as many operations as you need.
I don't understand what you mean by using Calloperation twice. If you are
implementing your additional operations in Java, then you simply have to
make sure that your implementation of
EvaluationEnvironment::callOperation(...) understands all of your
additional operations. How you accomplish that is entirely up to you, but
probably some modular design that does not use a big if...elseif...
structure in the callOperation(...) method would be appropriate.
Cheers,
Christian
charfi asma wrote:
> Hi,
> Can we add more than one operation to ower OCL environnement .
> if yes, how can we use Calloperation method twice?
> asma
|
|
|
Powered by
FUDForum. Page generated in 0.03107 seconds