Home » Modeling » OCL » where is the ocl editor?
where is the ocl editor? [message #63821] |
Thu, 30 October 2008 10:30  |
Eclipse User |
|
|
|
I saw this:
http://wiki.eclipse.org/MDT-OCLTools
it says its part of MDT now. Where is this editor ? I need it !
I can't find it! if I create an .ocl file it does not recognize it, and I
have all MDT installed. OCL for me is just a worthless API ! where are the
views that this article describe ?
Why is so hard to configure the eclipse. I really miss the old interface
where I could enable/disable plugins and see what is working. Now you just
never know what is going on...
Thanks (in panic)
|
|
| | |
Re: where is the ocl editor? [message #63888 is a reply to message #63866] |
Thu, 30 October 2008 11:33   |
Eclipse User |
|
|
|
Originally posted by: cdamus.zeligsoft.com
Hi, Alexandre,
As Mark indicated, the MDT OCLTools component was recently (just this
month) terminated acording to Eclipse Foundation's Termination Review
process. One of the problems with this process is that it is difficult
for users who are not paying close attention to Eclipse to find out
about these reviews.
However, in this case, the actual commissioning of the OCLTools
component never got very far, anyway. The initial code contribution did
not happen; there is no OCLTools code. The only manifestation of this
component is what you saw in the Wiki page, which is research work
hosted at TU-Hamburg.
FYI, the Papyrus project has plans (not sure how well defined) to
provide OCL text editor support. Much of this infrastructure is already
available in the M2M QVT-Relational project here at Eclipse, as part of
the QVT text editors (as the QVT languages are an extension of OCL).
This may help you in the short term.
For developing and testing OCL expressions on your model, the MDT OCL
component provides an Interactive OCL Console example. Details of how
to use it are in the OCL SDK on-line documentation. It is integrated
with both the Ecore and the UML tree editors, as well as graphical
editors such as those provided by EcoreTools and UML2Tools.
HTH,
Christian
Alexandre Torres wrote:
> Hi Mark
>
> Thanks, I got confused becouse creating a profile involves 4 different
> newsgroups (uml2, uml2tools,ocl,emf) and each one seems to not
> understand the other :)
> So, no editor of any kind for OCL exist on current eclipse? just API
> stuff...or the unfriendly ecore tree editor. It's not me that can't
> install it :)
>
> just to my own understanding...
>
> Thanks
>
|
|
|
Re: where is the ocl editor? [message #63931 is a reply to message #63888] |
Thu, 30 October 2008 16:11   |
Eclipse User |
|
|
|
Hi Christian.
I'm using Papyrus for some time, and yes, it has an OCL editor, that saves
the ocl constraints in the model. But, for some odd reason, the papyrus
model validates well under Papyrus, but not outside. I think Papyrus has
a built in ocl validator that works with uml spec. If I copy the same
model back to eclipse mdt+uml2+ocl and hit validate, it always return
true, no matter if it's wrong. But the information I got from uml2 folks
is that this validation should work. There is a presentation showing a
similiar case, but with simple classes:
http://www.eclipse.org/modeling/mdt/uml2/docs/presentations/ EclipseCon2008_LongTalk_NewFeaturesOfUML2_files/frame.htm
I was affraid that papyrus were not following the pattern for constraint,
but it seems that it's eclipse itself that does not validate at all :)
Or something is wrong with my distro...
I think I going to stay with papyrus after all :)
Thanks
|
|
|
Re: where is the ocl editor? [message #63954 is a reply to message #63931] |
Thu, 30 October 2008 16:58   |
Eclipse User |
|
|
|
Originally posted by: cdamus.zeligsoft.com
Hi, Alexandre,
If the Eclipse UML2 editor doesn't automatically include OCL
constraints, then perhaps this is because nobody who needed it to
stepped up with the time and effort to implement this capability.
I'm sure that the UML2 team will be happy to entertain any contribution
that you can make in this area!
Cheers,
Christian
Alexandre Torres wrote:
> Hi Christian.
>
> I'm using Papyrus for some time, and yes, it has an OCL editor, that
> saves the ocl constraints in the model. But, for some odd reason, the
> papyrus model validates well under Papyrus, but not outside. I think
> Papyrus has a built in ocl validator that works with uml spec. If I copy
> the same model back to eclipse mdt+uml2+ocl and hit validate, it always
> return true, no matter if it's wrong. But the information I got from
> uml2 folks is that this validation should work. There is a presentation
> showing a similiar case, but with simple classes:
>
> http://www.eclipse.org/modeling/mdt/uml2/docs/presentations/ EclipseCon2008_LongTalk_NewFeaturesOfUML2_files/frame.htm
>
>
> I was affraid that papyrus were not following the pattern for
> constraint, but it seems that it's eclipse itself that does not validate
> at all :) Or something is wrong with my distro...
> I think I going to stay with papyrus after all :)
>
> Thanks
>
>
>
|
|
| | |
Goto Forum:
Current Time: Sat May 03 12:24:59 EDT 2025
Powered by FUDForum. Page generated in 0.03619 seconds
|