Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Drag and drop from palette issue
Drag and drop from palette issue [message #689337] Mon, 27 June 2011 13:25
Lior Missing name is currently offline Lior Missing nameFriend
Messages: 18
Registered: February 2011
Junior Member
Hi everyone,
I recently enabled our users to add elements from the palette using drag and drop
(By implementing what was suggested in the wiki:
http://wiki.eclipse.org/GMF_Newsgroup_Q_and_A#How_to_enable_drag-n-drop_from_the_palette.3F )
When adding an element in the 'ordinary way' (via pointing and clicking) a label editor gets open for users to edit one of the labels. ( a small text box at the exact location of the label... )
When adding elements via drag and drop, this editor doesn't get open for some reason.

I tracked the problem down to a call to a method called 'performDirectEdit()' in the label's editpart.
Problem is, couldn't find a way to explicitly call it when I inspected the code that is being run when dragging and droping elements.

Does anyone have any idea how to invoke this label edior upon element creation (both with drag and drop and the usual way)

Thanks!
Previous Topic:Changing the title of the property view in a gmf diagram
Next Topic:Implementing views
Goto Forum:
  


Current Time: Wed Apr 24 17:03:54 GMT 2024

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

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

Back to the top