Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Create nodes programmatically
Create nodes programmatically [message #719603] Sun, 28 August 2011 04:15
pavithra Missing name is currently offline pavithra Missing nameFriend
Messages: 12
Registered: May 2011
Junior Member
Hi all,

I'm developing an editor to design user Interfaces based on eclipse GMF.

Up to now I have developed an editor with a palette. The user can drag and drop UI elements from pallet and design the UI on canvas. I need to implement the facility to group these UI elements.

EX: User first design the UI by dragging and dropping elements to the canvas.Then he select a set of UI elements (say a label and text box) and press "group" button. It will automatically put the elements within a dashed line rectangle.

I'm planning to develop a plugin that can get info about selected ui elements, delete them, create a group element (dashed line rectangular) in canvas and insert deleted elements to it.

But i don't know where to start.

So, I want to know how to create/delete nodes programmatically in GMF.

If you know the relevant codes, please share them and please point me to some useful resources.

Any help is highly appreciated as our project deadline is coming near.
Previous Topic:Child Reference of a node
Next Topic:(no subject)
Goto Forum:
  


Current Time: Thu Feb 25 20:03:53 GMT 2021

Powered by FUDForum. Page generated in 0.01845 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top