-
Notifications
You must be signed in to change notification settings - Fork 4
IDEA Graphic Editing Framework
He, Jiehui edited this page Feb 20, 2025
·
1 revision
An Eclipse GEF like framework but used in IDEA plugin development. Overall structure is below.
- Editor, panel, context providers
- Model creation action
Common actions that:
- support dialog and input text
- Assign, open and removal of implementation class and method
- Generate Code
- Work with command
Common commands and utilities:
- Command chain
- Create, delete connection and reconnect
- Create, delete and move node
Figures, anchor and layouts:
- Connection
- Arrow
- Rectangle and Rounded rectangle
- Icon, text and label
- Chopbox and midpoint anchor
- Freeform, border and toolbar layout
Common graphic model:
- Diagram
- Node, composite node
- Node connection
The controller in the MVC, very similar to Eclipse GEF to minimize transport effort:
- Diagram part
- Node, composite node part
- Connection part
Similar to parts
Layout policies for :
- Node
- Node container
- Connection
Common connection route:
- Bend point
- Lighting
- Right angle
Common utilities for:
- Model properties
- Property to XML mapping
- Property descriptor
- Property editor
- Xml helper