Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » xText: access on Java packages, classes and methods out from the ProposalProvider(xText: access on Java packages, classes and methods out from the ProposalProvider)
xText: access on Java packages, classes and methods out from the ProposalProvider [message #1059234] Fri, 17 May 2013 12:40
thomas thomas is currently offline thomas thomasFriend
Messages: 1
Registered: May 2013
Junior Member
I developed a DSL which I use together with standard java code. In my DSL I can write things like this:

package:  packagename;
method: void testMethod (int, double);


What I want to do is that the user of the DSL gets the package names and method signatures suggested by the ProposalProvider which are really existing in my project.

Example:
When my project only consists of one package e.g. "TestPackage", the user of the DSL should only get the "TestPackage" as a suggestion.

How can I access my Java project packages, classes or methods out from the complete{TypeName}_{FeatureName} method of the ProposalProvider?



Previous Topic:Xtext 1.0.2
Next Topic:JvmTypesBuilder#inferredType Failure
Goto Forum:
  


Current Time: Sat Apr 27 00:39:40 GMT 2024

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

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

Back to the top