| Author |
SWT-Chart example problem to execute
|
Mic Tadlo
Greenhorn
Joined: Sep 07, 2012
Posts: 2
|
|
Hello,
I checked out SWT-Chart with the following command:
Then I imported org.swtchart.ext in my eclipse's workspace, but I am not able to run it, because I can not find the class which contain the main method.
How is it possible to run this example?
Thank you in advance.
|
 |
Kemal Sokolovic
Bartender
Joined: Jun 19, 2010
Posts: 792
|
|
Checkout org.swtchart.examples/, it contains lots of examples that can be run.
Or, write your own examples that demonstrate the usage of code you already have.
|
The quieter you are, the more you are able to hear.
|
 |
Mic Tadlo
Greenhorn
Joined: Sep 07, 2012
Posts: 2
|
|
org.swtchart.examples are working, but they do not have any examples eg. how to zoom or select and therefore I tried to get org.swtchart.ext running.
Is there any reason why org.swtchart.ext does not contain any main method?
|
 |
Kemal Sokolovic
Bartender
Joined: Jun 19, 2010
Posts: 792
|
|
The source code is (probably) intended to be used as a library.
It's like when you develop separate component (of any kind), you certainly won't put main method inside your code; you can additionally provide some examples as separate classes, which is the case here, to demonstrate some of the functionalities your component provides.
The code looks very well documented, so I think it won't be too difficult to write an example on your own for the functionality you want to examin.
EDIT: There is an example provided in org.swtchart.examples.ext/ that you can further modify, but you should be familiar with plugin development.
|
 |
 |
|
|
subject: SWT-Chart example problem to execute
|
|
|