Home » Modeling » GMF (Graphical Modeling Framework) » Drag n Drop to Editor
Drag n Drop to Editor [message #206577] |
Tue, 23 September 2008 12:19 |
Eclipse User |
|
|
|
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 #207063 is a reply to message #206783] |
Thu, 25 September 2008 13:35 |
Sebastian Neudert 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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
>>>>>>
>>>>>>
>>>
>>>
>>
|
|
|
Goto Forum:
Current Time: Sat Apr 20 01:45:30 GMT 2024
Powered by FUDForum. Page generated in 0.03692 seconds
|