Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » SVG display
SVG display [message #1753045] Wed, 01 February 2017 12:27 Go to next message
Ismael Soulama is currently offline Ismael SoulamaFriend
Messages: 39
Registered: November 2016
Member
Hi all,
I've define a new svg for some UML element in my plugin, but when I start it, the editor won't display them. It display a blank.
index.php/fa/28287/0/
I've define the svg like this way:
StateMachineDiagram FinalState > Compartment[kind="symbol"]
{
    visible:true;
}
StateMachineDiagram FinalState
{
	svgFile:'platform:/plugin/my.plugin/icons/svg/finalstate.svg';
}


Did I miss something?
  • Attachment: blank.PNG
    (Size: 0.97KB, Downloaded 1152 times)

[Updated on: Thu, 02 February 2017 14:44]

Report message to a moderator

icon9.gif  Re: SVG display [message #1753123 is a reply to message #1753045] Thu, 02 February 2017 05:14 Go to previous messageGo to next message
Roland Petrasch is currently offline Roland PetraschFriend
Messages: 10
Registered: September 2010
Junior Member
Hi,
I have a similar problem:
a) Create a profile with a Stereotype HCI and its own svg image (see eclipseSVGError1.JPG)
b) Apply the Stereotype in an activity diagram. The result is very strange: On some actions the icons is shown and on other it isn't. It's not possible to move or resize the actions in the diagram. They are frozen. (see eclipseSVGError2.JPG)

When I try to use a simple style sheet, it also doesn't work.
a) Define a style sheet and a class
*.HCI {
	elementIcon:true;
	svgFile:'platform:/resource/I4PML_Profile/resources/HCI.svg';
}

b) When I apply the style, nothing happens. (see eclipseSVGError3.JPG)
Sometimes I get some exception messages from eclipse (see eclipseSVGError4.JPG).
After this, I cannot open the model file anymore. It's corrupted. It just gives a message that an "unexpected exception" occurred (see eclipseSVGError5.JPG).

Any help would be appreciated.

Regards
Roland

Here is the exception message from eclipse:


------
STATUS
------
pluginId            org.eclipse.papyrus.infra.core
pluginVersion       2.0.0.201606080854
code                0
severity            4
message             Unexpected Error
fingerprint         e821433639e2d9bff3313f7eaeccfd2a

Exception:org.eclipse.papyrus.infra.core.services.ServiceMultiException: Multiple exceptions
----- exceptions : ----------
org.eclipse.papyrus.layers.runtime.service.LayersApplicationService : java.lang.NullPointerException
----------------------------- 

	 at org.eclipse.papyrus.infra.core.services.ServicesRegistry.startRegistry(ServicesRegistry.java:456)
	 at org.eclipse.papyrus.infra.ui.editor.CoreMultiDiagramEditor.loadModelAndServices(CoreMultiDiagramEditor.java:612)
	 at org.eclipse.papyrus.infra.ui.editor.CoreMultiDiagramEditor.initContents(CoreMultiDiagramEditor.java:926)
	 at org.eclipse.papyrus.infra.ui.editor.CoreMultiDiagramEditor.doReload(CoreMultiDiagramEditor.java:953)
	 at org.eclipse.papyrus.infra.ui.editor.CoreMultiDiagramEditor.access$4(CoreMultiDiagramEditor.java:940)
	 at org.eclipse.papyrus.infra.ui.editor.CoreMultiDiagramEditor$DeferredReload.reloadEditor(CoreMultiDiagramEditor.java:1230)
	 at org.eclipse.papyrus.infra.ui.editor.CoreMultiDiagramEditor$DeferredReload.reload(CoreMultiDiagramEditor.java:1204)
	 at org.eclipse.papyrus.infra.ui.editor.CoreMultiDiagramEditor$4.reloadEditor(CoreMultiDiagramEditor.java:838)
	 at org.eclipse.papyrus.infra.ui.services.ResourceUpdateService$4.runInUIThread(ResourceUpdateService.java:159)
	 at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:97)
	 at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	 at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
	 at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4203)
	 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3819)
	 at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
	 at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
	 at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
	 at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
	 at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:687)
	 at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
	 at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604)
	 at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
	 at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
	 at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
	 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	 at java.lang.reflect.Method.invoke(Method.java:498)
	 at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
	 at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
	 at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
Caused by: org.eclipse.papyrus.infra.core.services.ServiceException: java.lang.NullPointerException
	 at org.eclipse.papyrus.infra.core.services.internal.ServiceEntry.startService(ServiceEntry.java:158)
	 at org.eclipse.papyrus.infra.core.services.internal.StartStartupEntry.startService(StartStartupEntry.java:81)
	 at org.eclipse.papyrus.infra.core.services.ServicesRegistry.startServices(ServicesRegistry.java:1020)
	 at org.eclipse.papyrus.infra.core.services.ServicesRegistry.startRegistry(ServicesRegistry.java:488)
	 at org.eclipse.papyrus.infra.ui.editor.CoreMultiDiagramEditor.loadModelAndServices(CoreMultiDiagramEditor.java:612)
	 at org.eclipse.papyrus.infra.ui.editor.CoreMultiDiagramEditor.initContents(CoreMultiDiagramEditor.java:926)
	 at org.eclipse.papyrus.infra.ui.editor.CoreMultiDiagramEditor.doReload(CoreMultiDiagramEditor.java:953)
	 at org.eclipse.papyrus.infra.ui.editor.CoreMultiDiagramEditor.access$4(CoreMultiDiagramEditor.java:940)
	 at org.eclipse.papyrus.infra.ui.editor.CoreMultiDiagramEditor$DeferredReload.reloadEditor(CoreMultiDiagramEditor.java:1230)
	 at org.eclipse.papyrus.infra.ui.editor.CoreMultiDiagramEditor$DeferredReload.reload(CoreMultiDiagramEditor.java:1204)
	 at org.eclipse.papyrus.infra.ui.editor.CoreMultiDiagramEditor$4.reloadEditor(CoreMultiDiagramEditor.java:838)
	 at org.eclipse.papyrus.infra.ui.services.ResourceUpdateService$4.runInUIThread(ResourceUpdateService.java:159)
	 at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:97)
	 at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	 at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
	 at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4203)
	 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3819)
	 at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
	 at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
	 at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
	 at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
	 at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:687)
	 at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
	 at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604)
	 at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
	 at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
	 at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
	 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	 at java.lang.reflect.Method.invoke(Method.java:498)
	 at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
	 at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
	 at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
Caused by: java.lang.NullPointerException: null
	 at org.eclipse.papyrus.layers.runtime.model.LayersModelEventRootNotifier.activate(LayersModelEventRootNotifier.java:99)
	 at org.eclipse.papyrus.layers.runtime.model.LayersModelEventRootNotifier.<init>(LayersModelEventRootNotifier.java:90)
	 at org.eclipse.papyrus.layers.runtime.LayerStackApplicationSynchronizer.activateLayersModelRootNotifier(LayerStackApplicationSynchronizer.java:210)
	 at org.eclipse.papyrus.layers.runtime.LayerStackApplicationSynchronizer.transitionInitToNoApplicationState(LayerStackApplicationSynchronizer.java:133)
	 at org.eclipse.papyrus.layers.runtime.LayerStackApplicationSynchronizer.initState(LayerStackApplicationSynchronizer.java:102)
	 at org.eclipse.papyrus.layers.runtime.LayerStackApplicationSynchronizer.<init>(LayerStackApplicationSynchronizer.java:90)
	 at org.eclipse.papyrus.layers.runtime.service.LayersApplicationService.startService(LayersApplicationService.java:103)
	 at org.eclipse.papyrus.infra.core.services.internal.ServiceEntry.startService(ServiceEntry.java:152)
	 at org.eclipse.papyrus.infra.core.services.internal.StartStartupEntry.startService(StartStartupEntry.java:81)
	 at org.eclipse.papyrus.infra.core.services.ServicesRegistry.startServices(ServicesRegistry.java:1020)
	 at org.eclipse.papyrus.infra.core.services.ServicesRegistry.startRegistry(ServicesRegistry.java:488)
	 at org.eclipse.papyrus.infra.ui.editor.CoreMultiDiagramEditor.loadModelAndServices(CoreMultiDiagramEditor.java:612)
	 at org.eclipse.papyrus.infra.ui.editor.CoreMultiDiagramEditor.initContents(CoreMultiDiagramEditor.java:926)
	 at org.eclipse.papyrus.infra.ui.editor.CoreMultiDiagramEditor.doReload(CoreMultiDiagramEditor.java:953)
	 at org.eclipse.papyrus.infra.ui.editor.CoreMultiDiagramEditor.access$4(CoreMultiDiagramEditor.java:940)
	 at org.eclipse.papyrus.infra.ui.editor.CoreMultiDiagramEditor$DeferredReload.reloadEditor(CoreMultiDiagramEditor.java:1230)
	 at org.eclipse.papyrus.infra.ui.editor.CoreMultiDiagramEditor$DeferredReload.reload(CoreMultiDiagramEditor.java:1204)
	 at org.eclipse.papyrus.infra.ui.editor.CoreMultiDiagramEditor$4.reloadEditor(CoreMultiDiagramEditor.java:838)
	 at org.eclipse.papyrus.infra.ui.services.ResourceUpdateService$4.runInUIThread(ResourceUpdateService.java:159)
	 at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:97)
	 at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	 at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
	 at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4203)
	 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3819)
	 at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
	 at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
	 at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
	 at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
	 at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:687)
	 at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
	 at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604)
	 at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
	 at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
	 at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
	 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	 at java.lang.reflect.Method.invoke(Method.java:498)
	 at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
	 at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
	 at org.eclipse.equinox.launcher.Main.run(Main.java:1519)

------
REPORT
------
anonymousId         
name                
email               
comment             
eclipseBuildId      4.6.0.I20160606-1100
eclipseProduct      org.eclipse.epp.package.modeling.product
javaRuntimeVersion  1.8.0_122-ea-b04
osgiWs              win32
osgiOs              Windows10
osgiOsVersion       10.0.0
osgiArch            x86_64
severity            UNKNOWN

-------
BUNDLES
-------
name                org.eclipse.core.databinding.observable
version             1.6.0.v20160511-1747

name                org.eclipse.core.databinding
version             1.6.0.v20160412-0910

name                org.eclipse.core.runtime
version             3.12.0.v20160606-1342

name                org.eclipse.e4.ui.workbench
version             1.4.0.v20160517-1624

name                org.eclipse.e4.ui.workbench.swt
version             0.14.0.v20160523-1900

name                org.eclipse.equinox.app
version             1.3.400.v20150715-1528

name                org.eclipse.equinox.launcher
version             1.3.200.v20160318-1642

name                org.eclipse.papyrus.infra.core
version             2.0.0.201606080854

name                org.eclipse.papyrus.infra.ui
version             1.2.0.201606080854

name                org.eclipse.papyrus.layers.runtime
version             1.2.0.201606080903

name                org.eclipse.swt
version             3.105.0.v20160603-0902

name                org.eclipse.ui
version             3.108.0.v20160518-1929

name                org.eclipse.ui.ide.application
version             1.1.100.v20160518-1929

name                org.eclipse.ui.ide
version             3.12.0.v20160601-1609





Re: SVG display [message #1753178 is a reply to message #1753123] Thu, 02 February 2017 13:29 Go to previous messageGo to next message
Ismael Soulama is currently offline Ismael SoulamaFriend
Messages: 39
Registered: November 2016
Member
Hi Roland,
It is very strange. May be you are missing some plugin dependencies, or your diagram is not correctly created (Looking at ServiceRegistry).

In my case, I have no error message.

But when I change the visibility, the SVG appear, but it is not scale.
index.php/fa/28305/0/
index.php/fa/28306/0/

Is there a way to display correctly my svg file?

[Updated on: Thu, 02 February 2017 16:16]

Report message to a moderator

Re: SVG display [message #1753212 is a reply to message #1753178] Thu, 02 February 2017 17:40 Go to previous messageGo to next message
Roland Petrasch is currently offline Roland PetraschFriend
Messages: 10
Registered: September 2010
Junior Member
Hi Ismael,

thanks for the reply. I think your case is a little bit different: I try to show an icon next to the stereotype.
I tried it with different versions, e.g. 4.6 and Papyrus standalone. But it doesn't work. I always get exceptions. ... lot of exceptions.
We also get no answer here in the forum, no active community. So I guess, Papyrus is not maintained anymore. Maybe this project is dead.
I will try a different modeling tool.
Good luck for you.
Regards
Roland

[Updated on: Thu, 02 February 2017 17:41]

Report message to a moderator

Re: SVG display [message #1753221 is a reply to message #1753212] Thu, 02 February 2017 18:33 Go to previous messageGo to next message
Charles Rivet is currently offline Charles RivetFriend
Messages: 219
Registered: May 2014
Location: Canada
Senior Member

Hello,

Regarding the maintenance of Papyrus, it follows the Eclipse release train, which means that the latest release was with Neon.2 (2.0.2) at the end of December and the next release will be aligned with Neon.3 in March. I believe that the version used in this conversation is the Neon version (2.0.0).

I have pinged the Papyrus development team to see if they can have a look at this message thread.

If you feel that this is a bug, either in the implementation or in the documentation, I would encourage you to submit a bug in Bugzilla.


/Charles Rivet
Re: SVG display [message #1753222 is a reply to message #1753221] Thu, 02 February 2017 18:40 Go to previous messageGo to next message
Charles Rivet is currently offline Charles RivetFriend
Messages: 219
Registered: May 2014
Location: Canada
Senior Member

Also, have you seen this video?

/Charles Rivet
Re: SVG display [message #1753267 is a reply to message #1753222] Fri, 03 February 2017 09:00 Go to previous messageGo to next message
Roland Petrasch is currently offline Roland PetraschFriend
Messages: 10
Registered: September 2010
Junior Member
Hi,
@Charles: Thanks for your support. It's good to hear that development continues and there is some support.
Yes, I tried
a) Eclipse 4.6 Neon with Papyrus version 2.0.0
b) Papyrus (standalone) version 2.0.2
c) Eclipse 4.7 Neon.3 (actually it's 4.6.3M20170111-0400) with Papyrus version 3.0.0

Yes, I have seen the video. It doesn't work for me (activity diagrams and OpaqueAction). And I don't wanna change the whole shape.
I just want to display a little icon in the title next to the stereotype.

In version 3.0.0 I can see the icon, but the UML element is completely "frozen": no move & no resize. Even the enclosing element (activity) can't be moved anymore.

In the video, they also used some "magic". In the css there is a style like this: "Compartment[type="...._shape_display"]"
Any idea where this is documented? I couldn't find a manual for this topic.

BTW: Neon.3 with Papyrus 3 seems to have a compatibility problem with Papyrus 2.0.x models. I get an "Your model is corrupt" error message (with an ResourceException, see attachment)

Regards
Roland

P.S.: Tried to update version 2.0.0 (neon.2), but got the following error:

Some sites could not be found.  See the error log for more detail.
No repository found at https://hudson.eclipse.org/papyrus/view/Moka/job/papyrus-moka-website/ws/site-staging/index.html.
No repository found at https://hudson.eclipse.org/papyrus/view/Sysml/job/papyrus-sysml-website/ws/site-staging/index.html.


Eclipse then looked for "alternate solutions" for quite a while. Eventually it came up with the message "No remedy found". Hmmmmmm.
Re: SVG display [message #1753308 is a reply to message #1753267] Fri, 03 February 2017 16:17 Go to previous messageGo to next message
Ismael Soulama is currently offline Ismael SoulamaFriend
Messages: 39
Registered: November 2016
Member
Hi Charles,
Thanks for the reply.
I've seen the video and my work was partly based on it. I use Neon 2 and Papyrus 2.0.0.
I don't have any error logged, all CSS style are applied (like colors...) but only SVG shape are'nt display.
Is there a workaround to force the display?
Re: SVG display [message #1753334 is a reply to message #1753308] Sat, 04 February 2017 01:53 Go to previous messageGo to next message
Roland Petrasch is currently offline Roland PetraschFriend
Messages: 10
Registered: September 2010
Junior Member
Hi,
update: I managed to make it work with PNG pictures and the kind=shape (not icon). The icon is then displayed near the stereotype.
Questions remain: How to make SVG pictures work? Why kind=icon doesn't work? Why some icon/CSS settings lead to frozen models and exceptions?
Re: SVG display [message #1753335 is a reply to message #1753334] Sat, 04 February 2017 02:55 Go to previous messageGo to next message
Roland Petrasch is currently offline Roland PetraschFriend
Messages: 10
Registered: September 2010
Junior Member
Hi,
update 2.0: This works only for Actions, not for Activities.
It seems to be impossible to add a custom icon to the Activity element in the model.
I tried Icon settings in the profile and CSS styles.
Re: SVG display [message #1753456 is a reply to message #1753335] Mon, 06 February 2017 16:57 Go to previous messageGo to next message
Charles Rivet is currently offline Charles RivetFriend
Messages: 219
Registered: May 2014
Location: Canada
Senior Member

Hi Roland,

I have observed that not all the model elements are treated equally by the CSS support... I would suggest you write a bug with regards to the lack of CSS support for activities and the activity element.

I would typically recommend voting for your "favourite" bugs (if you still have unused votes), but I don't think that the Papyrus development team looks at votes when evaluating bugs...


/Charles Rivet
Re: SVG display [message #1753501 is a reply to message #1753456] Tue, 07 February 2017 09:51 Go to previous messageGo to next message
Ansgar Radermacher is currently offline Ansgar RadermacherFriend
Messages: 229
Registered: March 2011
Location: Paris Saclay, France
Senior Member
Hi Ismael, Hi Roland,

I can reproduce that the symbol is very small and does not scale if you enlarge the activity. Yes, please post a bug (btw. symbol scaling works for instance for structured-activity-nodes).

A bit off-topic: there is a pending patch that will provide a shape compartment for ports, see bug 511776
Re: SVG display [message #1753545 is a reply to message #1753501] Tue, 07 February 2017 15:45 Go to previous messageGo to next message
Ismael Soulama is currently offline Ismael SoulamaFriend
Messages: 39
Registered: November 2016
Member
Hi Charles,
Hi Ansgar,
I've found the answer for why my SVG isn't display: I was missing this plugin :
Quote:
oorg.eclipse.papyrus.uml.diagram.symbols.properties

Once it is load, the SVG shape is display normaly and can be resize.

Did someone know all the effects of this plugin?
Why is it needed for SVG display?
Re: SVG display [message #1753627 is a reply to message #1753545] Wed, 08 February 2017 10:00 Go to previous message
Ansgar Radermacher is currently offline Ansgar RadermacherFriend
Messages: 229
Registered: March 2011
Location: Paris Saclay, France
Senior Member
Hi Ismael,

the plugin provides a property view definition for symbols. It appears when you use the Papyrus internal profile and apply the TypeSymbolDefinition stereotype to an element.

It seems odd that you get the described exceptions when the plugin is not there. On my machine SVG shapes are still displayed and I do not have exceptions, if I deactivate it (by removing it from the run/debug-configuration) Did you change other things in your environment? (well, besides that if you did not have this plugin, you installed Papyrus in an uncommon way, use the sources or have a run-configuration with selected plugins only?)

Previous Topic:Symbol compartment not visible for some elements
Next Topic:compile Papyrus source code
Goto Forum:
  


Current Time: Sat Jan 25 10:30:55 GMT 2020

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

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

Back to the top