Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » bind scoping class
bind scoping class [message #1063926] Sat, 15 June 2013 23:37
junior developer is currently offline junior developerFriend
Messages: 354
Registered: January 2013
Senior Member
Hi all ,

I use Xtext 4.2.1.

all class are Xtend.but I create a
class MyScoping extends AbstractDeclarativeScopeProvider{}

and bind it in the runtimemodule : @Override
public Class<? extends IScopeProvider> bindIScopeProvider() {
return MyScoping.class;

I wrote java code in here and I wrote xtend code in the automatically gerenerated
class MyDsl2ScopeProvider extends org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider {}

I wrote code for different scop but these two class not work together.

must I use one Sad ?

I want to use this two class is it possible?

best regards
Previous Topic:How to set cursor position in XtextEditor
Next Topic:Accessing enum literals in Generator
Goto Forum:
  


Current Time: Fri Apr 19 07:27:56 GMT 2024

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

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

Back to the top