Community
Participate
Working Groups
Plugins can provide new Drag'n'Drop implementations for implementation of components and interface of services/references. These implementation are provided through two extension point : DragAndDropImplementation and DragAndDropInterface. The SCA metamodel can be extended with new plugins : for exemple new concepts can be added by extending the AnyExtension class. These new plugin should be able to provide new drag'n'drop implementation, so a new extension point DragAndDropAnyExtension can be added to the designer. There is now one drop listener which is based on SelectionTransfer, it enavles the drag'n'frop from the following views : Navigator, Package Explorer, ... Another drop listener based on TextTransfer should be added in order to enable drag'n'drop from other types of view.
Created attachment 131296 [details] DragAndDropAnyExtension extension point This patch add a new extension point to the SCA Designer : DragAndDropAnyExtension. It brings a TextTransfer drop listener and an edit policy to treat drop request from provided AnyExtension drag'n'drop.
Hi Maxime, It appears that org.eclipse.stp.sca.diagram.dnd.DragDropAnyExtensionTypeEditPolicy is missing.
Created attachment 131768 [details] EditPolicy for the Drag and Drop of AnyExtension through the extension point. Here is the edit policy...
Thanks Maxime for your contribution. Commit #3048
Close old bugs.