Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Fillter predicate
Fillter predicate [message #1062847] Tue, 11 June 2013 05:51 Go to next message
junior developer is currently offline junior developerFriend
Messages: 335
Registered: January 2013
Senior Member
Hi all ,

I load my little project and screenshot.My aim is :Lookup field's type and showfield.

screenshot:if the user select T,gets onlly A
if the user select T1 in the type,gets onlly B.

best regrads
Re: Fillter predicate [message #1063144 is a reply to message #1062847] Wed, 12 June 2013 13:10 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 10434
Registered: July 2009
Senior Member
class MyDsl6ScopeProvider extends org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider {

	def IScope scope_LookUp_showField(LookUp ctx, EReference ref) {
Previous Topic:ImportURI for external files
Next Topic:How to access EMF objects into a transaction
Goto Forum:

Current Time: Sun Apr 30 20:52:21 GMT 2017

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

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