Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Stereotype shapes and icons with Papyrus 0.10
Stereotype shapes and icons with Papyrus 0.10 [message #1233420] Sun, 19 January 2014 15:43 Go to next message
Luís de Sousa is currently offline Luís de SousaFriend
Messages: 214
Registered: July 2009
Senior Member
Hello everyone. I would like to define shapes and icons for a particular profile. I'm going through Properties -> UML -> Icons -> Plus sign to the Create a new image dialogue.

After providing a name and setting Kind as shape I click on the big plus sign button to select an image file. There are two issues with this:

1. The SVG format is not in the set of accepted formats, contrary to what the documentation reads.

2. When I select an image no extra buttons are presented in the dialogue, nor is any path selected. In the log the message below appears.

What could be wrong? I believe I have the latest versions of Eclipse (4.3) and Papyrus (0.10). Thank you.

Message
Unexpected Error

Exception Stack Trace
org.eclipse.papyrus.infra.core.services.ServiceNotFoundException: Can't find the ResourceSet needed retrieve the ServiceRegistry.
	at org.eclipse.papyrus.infra.emf.utils.ServiceUtilsForResource.getServiceRegistry(ServiceUtilsForResource.java:64)
	at org.eclipse.papyrus.infra.emf.utils.ServiceUtilsForEObject.getServiceRegistry(ServiceUtilsForEObject.java:43)
	at org.eclipse.papyrus.infra.emf.utils.ServiceUtilsForEObject.getServiceRegistry(ServiceUtilsForEObject.java:1)
	at org.eclipse.papyrus.infra.core.utils.AbstractServiceUtils.getTransactionalEditingDomain(AbstractServiceUtils.java:60)
	at org.eclipse.papyrus.uml.properties.widgets.StereotypeImageEditor.browseAction(StereotypeImageEditor.java:140)
	at org.eclipse.papyrus.uml.properties.widgets.StereotypeImageEditor.widgetSelected(StereotypeImageEditor.java:203)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:826)
	at org.eclipse.jface.window.Window.open(Window.java:802)
	at org.eclipse.papyrus.views.properties.creation.PropertyEditorFactory.createObject(PropertyEditorFactory.java:95)
	at org.eclipse.papyrus.views.properties.creation.EcorePropertyEditorFactory.createObject(EcorePropertyEditorFactory.java:196)
	at org.eclipse.papyrus.infra.widgets.editors.MultipleValueEditor.addAction(MultipleValueEditor.java:404)
	at org.eclipse.papyrus.infra.widgets.editors.MultipleValueEditor.widgetSelected(MultipleValueEditor.java:383)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1426)


Session Data
eclipse.buildId=4.3.0.M20130911-1000
java.version=1.7.0_17
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_GB
Command-line arguments:  -os linux -ws gtk -arch x86_64
Re: Stereotype shapes and icons with Papyrus 0.10 [message #1233632 is a reply to message #1233420] Mon, 20 January 2014 06:37 Go to previous messageGo to next message
Tomas Sandkvist is currently offline Tomas SandkvistFriend
Messages: 149
Registered: October 2013
Senior Member
Hi Luis!

I have tried this, but I haven't got any exceptions. However I could not get the icons to show properly in diagrams though.

Regards
Tomas Sandkvist
Re: Stereotype shapes and icons with Papyrus 0.10 [message #1237071 is a reply to message #1233632] Tue, 28 January 2014 19:50 Go to previous messageGo to next message
Luís de Sousa is currently offline Luís de SousaFriend
Messages: 214
Registered: July 2009
Senior Member
Would it be possible to edit directly the uml file and add a path (or similar) to an image for each stereotype?

Thanks.
Re: Stereotype shapes and icons with Papyrus 0.10 [message #1237277 is a reply to message #1237071] Wed, 29 January 2014 09:35 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 952
Registered: February 2011
Senior Member
Hi Luis,


The user interface for defining icons is a little bit counter-intuitive.

There are actually two ways for defining an icon:

1) Using the "Content" button, the icon will be embedded directly into the profile
2) Using the "Location" and "Format" fields, the icon will be referenced

The first option doesn't work properly because of Bug 402525:

402525: [Widgets / Transactions] Papyrus dialogs should be transactional
https://bugs.eclipse.org/bugs/show_bug.cgi?id=402525

The workaround is:

- Create an icon using the green "+" button
- Press OK on the dialog
- Select this icon and press edit (The blue pencil)
- Now you can set the image

Using this method, SVG images are not supported. However, you can specifiy SVG images directly from the "Location" field (Option 2) )


Regards,
Camille


Camille Letavernier
Re: Stereotype shapes and icons with Papyrus 0.10 [message #1237285 is a reply to message #1237277] Wed, 29 January 2014 09:51 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 952
Registered: February 2011
Senior Member
Hi all,

For details, see:

426649: Exception setting Stereotype icons
https://bugs.eclipse.org/bugs/show_bug.cgi?id=426649

Regards,
Camille


Camille Letavernier
Re: Stereotype shapes and icons with Papyrus 0.10 [message #1237461 is a reply to message #1237285] Wed, 29 January 2014 19:40 Go to previous messageGo to next message
Luís de Sousa is currently offline Luís de SousaFriend
Messages: 214
Registered: July 2009
Senior Member
Hi Camille, thank you for your work.

I updated Papyrus from the nightly update site and am now able to set icons for stereotypes. I am able to do it using both methods you provide. When I use the "Content" method I get an exception (reproduced below) every time I try to the corresponding stereotype. With neither method the icons are reproduced in models where the profile (and its stereotypes) are applied.

So the next question is if I have to do something in particular to get the Stereotype icons showing up in models.

Thank you.

Message
Unexpected Error

Exception Stack Trace
java.net.MalformedURLException: no protocol: /home/lads/Desktop/Icons/Man.svg
	at java.net.URL.<init>(URL.java:585)
	at java.net.URL.<init>(URL.java:482)
	at java.net.URL.<init>(URL.java:431)
	at org.eclipse.papyrus.uml.diagram.symbols.provider.StereotypedElementShapeProvider.getShapes(StereotypedElementShapeProvider.java:56)
	at org.eclipse.papyrus.infra.gmfdiag.common.service.shape.GetShapesForViewOperation.execute(GetShapesForViewOperation.java:48)
	at org.eclipse.papyrus.infra.gmfdiag.common.service.shape.GetShapesForViewOperation.execute(GetShapesForViewOperation.java:1)
	at org.eclipse.gmf.runtime.common.core.service.ExecutionStrategy$4.execute(ExecutionStrategy.java:181)
	at org.eclipse.gmf.runtime.common.core.service.Service.execute(Service.java:651)
	at org.eclipse.papyrus.infra.gmfdiag.common.service.shape.ShapeService.getShapesToDisplay(ShapeService.java:68)
	at org.eclipse.papyrus.infra.gmfdiag.common.providers.ShapeDecorator.refresh(ShapeDecorator.java:157)
	at org.eclipse.papyrus.infra.gmfdiag.common.providers.ShapeDecorator.handleChange(ShapeDecorator.java:445)
	at org.eclipse.core.databinding.observable.ChangeEvent.dispatch(ChangeEvent.java:41)
	at org.eclipse.core.databinding.observable.ChangeManager.fireEvent(ChangeManager.java:119)
	at org.eclipse.core.databinding.observable.AbstractObservable.fireChange(AbstractObservable.java:65)
	at org.eclipse.core.databinding.observable.value.AbstractObservableValue.fireValueChange(AbstractObservableValue.java:70)
	at org.eclipse.papyrus.infra.gmfdiag.common.databinding.custom.AbstractCustomStyleObservableValue.handleChange(AbstractCustomStyleObservableValue.java:64)
	at org.eclipse.papyrus.infra.gmfdiag.common.listener.CustomStyleListener.handleChange(CustomStyleListener.java:124)
	at org.eclipse.papyrus.infra.gmfdiag.common.listener.CustomStyleListener.handleAdd(CustomStyleListener.java:116)
	at org.eclipse.papyrus.infra.gmfdiag.common.listener.CustomStyleListener.notifyChanged(CustomStyleListener.java:82)
	at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
	at org.eclipse.emf.ecore.util.EcoreEList.dispatchNotification(EcoreEList.java:249)
	at org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUnique(NotifyingListImpl.java:294)
	at org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:301)
	at org.eclipse.papyrus.infra.gmfdiag.common.databinding.custom.CustomStyleValueCommand.execute(CustomStyleValueCommand.java:56)
	at org.eclipse.emf.workspace.EMFCommandOperation.doExecute(EMFCommandOperation.java:119)
	at org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:150)
	at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:513)
	at org.eclipse.papyrus.commands.CheckedOperationHistory.execute(CheckedOperationHistory.java:182)
	at org.eclipse.papyrus.commands.NotifyingWorkspaceCommandStack.doExecute(NotifyingWorkspaceCommandStack.java:253)
	at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:165)
	at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:219)
	at org.eclipse.papyrus.infra.gmfdiag.common.databinding.custom.AbstractCustomStyleObservableValue.doSetValue(AbstractCustomStyleObservableValue.java:100)
	at org.eclipse.core.databinding.observable.value.AbstractObservableValue.setValue(AbstractObservableValue.java:55)
	at org.eclipse.core.databinding.UpdateValueStrategy.doSet(UpdateValueStrategy.java:486)
	at org.eclipse.core.databinding.ValueBinding$4.run(ValueBinding.java:197)
	at org.eclipse.core.databinding.observable.Realm$1.run(Realm.java:148)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.databinding.observable.Realm.safeRun(Realm.java:152)
	at org.eclipse.core.databinding.observable.Realm.exec(Realm.java:170)
	at org.eclipse.core.databinding.ValueBinding$3.run(ValueBinding.java:188)
	at org.eclipse.core.databinding.observable.Realm$1.run(Realm.java:148)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.databinding.observable.Realm.safeRun(Realm.java:152)
	at org.eclipse.core.databinding.observable.Realm.exec(Realm.java:170)
	at org.eclipse.core.databinding.ValueBinding.doUpdate(ValueBinding.java:151)
	at org.eclipse.core.databinding.ValueBinding.access$4(ValueBinding.java:140)
	at org.eclipse.core.databinding.ValueBinding$1.handleValueChange(ValueBinding.java:45)
	at org.eclipse.core.databinding.observable.value.ValueChangeEvent.dispatch(ValueChangeEvent.java:62)
	at org.eclipse.core.databinding.observable.ChangeManager.fireEvent(ChangeManager.java:119)
	at org.eclipse.core.databinding.observable.value.AbstractObservableValue.fireValueChange(AbstractObservableValue.java:71)
	at org.eclipse.core.databinding.observable.value.SelectObservableValue.notifyIfChanged(SelectObservableValue.java:127)
	at org.eclipse.core.databinding.observable.value.SelectObservableValue.access$2(SelectObservableValue.java:122)
	at org.eclipse.core.databinding.observable.value.SelectObservableValue$1.handleValueChange(SelectObservableValue.java:53)
	at org.eclipse.core.databinding.observable.value.ValueChangeEvent.dispatch(ValueChangeEvent.java:62)
	at org.eclipse.core.databinding.observable.ChangeManager.fireEvent(ChangeManager.java:119)
	at org.eclipse.core.databinding.observable.value.DecoratingObservableValue.fireValueChange(DecoratingObservableValue.java:55)
	at org.eclipse.core.databinding.observable.value.DecoratingObservableValue.handleValueChange(DecoratingObservableValue.java:93)
	at org.eclipse.core.databinding.observable.value.DecoratingObservableValue$1.handleValueChange(DecoratingObservableValue.java:67)
	at org.eclipse.core.databinding.observable.value.ValueChangeEvent.dispatch(ValueChangeEvent.java:62)
	at org.eclipse.core.databinding.observable.ChangeManager.fireEvent(ChangeManager.java:119)
	at org.eclipse.core.databinding.observable.value.AbstractObservableValue.fireValueChange(AbstractObservableValue.java:71)
	at org.eclipse.core.internal.databinding.property.value.SimplePropertyObservableValue.notifyIfChanged(SimplePropertyObservableValue.java:120)
	at org.eclipse.core.internal.databinding.property.value.SimplePropertyObservableValue.access$1(SimplePropertyObservableValue.java:112)
	at org.eclipse.core.internal.databinding.property.value.SimplePropertyObservableValue$2.run(SimplePropertyObservableValue.java:66)
	at org.eclipse.core.databinding.observable.Realm$1.run(Realm.java:148)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.databinding.observable.Realm.safeRun(Realm.java:152)
	at org.eclipse.core.databinding.observable.Realm.exec(Realm.java:170)
	at org.eclipse.core.internal.databinding.property.value.SimplePropertyObservableValue$1.handleEvent(SimplePropertyObservableValue.java:63)
	at org.eclipse.core.databinding.property.NativePropertyListener.fireChange(NativePropertyListener.java:63)
	at org.eclipse.jface.internal.databinding.swt.WidgetListener.handleEvent(WidgetListener.java:55)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1426)

Session Data
eclipse.buildId=4.3.0.M20130911-1000
java.version=1.7.0_17
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_GB
Command-line arguments:  -data /media/lads/Data/users/lads/Trabalho/Eclipse/Workspace.Sirius -os linux -ws gtk -arch x86_64


Re: Stereotype shapes and icons with Papyrus 0.10 [message #1237670 is a reply to message #1237461] Thu, 30 January 2014 09:44 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 952
Registered: February 2011
Senior Member
Hi Luis,


For this error:

java.net.MalformedURLException: no protocol: /home/lads/Desktop/Icons/Man.svg
	at java.net.URL.<init>(URL.java:585)
	at java.net.URL.<init>(URL.java:482)
	at java.net.URL.<init>(URL.java:431)


try using the following path instead:

file:/home/lads/Desktop/Icons/Man.svg


There are three different ways for displaying the Stereotype icons in Papyrus, but only two of them are supported on Kepler (For the last one, you will need to update to the Luna M4/M5 developer build)

In Kepler, select the stereotyped element, then go to the Appearance tab of the properties view. In "Stereotype display", select either Icon or Shape. Then, select the stereotype in the "Applied stereotypes" field, and click on "Display"

The "Shape Display" in Kepler is not really efficient. The new (incoming) mechanisms in Luna are much more powerful. They require a little bit of setup, but once properly configured, they are much easier to manipulate.


Regards,
Camille


Camille Letavernier
Re: Stereotype shapes and icons with Papyrus 0.10 [message #1237866 is a reply to message #1237670] Thu, 30 January 2014 20:21 Go to previous messageGo to next message
Luís de Sousa is currently offline Luís de SousaFriend
Messages: 214
Registered: July 2009
Senior Member
Hi Camille, we are slowly getting there.

Adding the file: prefix. indeed solved the exception and now Papyrus seems able to locate the images. I tried both display methods, with different results:

  • Icon - has no effect on the stereotyped element, but there are no error messages or exceptions.
  • Shape - indeed displays the image (although skewed to the left) but deletes all the edges linking to the element.

I have thus two questions:

  1. How can I set Shape as the default stereotype display, instead of Text?
  2. How do I get the edges linked to the stereotyped element back?

Thank you.

Re: Stereotype shapes and icons with Papyrus 0.10 [message #1237871 is a reply to message #1233420] Thu, 30 January 2014 20:40 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 952
Registered: February 2011
Senior Member
Hi Luis,


Quote:
Icon - has no effect on the stereotyped element, but there are no error messages or exceptions.


This option only works if you have defined an Icon for your stereotype. In your case, you have defined a Shape. You need to define both, if you want to be able to switch from one display to the other.

Quote:
How can I set Shape as the default stereotype display, instead of Text?


You can't.

Quote:
How do I get the edges linked to the stereotyped element back?


You can't.

That's where we get to the 3) option I was mentionning earlier: Papyrus 1.0.0/Luna provides a new framework for manipulating symbols, which is much more powerful. It is also fully integrated with the CSS/Stylesheets framework, which makes it possible to display the symbol for all stereotyped elements. However, it is still under development, so I can't tell much more than what's already described in the documentation (Which should already be enough)


Regards,
Camille


Camille Letavernier
Re: Stereotype shapes and icons with Papyrus 0.10 [message #1238447 is a reply to message #1237871] Sat, 01 February 2014 11:28 Go to previous messageGo to next message
Luís de Sousa is currently offline Luís de SousaFriend
Messages: 214
Registered: July 2009
Senior Member
Thank you for you answers Camille. In practice this feature is not functional at this time. I hope that Papyrus 1.0.0 can in fact deliver usable symbology. If help is needed testing let me know.

If you don't mind me asking: is there an alternative to Papyrus with this sort of functionality? I work on Linux. Thank you.
Re: Stereotype shapes and icons with Papyrus 0.10 [message #1428477 is a reply to message #1238447] Sun, 21 September 2014 23:09 Go to previous messageGo to next message
Walid Ban is currently offline Walid BanFriend
Messages: 53
Registered: January 2013
Member
Hi,
Well i checked if "shape" format works or not with Papyrus 1.0.0 Eclipse Luna but unfortunately, it still doesn't work! Papyrus still doesn't take account of this option (displaying stereotype)
Is there any solution?
Thank you
Re: Stereotype shapes and icons with Papyrus 0.10 [message #1723098 is a reply to message #1428477] Thu, 11 February 2016 15:22 Go to previous message
Denes Harmath is currently offline Denes HarmathFriend
Messages: 9
Registered: August 2014
Junior Member
For me, the only combination that worked with Papyrus 1.1.2 Mars is:
- Set the stereotype image's Kind to shape and set its Location to a platform:/ URI of a PNG image
- Set the target object's Appearance > Shape Decoration > Visible to true

[Updated on: Thu, 11 February 2016 15:37]

Report message to a moderator

Previous Topic:Modelling Data Base Tables and Relationship
Next Topic:State Machine Code generation from Transistions
Goto Forum:
  


Current Time: Fri Mar 29 11:45:24 GMT 2024

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

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

Back to the top