Hi,
In an
attempt to create my own GEF editor, I extended the org.eclipse.ui.part.EditorPart
class and tried to implement the CreatePartControl method. Please look at the
code fragment below:
public void CreatePartControl(Composite parent)
{
Label label = new Label(parent, SWT.WRAP);
label.setText("Hello World");
}
I imported the
required packages and the “Label” class gets resolved properly.
However, I keep getting the error
“Class
must implement the inherited abstract method WorkbenchPart.CreatePartControl(Composite)”.
Also, the “import org.eclipse.ui.part.WorkbenchPart;” statement gives the message “The
import is never used”.
I read the IBM redbook
manual and also the GEF help contents with no avail. Could someone please
clarify?
-----Original Message-----
From: gef-dev-admin@xxxxxxxxxxx
[mailto:gef-dev-admin@xxxxxxxxxxx] On Behalf
Of Randy Hudson
Sent: Friday, January
23, 2004 1:50 PM
To: gef-dev@xxxxxxxxxxx
Subject: Re: [gef-dev]
Non-standard shapes
I don't know anything about photoshop
"shapes". You can paint Images in GEF, or make mulitple
graphics calls to draw the shape yourself.
Questions
like this are best asked on the newsgroup:
news://news.eclpise.org/eclipse.tools.gef
-randy
|
"Ted Shab"
<tshab@xxxxxxxxx>
Sent
by: gef-dev-admin@xxxxxxxxxxx
01/23/2004 01:49 PM
Please
respond to gef-dev
|
To: <gef-dev@xxxxxxxxxxx>
cc:
Subject: [gef-dev]
Non-standard shapes
|
Hi,
I have some non-standard shapes created in
Photoshop that I'd like to use as
GUI elements. Can anyone point me to some
resources for accomplishing this
sort of thing?
Best,
Ted
_______________________________________________
gef-dev mailing list
gef-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/gef-dev