Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Drag n Drop to Editor
Drag n Drop to Editor [message #206577] Tue, 23 September 2008 12:19 Go to next message
Eclipse UserFriend
Originally posted by: manojm.blr.interrasystems.com

Hi!

This is regarding GMF drag-n-drop, I am looking for some suggestion.
In my workbench, I have one treeviewer & one GMF editor.

I want to implement DnD feature from treeviewer to editor,
could anyone please suggest me - how to do this?

Regards,
Manoj
Re: Drag n Drop to Editor [message #206594 is a reply to message #206577] Tue, 23 September 2008 12:34 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Manoj,

GMF is able to generate disgram/domain model navigator (providers for existing
Project Explorer) with D&D supported:
http://wiki.eclipse.org/GMF_2.0_New_and_Noteworthy#Diagram_C ontent_Navigator
http://wiki.eclipse.org/GMF_2.0_New_and_Noteworthy#Domain_Mo del_Content_Navigator

-----------------
Alex Shatalin
Re: Drag n Drop to Editor [message #206674 is a reply to message #206594] Wed, 24 September 2008 04:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: manojm.blr.interrasystems.com

Hi! Alex,

Thanks for your suggestion.
But here my problem is not with existing project explorer,
I have my own treeviewer(not the same model with editor) and I want to
implement DnD from that treeviewer to editor.

Hope you will provide some suggestion.

Regards,
Manoj

Alex Shatalin wrote:
> Hello Manoj,
>
> GMF is able to generate disgram/domain model navigator (providers for
> existing Project Explorer) with D&D supported:
> http://wiki.eclipse.org/GMF_2.0_New_and_Noteworthy#Diagram_C ontent_Navigator
>
> http://wiki.eclipse.org/GMF_2.0_New_and_Noteworthy#Domain_Mo del_Content_Navigator
>
>
> -----------------
> Alex Shatalin
>
>
Re: Drag n Drop to Editor [message #206783 is a reply to message #206674] Wed, 24 September 2008 11:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: manojm.blr.interrasystems.com

Hi! All,

I am still stuck on this.
Could you please provide some idea?

Regards,
Manoj

Manoj Mitra wrote:
> Hi! Alex,
>
> Thanks for your suggestion.
> But here my problem is not with existing project explorer,
> I have my own treeviewer(not the same model with editor) and I want to
> implement DnD from that treeviewer to editor.
>
> Hope you will provide some suggestion.
>
> Regards,
> Manoj
>
> Alex Shatalin wrote:
>
>> Hello Manoj,
>>
>> GMF is able to generate disgram/domain model navigator (providers for
>> existing Project Explorer) with D&D supported:
>> http://wiki.eclipse.org/GMF_2.0_New_and_Noteworthy#Diagram_C ontent_Navigator
>>
>> http://wiki.eclipse.org/GMF_2.0_New_and_Noteworthy#Domain_Mo del_Content_Navigator
>>
>>
>> -----------------
>> Alex Shatalin
>>
>>
Re: Drag n Drop to Editor [message #207063 is a reply to message #206783] Thu, 25 September 2008 13:35 Go to previous messageGo to next message
Sebastian Neudert is currently offline Sebastian NeudertFriend
Messages: 1
Registered: July 2009
Junior Member
Hi,

i have a similiar question. i'd like to drag something from a view to a
diagram node, and set a attribute on model then.

should i register a custom DragDropListener in <ABC>DiagramEditor? What
about DragDropEditPolicy? How it works together?

regards,

sebastian


"Manoj Mitra" <manojm@blr.interrasystems.com> schrieb im Newsbeitrag
news:gbda0g$fnt$1@build.eclipse.org...
> Hi! All,
>
> I am still stuck on this.
> Could you please provide some idea?
>
> Regards,
> Manoj
>
> Manoj Mitra wrote:
>> Hi! Alex,
>>
>> Thanks for your suggestion.
>> But here my problem is not with existing project explorer,
>> I have my own treeviewer(not the same model with editor) and I want to
>> implement DnD from that treeviewer to editor.
>>
>> Hope you will provide some suggestion.
>>
>> Regards,
>> Manoj
>>
>> Alex Shatalin wrote:
>>
>>> Hello Manoj,
>>>
>>> GMF is able to generate disgram/domain model navigator (providers for
>>> existing Project Explorer) with D&D supported:
>>> http://wiki.eclipse.org/GMF_2.0_New_and_Noteworthy#Diagram_C ontent_Navigator
>>> http://wiki.eclipse.org/GMF_2.0_New_and_Noteworthy#Domain_Mo del_Content_Navigator
>>>
>>> -----------------
>>> Alex Shatalin
>>>
>>>
Re: Drag n Drop to Editor [message #207099 is a reply to message #207063] Thu, 25 September 2008 15:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: atoulme.intalio.com

Guys, please take a look at the STP BPMN editor. We did the
implementation of Drag and drop in an extensible way, so of course it is
a bit heavy weight but I believe it should cover pretty much any case.

Thanks,

Antoine

Sebastian Neudert wrote:
> Hi,
>
> i have a similiar question. i'd like to drag something from a view to a
> diagram node, and set a attribute on model then.
>
> should i register a custom DragDropListener in<ABC>DiagramEditor? What
> about DragDropEditPolicy? How it works together?
>
> regards,
>
> sebastian
>
>
> "Manoj Mitra"<manojm@blr.interrasystems.com> schrieb im Newsbeitrag
> news:gbda0g$fnt$1@build.eclipse.org...
>> Hi! All,
>>
>> I am still stuck on this.
>> Could you please provide some idea?
>>
>> Regards,
>> Manoj
>>
>> Manoj Mitra wrote:
>>> Hi! Alex,
>>>
>>> Thanks for your suggestion.
>>> But here my problem is not with existing project explorer,
>>> I have my own treeviewer(not the same model with editor) and I want to
>>> implement DnD from that treeviewer to editor.
>>>
>>> Hope you will provide some suggestion.
>>>
>>> Regards,
>>> Manoj
>>>
>>> Alex Shatalin wrote:
>>>
>>>> Hello Manoj,
>>>>
>>>> GMF is able to generate disgram/domain model navigator (providers for
>>>> existing Project Explorer) with D&D supported:
>>>> http://wiki.eclipse.org/GMF_2.0_New_and_Noteworthy#Diagram_C ontent_Navigator
>>>> http://wiki.eclipse.org/GMF_2.0_New_and_Noteworthy#Domain_Mo del_Content_Navigator
>>>>
>>>> -----------------
>>>> Alex Shatalin
>>>>
>>>>
>
>
Re: Drag n Drop to Editor [message #207124 is a reply to message #207099] Fri, 26 September 2008 04:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: manojm.blr.interrasystems.com

Hi!

How will we get that?
Please specify the URL.

Regards,
Manoj

Antoine Toulme wrote:
> Guys, please take a look at the STP BPMN editor. We did the
> implementation of Drag and drop in an extensible way, so of course it is
> a bit heavy weight but I believe it should cover pretty much any case.
>
> Thanks,
>
> Antoine
>
> Sebastian Neudert wrote:
>
>> Hi,
>>
>> i have a similiar question. i'd like to drag something from a view to a
>> diagram node, and set a attribute on model then.
>>
>> should i register a custom DragDropListener in<ABC>DiagramEditor? What
>> about DragDropEditPolicy? How it works together?
>>
>> regards,
>>
>> sebastian
>>
>>
>> "Manoj Mitra"<manojm@blr.interrasystems.com> schrieb im Newsbeitrag
>> news:gbda0g$fnt$1@build.eclipse.org...
>>
>>> Hi! All,
>>>
>>> I am still stuck on this.
>>> Could you please provide some idea?
>>>
>>> Regards,
>>> Manoj
>>>
>>> Manoj Mitra wrote:
>>>
>>>> Hi! Alex,
>>>>
>>>> Thanks for your suggestion.
>>>> But here my problem is not with existing project explorer,
>>>> I have my own treeviewer(not the same model with editor) and I want to
>>>> implement DnD from that treeviewer to editor.
>>>>
>>>> Hope you will provide some suggestion.
>>>>
>>>> Regards,
>>>> Manoj
>>>>
>>>> Alex Shatalin wrote:
>>>>
>>>>> Hello Manoj,
>>>>>
>>>>> GMF is able to generate disgram/domain model navigator (providers for
>>>>> existing Project Explorer) with D&D supported:
>>>>> http://wiki.eclipse.org/GMF_2.0_New_and_Noteworthy#Diagram_C ontent_Navigator
>>>>>
>>>>> http://wiki.eclipse.org/GMF_2.0_New_and_Noteworthy#Domain_Mo del_Content_Navigator
>>>>>
>>>>>
>>>>> -----------------
>>>>> Alex Shatalin
>>>>>
>>>>>
>>
>>
>
Re: Drag n Drop to Editor [message #207211 is a reply to message #207124] Mon, 29 September 2008 06:17 Go to previous message
Eclipse UserFriend
Originally posted by: manojm.blr.interrasystems.com

Hi! All,

Please provide me some suggestion.

Regards,
Manoj

Manoj Mitra wrote:
> Hi!
>
> How will we get that?
> Please specify the URL.
>
> Regards,
> Manoj
>
> Antoine Toulme wrote:
>
>> Guys, please take a look at the STP BPMN editor. We did the
>> implementation of Drag and drop in an extensible way, so of course it
>> is a bit heavy weight but I believe it should cover pretty much any case.
>>
>> Thanks,
>>
>> Antoine
>>
>> Sebastian Neudert wrote:
>>
>>> Hi,
>>>
>>> i have a similiar question. i'd like to drag something from a view to a
>>> diagram node, and set a attribute on model then.
>>>
>>> should i register a custom DragDropListener in<ABC>DiagramEditor? What
>>> about DragDropEditPolicy? How it works together?
>>>
>>> regards,
>>>
>>> sebastian
>>>
>>>
>>> "Manoj Mitra"<manojm@blr.interrasystems.com> schrieb im Newsbeitrag
>>> news:gbda0g$fnt$1@build.eclipse.org...
>>>
>>>> Hi! All,
>>>>
>>>> I am still stuck on this.
>>>> Could you please provide some idea?
>>>>
>>>> Regards,
>>>> Manoj
>>>>
>>>> Manoj Mitra wrote:
>>>>
>>>>> Hi! Alex,
>>>>>
>>>>> Thanks for your suggestion.
>>>>> But here my problem is not with existing project explorer,
>>>>> I have my own treeviewer(not the same model with editor) and I want to
>>>>> implement DnD from that treeviewer to editor.
>>>>>
>>>>> Hope you will provide some suggestion.
>>>>>
>>>>> Regards,
>>>>> Manoj
>>>>>
>>>>> Alex Shatalin wrote:
>>>>>
>>>>>> Hello Manoj,
>>>>>>
>>>>>> GMF is able to generate disgram/domain model navigator (providers for
>>>>>> existing Project Explorer) with D&D supported:
>>>>>> http://wiki.eclipse.org/GMF_2.0_New_and_Noteworthy#Diagram_C ontent_Navigator
>>>>>>
>>>>>> http://wiki.eclipse.org/GMF_2.0_New_and_Noteworthy#Domain_Mo del_Content_Navigator
>>>>>>
>>>>>>
>>>>>> -----------------
>>>>>> Alex Shatalin
>>>>>>
>>>>>>
>>>
>>>
>>
Previous Topic:Label positioned under RoundedRectangle?
Next Topic:save button is not enable
Goto Forum:
  


Current Time: Tue Apr 16 17:30:28 GMT 2024

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

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

Back to the top