简体   繁体   中英

Eclipse plugin developement : Schematic Editor

I need to develop an Eclipse plug-in as a schematic editor in Eclipse. So some questions concerning this.

  1. Is it possible to draw geometrical objects (rectangle/line/triangle/etc) using Eclipse native API ? If not please suggest alternative methods of doing it.

  2. Are there C++ APIs for doing this, preferably native Eclipse ?

Regards, Levon

  1. No, unless you consider adding the plugin GEF as native Eclipse.
    "The Graphical Editing Framework (GEF) provides technology to create rich graphical editors and views for the Eclipse Workbench UI."
  2. Eclipse being developed mainly in Java, I doubt there is C++ APIs for this.

替代文字

I would evaluate EMF + GMF + GEF combination as they can be used to generate the diagram for your domain model. Check the tutorial .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM