Zest integration [message #844731] |
Sat, 14 April 2012 09:36 |
|
Goodmorning at all.
I'm trying to include Zest packages in my e4 application.
When I try to add one of Zest Packages in my plugin.xml's dependencies I've got this error:
java.lang.RuntimeException: No application id has been found.
(Complete log is in the attachment)
I've seen that it could be caused by a missing dependence, but which one?
Does anyone know a solution?
Very thank you,
regards.
|
|
|
Re: Zest integration [message #845166 is a reply to message #844731] |
Sat, 14 April 2012 20:33 |
Eclipse User |
|
|
|
Judging just from the error log it looks like you are missing the org.eclipse.zest.core dependency.
Also make sure it is included in your run configuration: Run -> Run configurations...->(your app's running config)-> plugins tab
|
|
|
|
Re: Zest integration [message #856008 is a reply to message #844731] |
Wed, 25 April 2012 09:38 |
|
Thank you all, bug fixed.
But I don't know where I had to create my graph to see it in a part.
I've tryed in @PostConstruct method, but it doesn't work.
@PostConstruct
public void createControls(Composite parent) {
Graph g = new Graph(shell, SWT.NONE);
GraphNode n = new GraphNode(g, SWT.NONE, "Paper");
GraphNode n2 = new GraphNode(g, SWT.NONE, "Rock");
GraphNode n3 = new GraphNode(g, SWT.NONE, "Scissors");
new GraphConnection(g, SWT.NONE, n, n2);
new GraphConnection(g, SWT.NONE, n2, n3);
new GraphConnection(g, SWT.NONE, n3, n);
g.setLayoutAlgorithm(new SpringLayoutAlgorithm(LayoutStyles.NO_LAYOUT_NODE_RESIZING), true);
}
Part is still empty. Suggestions?
Very thanks for your kind.
|
|
|
|
|
Re: Zest integration [message #857065 is a reply to message #856466] |
Thu, 26 April 2012 08:06 |
|
Brian de Alwis wrote on Wed, 25 April 2012 19:35Tommaso De Sica wrote on Wed, 25 April 2012 05:38
@PostConstruct
public void createControls(Composite parent) {
Graph g = new Graph(shell, SWT.NONE);
Shouldn't that be (i.e., not shell).
It works. No other problems for the moment.
Thank you very much for help.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02194 seconds