Drag and drop visual editor into Eclipse

In my current project, I write a high-level specification (as indicated below for reference) and parse it using grammar written in ANTLR and then using StringTempate to generate the equivalent Java programming code. Now my client discovers the difficulty of writing this high-level text specification and want me to provide equivalent visual constructs and an editor for drag and drop programming to specify these programming constructs. My question is: does eclipse drag and drop the desktop to develop visual software constructs and editors? CAN be easily integrated with ANTLR.

An example of the example or its link will be useful.

TemperatureSensor generate tempMeasurement : TempStruct; TempStruct tempValue : double; unitOfMeasurement: String; 
+8
java eclipse drag-and-drop antlr
source share
3 answers

You can take a look at Graphiti, it is much easier GMF and easier to configure. https://eclipse.org/graphiti/

In any case, to use existing tools in eclipse for model management, you absolutely need a metamodel for integration into EMF, so you can use Xtext for development based on your existing antlr grammar.

+2
source share

Take a look at the Eclipse Graphical Editing Framework (GEF) , a framework for creating graphical editors in an Eclipse-based product or plug-in. There are even some attempts to integrate GEF with XText , for example this one .

+1
source share

Yes, Eclipse has a Sirius project. https://www.eclipse.org/sirius/

+1
source share

All Articles