不清楚你是要如何插件化,我看这里有一定量的关于plugin的介绍 不知道符不符合http://www.eclipse.org/Xtext/documentation.html Xtext and JavaThe following chapter demonstrates how to integrate your own DSL with Java. We will do this in four stages: First, you will learn how to refer to existing Java elements from within your language. Then you will use Xbase to refer to generic types. In the third step, you will map your own DSL's concepts to Java concepts. Last but not least, you will use both Java types and your concepts within Xbase expressions and execute it.Throughout this chapter, we will step by step improve the domain model example from the tutorial. Plug-in Setup
插件化或嵌入其他工程的问题还没有解决。
不知道符不符合http://www.eclipse.org/Xtext/documentation.html Xtext and JavaThe following chapter demonstrates how to integrate your own DSL with Java. We will do this in four stages: First, you will learn how to refer to existing Java elements from within your language. Then you will use Xbase to refer to generic types. In the third step, you will map your own DSL's concepts to Java concepts. Last but not least, you will use both Java types and your concepts within Xbase expressions and execute it.Throughout this chapter, we will step by step improve the domain model example from the tutorial.
Plug-in Setup