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: )
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)

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

Current Time: Tue Mar 02 15:12:08 GMT 2021

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

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

Back to the top