Bug in Eclipse Forms doc? [message #209917] |
Thu, 11 March 2004 21:24 |
Christian Hauser Messages: 189 Registered: July 2009 |
Senior Member |
|
|
Hello all (especially Dejan or who ever wrote this article)
I just looked at the Eclipse Forms documentation:
http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/pde-ui-h ome/working/EclipseForms/EclipseForms.html
And the first example (under 'getting started') IMHO has a bug:
public class FormView extends ViewPart {
...
private ScrolledForm form;
...
public void createPartControl(Composite parent) {
toolkit = new FormToolkit(parent.getDisplay());
form = toolkit.createForm(parent); // -->
toolkit.createScrolledForm(parent);
form.setText("Hello, Eclipse Forms");
}
...
}
Within the method createPartControl it says
toolkit.createForm(parent) instead of toolkit.createScrolledForm(parent).
You guys did a great work with Eclipse Forms (and this article). Thanks.
Christian
|
|
|
Powered by
FUDForum. Page generated in 0.05993 seconds