<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Adaption of the Designer in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/adaption-of-the-designer/m-p/125998#M88676</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi NorbertS,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;first of all, questions aren't annoying; happy to help where I can.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Second, good catch on the userguide examples. Obviously in source code the examples are correct, but the userguide had that typo. I've fixed it: &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/commit/58bcc191996084a00c78d4e8d9cc4891e3e6ace1" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/commit/58bcc191996084a00c78d4e8d9cc4891e3e6ace1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Yes, we support extending the palette with new CustomServiceTasks and disabling default shapes. Currently not available are the ExportMarshallers and ProcessValidators, which are the extension possibilities the extension points exist for. Creating your own ServiceTasks is done using a standard JAR and still works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We haven't had a 1-on-1 release of the integration JAR for every version of Designer, only when there was something new in the integration lib itself. A list of versions available can be looked up in Nexus, here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://maven.alfresco.com/nexus/content/groups/public/org/activiti/designer/org.activiti.designer.integration/" rel="nofollow noopener noreferrer"&gt;https://maven.alfresco.com/nexus/content/groups/public/org/activiti/designer/org.activiti.designer.integration/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There you can also see the 5.12 version that goes with the current release of Designer. The 5.7 in the userguide is just an example, that's why the comment is there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Adding shapes should work. Have you tried checking out the examples, compiling those and adding them to Designer? Those should work. Otherwise, you're probably doing something wrong which leads to no new items in the palette. Also, remember to re-open any open editors to see new items in the palette - these are only loaded when you open a diagram. Let me know if you figure this out. If not, I might have time this weekend to look at your example - let me know if that's necessary.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So no, that assumption is wrong for the current state of Designer. For the other extension capabilities we used to have, I can only say I want to re-add them myself soon, but I can't make any promises when I'll get around to it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) The items you have there are the graphical items, not the model. The stuff you're after is in the Bpmn2MemoryModel. Take a look at the ActivitiDiagramEditor class where the save actions are performed. If you create a hook there, you can create custom code using the model. Graphiti does maintain links between graphical and model elements so you can get from one to the other and there are examples of that in Designer's internal code, but I'd go straight for the model itself.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Apr 2013 18:03:11 GMT</pubDate>
    <dc:creator>tiesebarrell</dc:creator>
    <dc:date>2013-04-04T18:03:11Z</dc:date>
    <item>
      <title>Adaption of the Designer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adaption-of-the-designer/m-p/125994#M88672</link>
      <description>Heyho Folks,I'm totally new to Activiti and just started 2 days ago to even look closely at it so please forgive me if I don't have the total insight yet.So the thing is, I'm supposed to adapt Activiti for my thesis. For that I have to customize the palette and extend the designer itself through ver</description>
      <pubDate>Wed, 03 Apr 2013 12:02:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adaption-of-the-designer/m-p/125994#M88672</guid>
      <dc:creator>norberts</dc:creator>
      <dc:date>2013-04-03T12:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Adaption of the Designer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adaption-of-the-designer/m-p/125995#M88673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;NorbertS,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) at the moment we don't support extensions besides the library approach. I plan to add a similar way to do it using extensions, because I agree with you I would rather write a plugin and package that with Designer than write a JAR file and have to link it. However, this means an overhaul of what we have at the moment and I don't expect to add it soon. We also don't have an extension point for the PaletteExtensionProvider. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, you're not the first person to request this. The customization was initially added as a sideline feature and we wanted to make it as easy as possible to create an extension, without requiring knowledge of developing plugins. We had never anticipated so many people wanting to use this &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) As you found yourself, validators are currently not invoked. Another vote to re-add this, though. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3) That depends entirely on what you mean by internal representation. The model for the diagrams is an all-java model, so you can easily transform to anything else if you build a hook to get hold of the model held in memory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4) No, there has been no progress on that particular subject. I suppose it only makes sense if we re-enable the validators to be invoked in the first place.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 19:47:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adaption-of-the-designer/m-p/125995#M88673</guid>
      <dc:creator>tiesebarrell</dc:creator>
      <dc:date>2013-04-03T19:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Adaption of the Designer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adaption-of-the-designer/m-p/125996#M88674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey Tiese,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You don't support ANY extension right now (as it seems to me) or just not that combination of the customization (despite the verification and exportation)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The funny thing here is, that if I try to do your "tutorial" out of the user guide the first thing that there seems to be a mistake in the first pom.xml snippet:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&amp;lt;project &lt;BR /&gt;…&lt;BR /&gt;&amp;nbsp; &amp;lt;name&amp;gt;Acme Corporation Money Tasks&amp;lt;/name&amp;gt;&lt;BR /&gt;…&lt;BR /&gt;&amp;lt;/pom&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;I guess it's supposed to be &amp;lt;/project&amp;gt; and not &amp;lt;/pom&amp;gt;. Just pointing this out. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; Furthermore, Maven can't find the latest dependency jar. If you enter 5.12 or lower it results in an error until the 5.7 is there again (referencing the following line).&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&amp;lt;version&amp;gt;5.7&amp;lt;/version&amp;gt; &amp;lt;!– Current Activiti Designer Version –&amp;gt;&lt;/CODE&gt;&lt;SPAN&gt;Anyway, that's not the main thing I wanted to ask about. The disabling of elements through my own Customizer works, but to add new tasks seems not to work. I extended the AbstractCustomServiceTask as presented with the example, overwrote the getName and contributeToPaletteDrawer methods, tried it out… and nothing happened. I also had the icons and tried to find out if it is even called but couldn't succeed for sure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can download my small project here (can't upload it for some reason) if you want to take a look at it:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://dl.dropbox.com/u/3336025/addingTask.zip" rel="nofollow noopener noreferrer"&gt;https://dl.dropbox.com/u/3336025/addingTask.zip&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I assume that this part is also disabled right now? If yes, I might have to create my own editor 'cause Activiti is then extremely limited when it comes to extendability.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2+3) That's a shame since I would need it critically, I think. At least to transform the Diagram into my own model on saving.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Speaking of the Diagram, I tried to reach the Activiti diagram today via code and kind of succeeded and at the same time not. I got the active editor, got the diagram from it through the graphiti methods and tried to access the elements. They are there, but only as ContainerShapeImpl classes. I can't distinguish between the Activiti elements (e.g. instanceof StartEvent is never true). I saw in the verificator example that this should be possible and searched the Activiti source code only to end up with the same code as I used. What would be the right way to get the diagram with the correct classes? Or is that somehow done through the disabled verification extension point?&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;ActivitiDiagramEditor editor = (ActivitiDiagramEditor) PlatformUI&lt;BR /&gt;&amp;nbsp; .getWorkbench().getActiveWorkbenchWindow().getActivePage()&lt;BR /&gt;&amp;nbsp; .getActiveEditor();&lt;BR /&gt;Diagram diagram = editor.getDiagramTypeProvider().getDiagram();&lt;BR /&gt;final EList&amp;lt;EObject&amp;gt; contents = diagram.eResource().getContents();&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope I don't annoy you with all these questions. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Greetings&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 15:01:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adaption-of-the-designer/m-p/125996#M88674</guid>
      <dc:creator>norberts</dc:creator>
      <dc:date>2013-04-04T15:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Adaption of the Designer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adaption-of-the-designer/m-p/125997#M88675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hey Tiese,&lt;BR /&gt;Anyway, that's not the main thing I wanted to ask about. The disabling of elements through my own Customizer works, but to add new tasks seems not to work. I extended the AbstractCustomServiceTask as presented with the example, overwrote the getName and contributeToPaletteDrawer methods, tried it out… and nothing happened. I also had the icons and tried to find out if it is even called but couldn't succeed for sure.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;We were able to do this with 5.12, so I can confirm it works. We didn't use maven though, we just setup the eclipse project directly. We made a User Library in eclipse and had to restart eclipse for it to pick it up. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;briefly comparing yours to ours, the main difference I see is you don't have the Runtime annotation on your MyTask, i.e. @Runtime(javaDelegateClass = "org.acme.runtime.AcmeMoneyJavaDelegation")&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 16:08:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adaption-of-the-designer/m-p/125997#M88675</guid>
      <dc:creator>groopk</dc:creator>
      <dc:date>2013-04-04T16:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Adaption of the Designer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adaption-of-the-designer/m-p/125998#M88676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi NorbertS,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;first of all, questions aren't annoying; happy to help where I can.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Second, good catch on the userguide examples. Obviously in source code the examples are correct, but the userguide had that typo. I've fixed it: &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/commit/58bcc191996084a00c78d4e8d9cc4891e3e6ace1" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/commit/58bcc191996084a00c78d4e8d9cc4891e3e6ace1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Yes, we support extending the palette with new CustomServiceTasks and disabling default shapes. Currently not available are the ExportMarshallers and ProcessValidators, which are the extension possibilities the extension points exist for. Creating your own ServiceTasks is done using a standard JAR and still works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We haven't had a 1-on-1 release of the integration JAR for every version of Designer, only when there was something new in the integration lib itself. A list of versions available can be looked up in Nexus, here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://maven.alfresco.com/nexus/content/groups/public/org/activiti/designer/org.activiti.designer.integration/" rel="nofollow noopener noreferrer"&gt;https://maven.alfresco.com/nexus/content/groups/public/org/activiti/designer/org.activiti.designer.integration/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There you can also see the 5.12 version that goes with the current release of Designer. The 5.7 in the userguide is just an example, that's why the comment is there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Adding shapes should work. Have you tried checking out the examples, compiling those and adding them to Designer? Those should work. Otherwise, you're probably doing something wrong which leads to no new items in the palette. Also, remember to re-open any open editors to see new items in the palette - these are only loaded when you open a diagram. Let me know if you figure this out. If not, I might have time this weekend to look at your example - let me know if that's necessary.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So no, that assumption is wrong for the current state of Designer. For the other extension capabilities we used to have, I can only say I want to re-add them myself soon, but I can't make any promises when I'll get around to it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) The items you have there are the graphical items, not the model. The stuff you're after is in the Bpmn2MemoryModel. Take a look at the ActivitiDiagramEditor class where the save actions are performed. If you create a hook there, you can create custom code using the model. Graphiti does maintain links between graphical and model elements so you can get from one to the other and there are examples of that in Designer's internal code, but I'd go straight for the model itself.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 18:03:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adaption-of-the-designer/m-p/125998#M88676</guid>
      <dc:creator>tiesebarrell</dc:creator>
      <dc:date>2013-04-04T18:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Adaption of the Designer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adaption-of-the-designer/m-p/125999#M88677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;About the designer integration jar of the version 5.12 in the maven repository. The provided repository in the pom.xml out of the user guide doesn't contain the 5.12 version (&lt;/SPAN&gt;&lt;A href="https://maven.alfresco.com/nexus/content/repositories/activiti/" rel="nofollow noopener noreferrer"&gt;https://maven.alfresco.com/nexus/content/repositories/activiti/&lt;/A&gt;&lt;SPAN&gt;) and it has a different naming policy compared to the repository you pointed out (&lt;/SPAN&gt;&lt;A href="https://maven.alfresco.com/nexus/content/groups/public/org/activiti/designer/org.activiti.designer.integration/" rel="nofollow noopener noreferrer"&gt;https://maven.alfresco.com/nexus/content/groups/public/org/activiti/designer/org.activiti.designer.integration/&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It's called org.activiti.designer.integration-5.12.0.jar instead of activiti-designer-integration-5.12.jar.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Through that it's hard for maven to find it. I'm not an expert in maven so I just downloaded the jar, packed it into my maven repository cache and just fiddled around with the pom.xml until maven could find it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the future I will just use a normal eclipse project as groopk did, since I don't have to fetch the dependency jar anymore.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But still, my problem exists. If I download the example code from &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti-Designer/tree/master/examples" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti-Designer/tree/master/examples&lt;/A&gt;&lt;SPAN&gt; and pack that stuff into a maven project, I first of all get compile errors due to the package naming. Which was surprising for me but clear to see, because src/main/java/org/acme… can't be matched onto just org/acme… I don't know if that's a problem of my maven settings (although I did everything as it was said in the user guide) or just a mistake. But why would you put something like that into github, if it doesn't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, I can't even open the editor anymore because of a null pointer on image loading (see stacktrace below). I saw that before on the release 5.9 where someone didn't overwrite the getSmallIconPath method. But I did. Even overwrote the getLargeIconPath method. And just to clarify that, I use Eclipse Indigo (3.7), not Helios or something else, so that shouldn't be the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just tried it with a simple java project with the designer-integration jar as referenced lib. I left the main/java and main/resources out and just created a src/org/acme… and src/resources/icons structure. And still can't open the editor. It can be that my path to the icon is wrong, but I don't think so. A deletion of all Tasks except the MoneyTask didn't help either.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I made a screenshot, accessible here: &lt;/SPAN&gt;&lt;A href="https://dl.dropbox.com/u/3336025/moneytask.jpg" rel="nofollow noopener noreferrer"&gt;https://dl.dropbox.com/u/3336025/moneytask.jpg&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And yes, I restarted eclipse, closed the editor everytime it failed and so on so the jar is loaded again every time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As a next try I tried to track down the stack trace. I looked at the ActivitiToolBehaviorProvider and found no line 682 in the latest source code. That left me even more puzzled so here I am again. &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm getting really confused here. &lt;/SPAN&gt;&lt;STRONG&gt;Maybe someone could just provide me with an example that definitely works?&lt;/STRONG&gt;&lt;SPAN&gt; The moneytask-example is fine, but it is not an importable project. So maybe I'm just configuring it wrong, although I don't know what is configurable except for the pom.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;Unable to create editor ID org.activiti.designer.editor.diagramEditor: An exception was thrown during initialization&lt;BR /&gt;&lt;BR /&gt;java.lang.IllegalArgumentException: Argument cannot be null&lt;BR /&gt; at org.eclipse.swt.SWT.error(SWT.java:4263)&lt;BR /&gt; at org.eclipse.swt.SWT.error(SWT.java:4197)&lt;BR /&gt; at org.eclipse.swt.SWT.error(SWT.java:4168)&lt;BR /&gt; at org.eclipse.swt.graphics.ImageLoader.load(ImageLoader.java:128)&lt;BR /&gt; at org.eclipse.swt.graphics.ImageDataLoader.load(ImageDataLoader.java:22)&lt;BR /&gt; at org.eclipse.swt.graphics.ImageData.&amp;lt;init&amp;gt;(ImageData.java:331)&lt;BR /&gt; at org.eclipse.swt.graphics.Image.&amp;lt;init&amp;gt;(Image.java:545)&lt;BR /&gt; at org.activiti.designer.diagram.ActivitiToolBehaviorProvider.getPalette(ActivitiToolBehaviorProvider.java:682)&lt;BR /&gt; at org.eclipse.graphiti.ui.internal.editor.GFPaletteRoot.updatePaletteEntries(GFPaletteRoot.java:104)&lt;BR /&gt; at org.eclipse.graphiti.ui.internal.editor.GFPaletteRoot.&amp;lt;init&amp;gt;(GFPaletteRoot.java:80)&lt;BR /&gt; at org.eclipse.graphiti.ui.editor.DefaultPaletteBehavior.createPaletteRoot(DefaultPaletteBehavior.java:103)&lt;BR /&gt; at org.eclipse.graphiti.ui.editor.DefaultPaletteBehavior.getPaletteRoot(DefaultPaletteBehavior.java:115)&lt;BR /&gt; at org.eclipse.graphiti.ui.editor.DiagramEditor.getPaletteRoot(DiagramEditor.java:940)&lt;BR /&gt; at org.eclipse.gef.ui.parts.GraphicalEditorWithFlyoutPalette.setEditDomain(GraphicalEditorWithFlyoutPalette.java:145)&lt;BR /&gt; at org.eclipse.graphiti.ui.editor.DiagramEditor.setConfigurationProvider(DiagramEditor.java:1890)&lt;BR /&gt; at org.eclipse.graphiti.ui.editor.DiagramEditor.setInput(DiagramEditor.java:553)&lt;BR /&gt; at org.activiti.designer.eclipse.editor.ActivitiDiagramEditor.setInput(ActivitiDiagramEditor.java:278)&lt;BR /&gt; at org.eclipse.graphiti.ui.editor.DiagramEditor.init(DiagramEditor.java:447)&lt;BR /&gt; at org.activiti.designer.eclipse.editor.ActivitiDiagramEditor.init(ActivitiDiagramEditor.java:131)&lt;BR /&gt; …&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 09:36:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adaption-of-the-designer/m-p/125999#M88677</guid>
      <dc:creator>norberts</dc:creator>
      <dc:date>2013-04-05T09:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: Adaption of the Designer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adaption-of-the-designer/m-p/126000#M88678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;NorbertS,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you're right, the userguide is wrong. This is the old (probably from version 5.7 &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;) dependency and the GAV has changed. I've fixed the userguide in this regard (&lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/commit/85aa43ce36547254300842775c782b854f1ee03c" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/commit/85aa43ce36547254300842775c782b854f1ee03c&lt;/A&gt;&lt;SPAN&gt;). You shouldn't download the lib yourself, but just change it to the way it's specified in the money-tasks example project. Then Maven should just find it automatically.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AFAIK, there's nothing wrong with the money-tasks project. src/main/java is not a package structure, but the Maven convention for the root of Java sources. The packages start from that directory downward. You shouldn't have to change anything. If you run mvn eclipse:eclipse on the project, it should set all the source directories automatically and it will compile. Or if you have the m2eclipse plugin installed, just convert the project to a Maven project. And if you install the project using mvn clean install, you'll see that the Jar gets created just fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using a custom directory to load resources such as resources/icons will not work, because when the Jar is built by Maven, that directory is not considered a source directory. If you built it with Maven, open up the Jar and you'll probably see the icons aren't really in the Jar. That's what probably gets you that NPE. Yes, you can use custom source directories in Maven but there's really no need in this case. If I were you, I'd go back to the defaults and try to get those working, because they require less tinkering.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This all has very little to do with Designer, but is mainly about getting the Maven stuff right. I understand it's frustrating but there's little I can say other than try to build the money-tasks example with Maven and then create something similar.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Apr 2013 14:50:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adaption-of-the-designer/m-p/126000#M88678</guid>
      <dc:creator>tiesebarrell</dc:creator>
      <dc:date>2013-04-07T14:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: Adaption of the Designer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adaption-of-the-designer/m-p/126001#M88679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've uploaded a default install of the Money Tasks JAR, which should work out of the box.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://dl.dropbox.com/u/24350392/money-tasks-1.1.0-SNAPSHOT.jar" rel="nofollow noopener noreferrer"&gt;http://dl.dropbox.com/u/24350392/money-tasks-1.1.0-SNAPSHOT.jar&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Apr 2013 14:53:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adaption-of-the-designer/m-p/126001#M88679</guid>
      <dc:creator>tiesebarrell</dc:creator>
      <dc:date>2013-04-07T14:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Adaption of the Designer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adaption-of-the-designer/m-p/126002#M88680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alright. It works. Seems like I used Maven wrong the whole time. For example didn't I build the jar with maven but just exported the project as jar. And also I used the source-folder definition wrong. I created packages src.main.java and src.main.resources and not source folder src/main/java and so on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the time and help. It works. Now I can finally play around. &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But one more thing. I needed to change the pom.xml again. I had to alter the version definition to 5.12.0. Otherwise Maven couldn't find it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Apr 2013 19:14:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adaption-of-the-designer/m-p/126002#M88680</guid>
      <dc:creator>norberts</dc:creator>
      <dc:date>2013-04-07T19:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Adaption of the Designer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adaption-of-the-designer/m-p/126003#M88681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Norbert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've done a Designer extension which is registered via the palette extension provider extension point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This lets you avoid the library path approach.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;See&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://github.com/jenkinsci/jenkow-plugin/tree/master/jenkow-designer-extension" rel="nofollow noopener noreferrer"&gt;https://github.com/jenkinsci/jenkow-plugin/tree/master/jenkow-designer-extension&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://github.com/jenkinsci/jenkow-plugin/blob/master/eclipse/com.cisco.surf.jenkow.ide.config/src/com/cisco/surf/jenkow/ide/config/PaletteProvider.java" rel="nofollow noopener noreferrer"&gt;https://github.com/jenkinsci/jenkow-plugin/blob/master/eclipse/com.cisco.surf.jenkow.ide.config/src/com/cisco/surf/jenkow/ide/config/PaletteProvider.java&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Not fully sure whether this is what you're looking for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Max&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Apr 2013 23:51:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adaption-of-the-designer/m-p/126003#M88681</guid>
      <dc:creator>m2spring</dc:creator>
      <dc:date>2013-04-08T23:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Adaption of the Designer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/adaption-of-the-designer/m-p/126004#M88682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah, whoops, I'll change it to 5.12.0…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 11:03:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/adaption-of-the-designer/m-p/126004#M88682</guid>
      <dc:creator>tiesebarrell</dc:creator>
      <dc:date>2013-04-09T11:03:47Z</dc:date>
    </item>
  </channel>
</rss>

