04-03-2013 08:02 AM
04-03-2013 03:47 PM
04-04-2013 11:01 AM
<project
…
<name>Acme Corporation Money Tasks</name>
…
</pom>
I guess it's supposed to be </project> and not </pom>. Just pointing this out. <version>5.7</version> <!– Current Activiti Designer Version –>
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.ActivitiDiagramEditor editor = (ActivitiDiagramEditor) PlatformUI
.getWorkbench().getActiveWorkbenchWindow().getActivePage()
.getActiveEditor();
Diagram diagram = editor.getDiagramTypeProvider().getDiagram();
final EList<EObject> contents = diagram.eResource().getContents();
04-04-2013 12:08 PM
Hey Tiese,
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.
04-04-2013 02:03 PM
04-05-2013 05:36 AM
Unable to create editor ID org.activiti.designer.editor.diagramEditor: An exception was thrown during initialization
java.lang.IllegalArgumentException: Argument cannot be null
at org.eclipse.swt.SWT.error(SWT.java:4263)
at org.eclipse.swt.SWT.error(SWT.java:4197)
at org.eclipse.swt.SWT.error(SWT.java:4168)
at org.eclipse.swt.graphics.ImageLoader.load(ImageLoader.java:128)
at org.eclipse.swt.graphics.ImageDataLoader.load(ImageDataLoader.java:22)
at org.eclipse.swt.graphics.ImageData.<init>(ImageData.java:331)
at org.eclipse.swt.graphics.Image.<init>(Image.java:545)
at org.activiti.designer.diagram.ActivitiToolBehaviorProvider.getPalette(ActivitiToolBehaviorProvider.java:682)
at org.eclipse.graphiti.ui.internal.editor.GFPaletteRoot.updatePaletteEntries(GFPaletteRoot.java:104)
at org.eclipse.graphiti.ui.internal.editor.GFPaletteRoot.<init>(GFPaletteRoot.java:80)
at org.eclipse.graphiti.ui.editor.DefaultPaletteBehavior.createPaletteRoot(DefaultPaletteBehavior.java:103)
at org.eclipse.graphiti.ui.editor.DefaultPaletteBehavior.getPaletteRoot(DefaultPaletteBehavior.java:115)
at org.eclipse.graphiti.ui.editor.DiagramEditor.getPaletteRoot(DiagramEditor.java:940)
at org.eclipse.gef.ui.parts.GraphicalEditorWithFlyoutPalette.setEditDomain(GraphicalEditorWithFlyoutPalette.java:145)
at org.eclipse.graphiti.ui.editor.DiagramEditor.setConfigurationProvider(DiagramEditor.java:1890)
at org.eclipse.graphiti.ui.editor.DiagramEditor.setInput(DiagramEditor.java:553)
at org.activiti.designer.eclipse.editor.ActivitiDiagramEditor.setInput(ActivitiDiagramEditor.java:278)
at org.eclipse.graphiti.ui.editor.DiagramEditor.init(DiagramEditor.java:447)
at org.activiti.designer.eclipse.editor.ActivitiDiagramEditor.init(ActivitiDiagramEditor.java:131)
…
04-07-2013 10:50 AM
04-07-2013 10:53 AM
04-07-2013 03:14 PM
04-08-2013 07:51 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.