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 19:37
junior developer is currently offline junior developer
Messages: 335
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: Thu Jul 31 17:56:14 EDT 2014

Powered by FUDForum. Page generated in 0.01485 seconds