Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » [xtext 2] forms-integration.
[xtext 2] forms-integration. [message #667716] Sun, 01 May 2011 15:59 Go to next message
Christophe Bouhier is currently offline Christophe BouhierFriend
Messages: 937
Registered: July 2009
Senior Member
Hi there,

In case anyone is interrested, I migrated the code here:

http://code.google.com/a/eclipselabs.org/p/xtext-forms-integ ration/

.... to xtext 2.0.

There where only a couple of xtext API changes, using the 2.0 example
for Domain and Arithmetics.

I have this in a .zip file.
rgds Christophe
Re: [xtext 2] forms-integration. [message #667753 is a reply to message #667716] Mon, 02 May 2011 04:54 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7658
Registered: July 2009
Senior Member
Hi Christophe

I too migrated a few of the XTFO files to 2.0 and use them for the Xtext
OCL Console that forms part of the Indigo Examples and Editors add-on
for OCL. XTFO was very useful in showing me how to use Xtext in a viewer
rather than editor. The Xtext OCL Console source may be found in the
Modeling CVS at

org.eclipse.mdt/org.eclipse.ocl/examples/org.eclipse.ocl.exa mples.xtext.console

There were quite a few peripheral functionalities such as highlighting
and folding strategies that I didn't understand and didn't really care
about for a small console window. I'm hoping that the core
EmbeddedXtextEditor class will be available as part of Xtext itself soon.

[For those concerned about Eclipse IP, CQ 4866 is available to piggy
back from.]

Regards

Ed Willink

On 01/05/2011 16:59, Christophe Bouhier wrote:
> Hi there,
>
> In case anyone is interrested, I migrated the code here:
>
> http://code.google.com/a/eclipselabs.org/p/xtext-forms-integ ration/
>
> ... to xtext 2.0.
>
> There where only a couple of xtext API changes, using the 2.0 example
> for Domain and Arithmetics.
>
> I have this in a .zip file.
> rgds Christophe
Re: [xtext 2] forms-integration. [message #667797 is a reply to message #667753] Mon, 02 May 2011 09:29 Go to previous messageGo to next message
Christophe Bouhier is currently offline Christophe BouhierFriend
Messages: 937
Registered: July 2009
Senior Member
Hi Ed,

Thanks for the pointer on OCL.

Yes, it would be nice to have xtfo this as part of xtext, Although I
think it could have a place as part of the EEF framework. I can imagine,
the generation of an xtext widget in EEF would make a lot of sense :)
(It's funny how much plumbing and injection is needed now, for a little
square of 100 by 300 pixels :-)

Cheers Christophe



On 02-05-11 06:54, Ed Willink wrote:
> Hi Christophe
>
> I too migrated a few of the XTFO files to 2.0 and use them for the Xtext
> OCL Console that forms part of the Indigo Examples and Editors add-on
> for OCL. XTFO was very useful in showing me how to use Xtext in a viewer
> rather than editor. The Xtext OCL Console source may be found in the
> Modeling CVS at
>
> org.eclipse.mdt/org.eclipse.ocl/examples/org.eclipse.ocl.exa mples.xtext.console
>
>
> There were quite a few peripheral functionalities such as highlighting
> and folding strategies that I didn't understand and didn't really care
> about for a small console window. I'm hoping that the core
> EmbeddedXtextEditor class will be available as part of Xtext itself soon.
>
> [For those concerned about Eclipse IP, CQ 4866 is available to piggy
> back from.]
>
> Regards
>
> Ed Willink
>
> On 01/05/2011 16:59, Christophe Bouhier wrote:
>> Hi there,
>>
>> In case anyone is interrested, I migrated the code here:
>>
>> http://code.google.com/a/eclipselabs.org/p/xtext-forms-integ ration/
>>
>> ... to xtext 2.0.
>>
>> There where only a couple of xtext API changes, using the 2.0 example
>> for Domain and Arithmetics.
>>
>> I have this in a .zip file.
>> rgds Christophe
>
Re: [xtext 2] forms-integration. [message #668438 is a reply to message #667797] Thu, 05 May 2011 16:36 Go to previous messageGo to next message
Oscar Rodriguez is currently offline Oscar RodriguezFriend
Messages: 5
Registered: May 2011
Junior Member
Hello,

I am tryring to run the project and always got the following exception:

!SESSION 2011-05-05 11:05:20.596 -----------------------------------------------
eclipse.buildId=M20110210-1200
java.version=1.6.0_15
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.sdk.ide
Command-line arguments: -product org.eclipse.sdk.ide -data D:\Profiles\B04611\workspace/../runtime -dev file:D:/Profiles/B04611/workspace/.metadata/.plugins/org.ecl ipse.pde.core/Demo RCP App (in IDE)/dev.properties -os win32 -ws win32 -arch x86 -consoleLog

!ENTRY org.eclipse.osgi 4 0 2011-05-05 11:05:22.034
!MESSAGE An error occurred while automatically activating bundle org.eclipse.ui.workbench (74).
!STACK 0
org.osgi.framework.BundleException: The activator org.eclipse.ui.internal.WorkbenchPlugin for bundle org.eclipse.ui.workbench is invalid
at org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:156)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:751)
....

I tried adding
Bundle-Activator: org.eclipselabs.xtfo.demo.rcp.Activator
to MANIFEST.MF and did not work for me. I am using :

Eclipse SDK
Version: 3.6.2
Build id: M20110210-1200

/Oscar
Re: [xtext 2] forms-integration. [message #703221 is a reply to message #668438] Wed, 27 July 2011 10:12 Go to previous messageGo to next message
adrian  is currently offline adrian Friend
Messages: 93
Registered: August 2009
Member
Hello,

Could you please send me the source of the migrated code.

thanks in advance
Re: [xtext 2] forms-integration. [message #725435 is a reply to message #667716] Wed, 14 September 2011 18:48 Go to previous messageGo to next message
saravanan Arumugam is currently offline saravanan ArumugamFriend
Messages: 7
Registered: September 2011
Junior Member
can you send the migrated zip to saravanan77@gmail.com
Re: [xtext 2] forms-integration. [message #725436 is a reply to message #725435] Wed, 14 September 2011 18:53 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14677
Registered: July 2009
Senior Member
Hi

what about downloading them yourself: http://git.eclipse.org/c/mdt/org.eclipse.ocl.git/tree/examples/org.eclipse.ocl.examples.xtext.console/src/org/eclipse/ocl/examples/xtext/console/xtfo

~Christian


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: [xtext 2] forms-integration. [message #1080804 is a reply to message #667716] Tue, 06 August 2013 11:46 Go to previous message
Priya Sabut is currently offline Priya SabutFriend
Messages: 41
Registered: September 2012
Member
Hi,
Can anyone please send the code as a zip file ? I tried both the followings and they failed with 'could not able to connect'

svn checkout http://svn.codespot.com/a/eclipselabs.org/xtext-forms-integration/trunk/ xtext-forms-integration-read-only

git clone https://code.google.com/a/eclipselabs.org/p/code-recommenders.codesearch-tobias/
Previous Topic:Custom generator in MWE2 workflow with GrammarAccess
Next Topic:Another scoping Problem
Goto Forum:
  


Current Time: Mon May 13 21:27:06 GMT 2024

Powered by FUDForum. Page generated in 0.03323 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top