|
|
|
Re: Regarding our new project!!!! [message #207204 is a reply to message #207118] |
Wed, 11 January 2006 21:05 |
Eclipse User |
|
|
|
Originally posted by: sunil_kamath.nohotspammail.com
Nitin Gautam <gautamn_2002@yahoo.com> wrote:
> Hi,
> can u provide us some information where we can find some notes/
> tutorials related to this...
Read the documentation. Open Eclipse help and search for FormEditor. See the
PDE plugin.xml editor for an example.
--
Sunil
|
|
|
|
Re: Regarding our new project!!!! [message #207296 is a reply to message #207226] |
Thu, 12 January 2006 09:49 |
Eclipse User |
|
|
|
Originally posted by: gautamn_2002.yahoo.com
thanks a lot friends ...
i have created a form and want to run this ....the tutorial say that
run by registering this view with the workbench and run...how to do
that...i mean run the application.
regards,
nitin.
//////////////////////////////////////////////////////////// ///////////
package org.eclipse.ui.forms.examples.views;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.forms.widgets.*;
import org.eclipse.ui.part.ViewPart;
public class FormView extends ViewPart {
private FormToolkit toolkit;
private ScrolledForm form;
/**
* This is a callback that will allow us
* to create the viewer and initialize it.
*/
public void createPartControl(Composite parent) {
toolkit = new FormToolkit(parent.getDisplay());
form = toolkit.createForm(parent);
form.setText("Hello, Eclipse Forms");
}
/**
* Passing the focus request to the form.
*/
public void setFocus() {
form.setFocus();
}
/**
* Disposes the toolkit.
*/
public void dispose() {
toolkit.dispose();
super.dispose();
}
}
|
|
|
Re: Regarding our new project!!!! [message #207299 is a reply to message #207296] |
Thu, 12 January 2006 18:51 |
Eclipse User |
|
|
|
Originally posted by: sunil_kamath.nohotspammail.com
Nitin Gautam <gautamn_2002@yahoo.com> wrote:
> thanks a lot friends ...
>
> i have created a form and want to run this ....the tutorial say that
> run by registering this view with the workbench and run...how to do
> that...i mean run the application.
I think you need to read the documentation on Plugin development. Read the
"Platform Plug-in Developer Guide" in Eclipse help.
That will answer your questions much quicker than posting them in the
newsgroup and waiting for someone to help out.
--
Sunil
|
|
|
Powered by
FUDForum. Page generated in 0.03144 seconds