Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Regarding our new project!!!!
Regarding our new project!!!! [message #207003] Tue, 10 January 2006 05:29 Go to next message
Eclipse UserFriend
Originally posted by: gautamn_2002.yahoo.com

Hi,
we are building a editor as a plugin to eclipse IDE.The editor doesn't
have any graphical representations of some entities but we want to save
some information using dialog boxes (very much like as it happens in
ontology editor made by unicorn) (see the link
" http://www.unicorn.com/dip/eclipse_plugins/v0.2/20060101/Ont ologyEditorFactSheet.html").
We want to know what technology we should use SWT or GEF or any other.
Please let us know.
Regards,
Nitin Gautam,
Btech CSE,
IIT Kanpur.
Re: Regarding our new project!!!! [message #207097 is a reply to message #207003] Tue, 10 January 2006 19:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sunil_kamath.nohotspammail.com

Nitin Gautam <gautamn_2002@yahoo.com> wrote:
> Hi,
> we are building a editor as a plugin to eclipse IDE.The editor
> doesn't have any graphical representations of some entities but we
> want to save some information using dialog boxes (very much like as
> it happens in ontology editor made by unicorn) (see the link
> " http://www.unicorn.com/dip/eclipse_plugins/v0.2/20060101/Ont ologyEditorFactSheet.html").
> We want to know what technology we should use SWT or GEF or any
> other. Please let us know.

Use a FormEditor. (org.eclipse.ui.forms.editor.FormEditor)

--
Sunil
Re: Regarding our new project!!!! [message #207118 is a reply to message #207097] Wed, 11 January 2006 09:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gautamn_2002.yahoo.com

Hi,
can u provide us some information where we can find some notes/
tutorials related to this...
regards,
Nitin Gautam
Re: Regarding our new project!!!! [message #207204 is a reply to message #207118] Wed, 11 January 2006 21:05 Go to previous messageGo to next message
Eclipse UserFriend
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 #207226 is a reply to message #207118] Thu, 12 January 2006 05:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pavan_kg.yahoo.com

Support for Eclipse Forms

@

http://www.eclipseplugincentral.com/Web_Links+index-req-view link-cid-24.html


will help you a lot.



Pavan
Re: Regarding our new project!!!! [message #207296 is a reply to message #207226] Thu, 12 January 2006 09:49 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:How to draw a line without a rectangle constraint ?
Next Topic:Running/Editing the examples
Goto Forum:
  


Current Time: Thu Apr 25 17:50:03 GMT 2024

Powered by FUDForum. Page generated in 0.03144 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top