Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » where is the ocl editor?
where is the ocl editor? [message #63821] Thu, 30 October 2008 10:30 Go to next message
Alexandre Torres is currently offline Alexandre Torres
Messages: 139
Registered: July 2009
Senior Member
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 #63843 is a reply to message #63821] Thu, 30 October 2008 10:58 Go to previous messageGo to next message
Mark Melia is currently offline Mark Melia
Messages: 142
Registered: July 2009
Senior Member
Hi,

This post might help (or provide more confusion):

http://dev.eclipse.org/newslists/news.eclipse.modeling.mdt/m sg00137.html

I do remember a post regarding OCL Tools project being discontinued due to
lack of interest - if I find it I will post it.

Perhaps one of the developers on the project can provide more of an
insight.

Mark
Re: where is the ocl editor? [message #63866 is a reply to message #63843] Thu, 30 October 2008 11:06 Go to previous messageGo to next message
Alexandre Torres is currently offline Alexandre Torres
Messages: 139
Registered: July 2009
Senior Member
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 #63888 is a reply to message #63866] Thu, 30 October 2008 11:33 Go to previous messageGo to next message
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 Go to previous messageGo to next message
Alexandre Torres is currently offline Alexandre Torres
Messages: 139
Registered: July 2009
Senior Member
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 Go to previous messageGo to next message
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
>
>
>
Re: where is the ocl editor? [message #63976 is a reply to message #63821] Fri, 31 October 2008 05:38 Go to previous messageGo to next message
Miguel Garcia is currently offline Miguel Garcia
Messages: 77
Registered: July 2009
Member
Alexandre,

The latest OCL workshop at the MoDELs conference included a Tools track,
http://www.fots.ua.ac.be/events/ocl2008/?page=Program

Among the tools demoed there are at least two Eclipse-based MDT-OCL-based
editors,
(1) http://squam.info/ocleditor/
(2) http://www.roclet.org/

As far as I understand, (1) is what you're looking for. I'm not associated
with that team, so I cannot say any specifics about that tool.

regards,

Miguel
http://www.sts.tu-harburg.de/~mi.garcia/
Re: where is the ocl editor? [message #63999 is a reply to message #63843] Fri, 31 October 2008 05:42 Go to previous message
Miguel Garcia is currently offline Miguel Garcia
Messages: 77
Registered: July 2009
Member
Mark,
Alexandre,

Another (more recent) post on the status of OCLTools (before termination)
is:
http://dev.eclipse.org/newslists/news.eclipse.modeling.mdt/m sg00200.html
(I know about that one because I posted it :)

Miguel
http://www.sts.tu-harburg.de/~mi.garcia/


"Mark Melia" <mark.melia@gmail.com> schrieb im Newsbeitrag
news:e316d5cb02761056ebd486c2624fc885$1@www.eclipse.org...
> Hi,
>
> This post might help (or provide more confusion):
>
> http://dev.eclipse.org/newslists/news.eclipse.modeling.mdt/m sg00137.html
>
> I do remember a post regarding OCL Tools project being discontinued due to
> lack of interest - if I find it I will post it.
>
> Perhaps one of the developers on the project can provide more of an
> insight.
>
> Mark
>
Previous Topic:java.util.ConcurrentModificationException
Next Topic:[Announce] MDT OCL 1.2.3 M200811021306 is available
Goto Forum:
  


Current Time: Wed Jul 23 16:12:14 EDT 2014

Powered by FUDForum. Page generated in 0.02301 seconds