Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Content Assist Multiple pages
Content Assist Multiple pages [message #707884] Tue, 02 August 2011 07:21 Go to next message
Daniel Missing name is currently offline Daniel Missing nameFriend
Messages: 101
Registered: July 2011
Senior Member
Hi again.

Is there a possibility to add multiple content assist pages to my dsl editor?

In my array size declarations I only want to allow variables of type 'size' and therefore I want to filter out all non-size variables in the default content assist. But by pressing CTRL+Space another page should show up where also the variables of other types are shown.

Cheers
Daniel
Re: Content Assist Multiple pages [message #707988 is a reply to message #707884] Tue, 02 August 2011 09:53 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Daniel,

please digg into
org.eclipse.xtext.ui.editor.contentassist.RepeatedContentAssistProcessor
and RepeatedContentAssistProcessor.ModeAware
and their usages.

Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

On 02.08.11 09:21, Daniel wrote:
> Hi again.
> Is there a possibility to add multiple content assist pages to my dsl
> editor?
> In my array size declarations I only want to allow variables of type
> 'size' and therefore I want to filter out all non-size variables in the
> default content assist. But by pressing CTRL+Space another page should
> show up where also the variables of other types are shown.
> Cheers
> Daniel
Re: Content Assist Multiple pages [message #709667 is a reply to message #707988] Thu, 04 August 2011 06:52 Go to previous messageGo to next message
Daniel Missing name is currently offline Daniel Missing nameFriend
Messages: 101
Registered: July 2011
Senior Member
Thanks a lot. That works perfect.
Re: Content Assist Multiple pages [message #723396 is a reply to message #709667] Thu, 08 September 2011 13:18 Go to previous message
Jos Warmer is currently offline Jos WarmerFriend
Messages: 114
Registered: October 2010
Senior Member
Daniel,

I was forwarded by Christian to this forum thread. Do you have an example of creating multiple completion pages ? If you have it would help me (and others) to dig into this subject.

Jos
Previous Topic:Porting Xpand Code Generation Templates to Xtend 2
Next Topic:Xtend operation construction - IJvmModelInferrer
Goto Forum:
  


Current Time: Thu Apr 25 23:34:49 GMT 2024

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

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

Back to the top