cancel
Showing results for 
Search instead for 
Did you mean: 

Using Vaadin Eclipse-Plugin for extending the activiti-explorer

b_schnarr
Champ in-the-making
Champ in-the-making
Hello at all,

I need to extend the activiti explorer that it fits to our requirements. Therefore, I installed the Vaadin Plugin for eclipse. After that,  I checked out the wholeactiviti project from https://github.com/Activiti/Activiti with the import git project wizard in eclipse. After that, I converted the whole project into a maven project (right click on the project, configure, convert to maven project)

My question is: how can I use the vaadin visual editor to graphically edit the activiti explorer. When I open a java class in the activiti-explorer package, I do not succeed in opening the vaadin visual editor.
Did I miss something?

Best regards and thanks for your help
Ben
2 REPLIES 2

b_schnarr
Champ in-the-making
Champ in-the-making
When I try to open a java-file with the vaadin visual editor, I get the following message:

Could not open design view:
Failed to find or parse visually editable class
caused by
Activiti does not exist

with the following stacktrace:

<code>
org.eclipse.core.runtime.CoreException: Failed to find or parse visually editable class
at com.vaadin.visualdesigner.eclipse.util.VisualDesignerPluginUtil.newCoreException(VisualDesignerPluginUtil.java:69)
at com.vaadin.visualdesigner.eclipse.editors.VaadinEditor.startServer(VaadinEditor.java:624)
at com.vaadin.visualdesigner.eclipse.editors.VaadinEditor.pageChange(VaadinEditor.java:280)
at org.eclipse.ui.part.MultiPageEditorPart$2.widgetSelected(MultiPageEditorPart.java:292)
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:1057)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1081)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:778)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3080)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1772)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:279)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)
Caused by: Java Model Exception: Java Model Status [Activiti does not exist]
at org.eclipse.jdt.internal.core.JavaElement.newJavaModelException(JavaElement.java:508)
at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:246)
at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:521)
at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:258)
at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:244)
at org.eclipse.jdt.internal.core.JavaProject.getJavaProjectElementInfo(JavaProject.java:1641)
at org.eclipse.jdt.internal.core.JavaProject.newNameLookup(JavaProject.java:2328)
at org.eclipse.jdt.internal.core.JavaProject.newNameLookup(JavaProject.java:2338)
at org.eclipse.jdt.internal.core.JavaProject.findType(JavaProject.java:1356)
at org.eclipse.jdt.internal.core.JavaProject.findType(JavaProject.java:1263)
at com.vaadin.visualdesigner.eclipse.java.EclipseJavaUtil.checkVisualClass(EclipseJavaUtil.java:140)
at com.vaadin.visualdesigner.eclipse.java.EclipseJavaParser.parseClass(EclipseJavaParser.java:89)
at com.vaadin.visualdesigner.eclipse.java.EclipseJavaParser.parseClass(EclipseJavaParser.java:71)
at com.vaadin.visualdesigner.eclipse.editors.VaadinEditor.getModelFromJava(VaadinEditor.java:456)
at com.vaadin.visualdesigner.eclipse.editors.VaadinEditor.startServer(VaadinEditor.java:546)
… 37 more
</code>

Has anyone an idea?

jbarrez
Star Contributor
Star Contributor
Nope, sorry, I never used the Eclipse plugin for Vaadin … I don't really like these builders for UI's.
Getting started

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.