Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » using types from non-exported packages
using types from non-exported packages [message #1126353] Sat, 05 October 2013 08:57 Go to next message
Vlad Gheorghe is currently offline Vlad Gheorghe
Messages: 84
Registered: May 2011
Member

Using xtext 2.4.2.

Many packages fo the xtext plugins are not on the Export-package list.
For instance:
org.eclipse.xtext.ui
org.eclipse.xtext.ui.editor.embedded;x-friends:="org.eclipse.xtext.
ui.codetemplates.ui"

This makes them unusable from other bundles, due to osgi access restricitons.

Is this by intention ?

How should a client application use e.g. org.eclipse.xtext.ui.editor.embedded.EmbeddedEditor ?

Regards
Vlad Gheorghe
Re: using types from non-exported packages [message #1126386 is a reply to message #1126353] Sat, 05 October 2013 09:46 Go to previous message
Christian Dietrich is currently offline Christian Dietrich
Messages: 5245
Registered: July 2009
Senior Member
Hi I don't get your point. The code is exported by OSGi means but
restricted by eclipse api means (you can use it but not complain when
api changes)

--
Need training, onsite consulting or any other kind of help for Xtext?
Go visit http://xtext.itemis.com or send a mail to xtext at itemis dot de
Previous Topic:[Xtend] template expressions
Next Topic:Problem using the Xtext serializer
Goto Forum:
  


Current Time: Mon Oct 07 10:30:23 EDT 2013

Powered by FUDForum. Page generated in 0.01601 seconds