Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Wizard for mydsl(Is it posible to create a new MyDsl Wizard with Xtext 2.0?)
Wizard for mydsl [message #711782] Sat, 06 August 2011 16:36 Go to next message
Caner Friend
Messages: 98
Registered: July 2011
Member
Hi

I want to have a MyDsl Wizard which is just like eclipse New Class Wizard, is that possible to implement a wizard with Xtext 2.0 , to select some specific component to generate some sort of templates or other stuff?
Re: Wizard for mydsl [message #711791 is a reply to message #711782] Sat, 06 August 2011 16:59 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Hi,

that (wizards) is std. eclipse (jface) means, so why should Xtext offer sth, extra?
googling e.g for eclipse new file wizard might give some hints.

e.g. http://www.vogella.de/articles/EclipseWizards/article.html

if you are a bit more precise on that you exactly want to do i can give more hints.

~Christian


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de

[Updated on: Sat, 06 August 2011 17:26]

Report message to a moderator

Re: Wizard for mydsl [message #711867 is a reply to message #711791] Sat, 06 August 2011 19:04 Go to previous messageGo to next message
Caner Friend
Messages: 98
Registered: July 2011
Member
HI
Well, i have a wizard which has some radio bottoms which supposed to be linked with DSLProposalProvider class (just like on the new class wizard ,some main/constructor radio bottoms and the bottoms liked the new class wizard creation class ).

In my dsl file the content assist contents will be generated based on this wizard selection

Is it possible?
caner
Re: Wizard for mydsl [message #711876 is a reply to message #711867] Sat, 06 August 2011 19:15 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Hi,

everything is possible. but you have to do this yourself. e.g. using eclipse preference store.

~Christian


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:How can I determine when Resource loading is complete?
Next Topic: Xtext 2.0 plugin
Goto Forum:
  


Current Time: Thu Apr 25 11:58:41 GMT 2024

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

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

Back to the top