Skip to main content



      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 09:25
Eclipse UserFriend
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: Sat Jul 12 01:21:26 EDT 2025

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

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

Back to the top