[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.modeling.mdt.uml2.ocl] Re: OCL Recursive Functions
|
Hi, Chris,
This bug is still open, but it hasn't been forgotten :-)
The patch that you attached will be obsoleted by the J2SE 5.0 support and
UML support features, which are in progress and scheduled for completion in
this (M5) milestone. Also, to address
https://bugs.eclipse.org/bugs/show_bug.cgi?id=154371 and to better align
with the UML model of constraints, the means by which constraints are
defined is being considerably reworked.
If this patch is still working for you, then that's great. OCL 1.1 will
address this problem and others.
Cheers,
Christian
Chris Lenz wrote:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=152018
>
> The Bug is still open, maybe someone could look to the patch applied.
>
> It works now for serveral month very good for me.
>
> Is it possible to undefine Operations.
>
> try{
> feature = TypeUtil.defineOperation(
> contextEnv.getContextClassifier(),
> unquote(operCS.getSimpleNameCS().getValue()),
> params, type);
> expression = oclExpressionCS(defExpr.getExpressionCS(), contextEnv);
> }catch (SemanticException e) {
> //undefine the operation
> throw e;
> }
>
>
<snip>