Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sirius-dev] Questions regarding a first contribution

Thank you, please keep me in touch in you find something!

About a year ago I asked for a way to drag and drop external objects 
from custom views into a Sirius diagram [1, 2] and I still need this 
feature. Concretely, I would like to be able to handle the drop freely. 
For instance, being able to register the following method so that it is 
called each time a drop is made and not handled:

public void handleDrop(Object droppedElement, Object dropSource, Object 
modelShownInDiagram) {
     EObject newElement = asEObject(droppedElement);
     modelShownInDiagram.addChildren(newElement); // updates the model 
with the dropped element, thus updating the diagram
}

Can I search for a solution and try to submit a patch or does it looks 
like too complicated / may conflict with other developments / is not a 
good idea?

Regards,
Emmanuel

  [1] https://www.eclipse.org/forums/index.php?t=msg&th=1096824
  [2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=514645

Le 14/06/2019 à 11:43, Pierre-Charles David a écrit :
> On 13/06/2019 01:03, Emmanuel Chebbi wrote:
>> Hi,
>>
>> I sent a mail a few months ago to ask about how I could contribute to
>> Sirius. I have been very busy since then but now I finally have some
>> free time.
>>
>> Did you manage to identify some tasks on which I could help?
>
> Hi,
>
> Sorry, we've been very busy too :-/
>
> All the candidates I could think of seem either too cumbersome or too 
> complex to start. I'll try again, hopefully I'll have something for 
> you next week (can't guarantee it).
>
> Regards,
> Pierre-Charles David
>
>
> _______________________________________________
> sirius-dev mailing list
> sirius-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or 
> unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sirius-dev

Back to the top