Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » Customizing Pivot Environment
Customizing Pivot Environment [message #1044105] Thu, 18 April 2013 09:48 Go to next message
ModelGeek Mising name is currently offline ModelGeek Mising name
Messages: 458
Registered: June 2011
Senior Member
Hi,

There is an example in OCL documentation for Ecore Environment customization.
http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.ocl.doc%2Fhelp%2FCustomizingtheEnvironment.html&cp=49_5_5

Is there any example/help/tutorial for customizing Pivot Environment?

Regards,
Re: Customizing Pivot Environment [message #1044119 is a reply to message #1044105] Thu, 18 April 2013 10:12 Go to previous messageGo to next message
Ed Willink is currently offline Ed Willink
Messages: 3840
Registered: July 2009
Senior Member
Hi

No. Though many of the old code principles are carried across.

But the pivot also learns many lessons from the old code so that many
things are right and do not need customisation.

Regards

Ed Willink



On 18/04/2013 14:48, ModelGeek Mising name wrote:
> Hi,
>
> There is an example in OCL documentation for Ecore Environment
> customization.
> http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.ocl.doc%2Fhelp%2FCustomizingtheEnvironment.html&cp=49_5_5
>
>
> Is there any example/help/tutorial for customizing Pivot Environment?
>
> Regards,
>
Re: Customizing Pivot Environment [message #1044133 is a reply to message #1044119] Thu, 18 April 2013 10:29 Go to previous messageGo to next message
ModelGeek Mising name is currently offline ModelGeek Mising name
Messages: 458
Registered: June 2011
Senior Member
So you mean Pivot Environment should not be customized like in Ecore Environment.

So if we want to add regexMatch operation(regexMatch is examlple operation added in Ecore Environment customization example in documentation) then we should extend/alter/update org.eclipse.ocl.examples.library/model/OCL.oclstdlib and org.eclipse.ocl.examples.pivot.model.OCLstdlib.java ?

Regards,

Re: Customizing Pivot Environment [message #1044146 is a reply to message #1044133] Thu, 18 April 2013 10:44 Go to previous messageGo to next message
Ed Willink is currently offline Ed Willink
Messages: 3840
Registered: July 2009
Senior Member
Hi

Yes, but regex is already there.

Regards

Ed Willink

On 18/04/2013 15:29, ModelGeek Mising name wrote:
> So you mean Pivot Environment should not be customized like in Ecore
> Environment.
>
> So if we want to add regexMatch operation(regexMatch is examlple
> operation added in Ecore Environment customization example in
> documentation) then we should extend/alter/update
> org.eclipse.ocl.examples.library/model/OCL.oclstdlib and
> org.eclipse.ocl.examples.pivot.model.OCLstdlib.java ?
>
> Regards,
>
>
Re: Customizing Pivot Environment [message #1044856 is a reply to message #1044146] Fri, 19 April 2013 08:24 Go to previous messageGo to next message
ModelGeek Mising name is currently offline ModelGeek Mising name
Messages: 458
Registered: June 2011
Senior Member
thanks!

In Pivot documentation http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.ocl.doc%2Fhelp%2FPivotStandalone.html&cp=49_6_2

under section of OCL Standard Library, compilation with mwe2 is mentioned. Is mwe2 script for current implementation is available at GIT repository so i can upgrade that for new operations(the ones i am going to add in library)?

Regards,
Re: Customizing Pivot Environment [message #1044864 is a reply to message #1044856] Fri, 19 April 2013 08:36 Go to previous message
Ed Willink is currently offline Ed Willink
Messages: 3840
Registered: July 2009
Senior Member
HI

Yes they're all in the build plugin.

Regards

Ed


On 19/04/2013 13:24, ModelGeek Mising name wrote:
> thanks!
> In Pivot documentation
> http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.ocl.doc%2Fhelp%2FPivotStandalone.html&cp=49_6_2
>
> under section of OCL Standard Library, compilation with mwe2 is
> mentioned. Is mwe2 script for current implementation is available at
> GIT repository so i can upgrade that for new operations(the ones i am
> going to add in library)?
>
> Regards,
>
Previous Topic:Error during "Computing additional info" while using ECore EOperations
Next Topic:OMG OCL specification Issue Tracking
Goto Forum:
  


Current Time: Wed Apr 16 21:00:44 EDT 2014

Powered by FUDForum. Page generated in 0.02401 seconds