UMLLight add elements to palette [message #1826369] |
Fri, 24 April 2020 06:56 |
Susanne Fuchs Messages: 27 Registered: March 2020 |
Junior Member |
|
|
Hi,
I'm trying to customize Papyrus UML-Light (https://github.com/eclipsesource/papyrus-umllight/blob/master/documentation/customizations.md), and I want to add back a few of the items which are there in the palette of the regular Papyrus, but are removed in UMLLight.
For example I want to add the Activity node to the palette of the activity diagram. I copied the Activity Node (see below) from PapyrusUMLActivityDiagram.paletteconfiguration
from the normal Papyrus to the same file in UMLLight. Now I can see the Activity node in the UMLLight palette, but I can't drop it in the diagram. (I see the red circle with diagonal line when I try)
What do I need to change to fix this?
Thank you in advance! :)
<ownedConfigurations xmi:type="paletteconfiguration:ToolConfiguration" id="activity.nodes.activity" label="Activity" description="Create an Activity" kind="CreationTool">
<icon xmi:type="paletteconfiguration:IconDescriptor" pluginID="org.eclipse.uml2.uml.edit" iconPath="/icons/full/obj16/Activity.gif"/>
<elementDescriptors xmi:type="paletteconfiguration:ElementDescriptor">
<elementType xmi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Activity_Shape"/>
</elementDescriptors>
<elementDescriptors xmi:type="paletteconfiguration:ElementDescriptor">
<elementType xmi:type="elementtypesconfigurations:SpecializationTypeConfiguration" href="platform:/plugin/org.eclipse.papyrus.uml.service.types/model/umldi.elementtypesconfigurations#org.eclipse.papyrus.umldi.Activity_Shape_CN"/>
</elementDescriptors>
</ownedConfigurations>
[Updated on: Fri, 24 April 2020 06:59] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02348 seconds