Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Getting GEF Example to work seems pretty confusing task
Getting GEF Example to work seems pretty confusing task [message #156207] Sun, 31 October 2004 06:40 Go to next message
Eclipse UserFriend
Originally posted by: nikivancic.yahoo.com

While I am very recent Eclipse "fan", I am by no means a novice. However,
after many hours of trying to comply with the instructions found on
www.eclipse.org/wep, I had to give up and ask for advice here. While doing
that, I would also like to contribute with some of my experience, that may
result with easy improvements :-)

I decided not to use the proposed location for the Workspace, when run
Eclipse for the first time - instead I opted to place it somewhere outside
Eclipse's tree. That resulted with a large number of difficulties,
indicating perhaps that such configuration may not have been given it's fair
share of testing. Trying to save my time figuring all these problems (which
I may enumerate in a different context), I removed the Eclipse and started
afresh.

Installing it the second time (really just expanding the archive at the
location of my preference), I also kept the default location for the
workspace, and the very first thing I tried was to add some additional
plugins, using the Eclipse's own UI (Help -> Software Updates -> Find and
Install menu item). This resulted with a number of additional features,
which I all accepted (These included the GEF and VE - which I was after. The
"Update Wizard" initiated the download, and that resulted with the first
problem:

1. Each of the selected features, is preceeded with the dialog warning that
the requested "package" is not signed, giving me the chance to reject it.
This is very inconvenient, since there is not a global override of such
control - one has to sit next to the keyboard and continue accepting the
stuff that was specifically selected in the first step of the Wizard.
Besides, why are these features not signed, then ?

Next, reading randomly throught various Eclipse newsgroups I realized that
many users complain that Eclipse will not recognize the newly added
features. There is a reference somewhere to run the Eclipse with an
additional argument (-clean if I remember it right), something no too
convenient using a desktop based link to the eclipse.exe. I also found the
alternative (if it realy is), accessible via Product Configuration Dialog,
which offers the service "Search for updates for all installed features".
This leads to the second inconvenience:

2. Using the "Search for updates for all installed features" results in a
(potentially) circular situation, as I got each time the offer to install
something different than what I already had for EMF SDK and the Examples for
EMF. The last versions offered to me were 2.0.1.R200409171617 - certainly
different from what I started when updating the initial configuration.

3. My real aim was to try one of the GEF examples, after reading all that
was available from www.eclipse.org/wep, (except the book referenced there).
Realizing that I do have all that's needed already installed (at least I
think so):

10/30/2004 07:50 PM <DIR> org.eclipse.gef.doc.isv_3.0.1
10/30/2004 07:49 PM <DIR> org.eclipse.gef.examples.flow_3.0.1
10/30/2004 07:49 PM <DIR> org.eclipse.gef.examples.logic_3.0.0
10/30/2004 07:49 PM <DIR> org.eclipse.gef.examples.source_3.0.1
10/30/2004 07:50 PM <DIR> org.eclipse.gef.source_3.0.1
10/30/2004 07:49 PM <DIR> org.eclipse.gef_3.0.1

I tried the instructions from the WEP FAQ page, which specifically says:

a.. How do I Run the Logic Example?
Download the example that matches your version of GEF. Exit Eclipse and
unzip into the eclipse directory. Restart Eclipse and verify it was
installed by going to Help->About Eclipse Platform->Plug-in Details and
checking for Logic GEF Example in the list. Next, create a simple Project.
Then run the Logic Wizard. The wizard can be found at File->New->Other
(Control+N), under the Examples heading. Select the simple project as the
container in which the wizard will place the example document. The document
should open automatically when you press Finish.

This is a very confusing paragraph since each of the instructions can be
interpreted more then one way. Rather than discussing semantics here, I will
just say that I am still not able to do anything with these instruction -
anything more than getting a simple project, whose contents would be a
..project file and flowExample2.flow file in the case I selected the Flow
Diagram example as suggested in the FAQ.

Can someone explain what's going on here? Should I have selected a project
of a different type as a container? I tried that to no avail.

Thanks in advance
Re: Getting GEF Example to work seems pretty confusing task [message #156456 is a reply to message #156207] Mon, 01 November 2004 18:05 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
Once you have created a project, go to File -> New -> Examples and then pick
the GEF example (logic, flow or shapes) that you want to create.

"Nik Ivancic" <nikivancic@yahoo.com> wrote in message
news:cm21cd$882$1@eclipse.org...
> While I am very recent Eclipse "fan", I am by no means a novice. However,
> after many hours of trying to comply with the instructions found on
> www.eclipse.org/wep, I had to give up and ask for advice here. While doing
> that, I would also like to contribute with some of my experience, that may
> result with easy improvements :-)
>
> I decided not to use the proposed location for the Workspace, when run
> Eclipse for the first time - instead I opted to place it somewhere outside
> Eclipse's tree. That resulted with a large number of difficulties,
> indicating perhaps that such configuration may not have been given it's
fair
> share of testing. Trying to save my time figuring all these problems
(which
> I may enumerate in a different context), I removed the Eclipse and started
> afresh.
>
> Installing it the second time (really just expanding the archive at the
> location of my preference), I also kept the default location for the
> workspace, and the very first thing I tried was to add some additional
> plugins, using the Eclipse's own UI (Help -> Software Updates -> Find and
> Install menu item). This resulted with a number of additional features,
> which I all accepted (These included the GEF and VE - which I was after.
The
> "Update Wizard" initiated the download, and that resulted with the first
> problem:
>
> 1. Each of the selected features, is preceeded with the dialog warning
that
> the requested "package" is not signed, giving me the chance to reject it.
> This is very inconvenient, since there is not a global override of such
> control - one has to sit next to the keyboard and continue accepting the
> stuff that was specifically selected in the first step of the Wizard.
> Besides, why are these features not signed, then ?
>
> Next, reading randomly throught various Eclipse newsgroups I realized that
> many users complain that Eclipse will not recognize the newly added
> features. There is a reference somewhere to run the Eclipse with an
> additional argument (-clean if I remember it right), something no too
> convenient using a desktop based link to the eclipse.exe. I also found the
> alternative (if it realy is), accessible via Product Configuration Dialog,
> which offers the service "Search for updates for all installed features".
> This leads to the second inconvenience:
>
> 2. Using the "Search for updates for all installed features" results in a
> (potentially) circular situation, as I got each time the offer to install
> something different than what I already had for EMF SDK and the Examples
for
> EMF. The last versions offered to me were 2.0.1.R200409171617 - certainly
> different from what I started when updating the initial configuration.
>
> 3. My real aim was to try one of the GEF examples, after reading all that
> was available from www.eclipse.org/wep, (except the book referenced
there).
> Realizing that I do have all that's needed already installed (at least I
> think so):
>
> 10/30/2004 07:50 PM <DIR> org.eclipse.gef.doc.isv_3.0.1
> 10/30/2004 07:49 PM <DIR> org.eclipse.gef.examples.flow_3.0.1
> 10/30/2004 07:49 PM <DIR>
org.eclipse.gef.examples.logic_3.0.0
> 10/30/2004 07:49 PM <DIR>
org.eclipse.gef.examples.source_3.0.1
> 10/30/2004 07:50 PM <DIR> org.eclipse.gef.source_3.0.1
> 10/30/2004 07:49 PM <DIR> org.eclipse.gef_3.0.1
>
> I tried the instructions from the WEP FAQ page, which specifically says:
>
> a.. How do I Run the Logic Example?
> Download the example that matches your version of GEF. Exit Eclipse and
> unzip into the eclipse directory. Restart Eclipse and verify it was
> installed by going to Help->About Eclipse Platform->Plug-in Details and
> checking for Logic GEF Example in the list. Next, create a simple
Project.
> Then run the Logic Wizard. The wizard can be found at File->New->Other
> (Control+N), under the Examples heading. Select the simple project as the
> container in which the wizard will place the example document. The
document
> should open automatically when you press Finish.
>
> This is a very confusing paragraph since each of the instructions can be
> interpreted more then one way. Rather than discussing semantics here, I
will
> just say that I am still not able to do anything with these instruction -
> anything more than getting a simple project, whose contents would be a
> .project file and flowExample2.flow file in the case I selected the Flow
> Diagram example as suggested in the FAQ.
>
> Can someone explain what's going on here? Should I have selected a project
> of a different type as a container? I tried that to no avail.
>
> Thanks in advance
>
>
Re: Getting GEF Example to work seems pretty confusing task [message #156533 is a reply to message #156456] Tue, 02 November 2004 00:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nikivancic.yahoo.com

That is exactly what I did. Very precisely:

1. From the File->New->Project... wizard, I created the empty Java project.
The Navigator view
shows the presence of the .classpath and .project files only.

2. From the File->New->Example ... I selected the New Example Wizard. On
it's treeview
I further selected the GEF (Graphical Editing Framwork), Node expanded it
and selected the
Flow Diagram entry

3. Using all of the remaining defaults I finished the Wizard. As a result.
my TestGEF project folder
contents increased by a single file - flowExample2.flow, which is also
displayed in the Graphical
Editor under the title GEF Flow Example, together with the mathcing Palette.

No code of any kind - despite the fact that the peek into Plugins folder of
Eclipse shows all needed stuff.

What am I doing wrong, Pratik?


"Pratik Shah" <ppshah@us.ibm.com> wrote in message
news:cm5tt8$aqf$1@eclipse.org...
> Once you have created a project, go to File -> New -> Examples and then
> pick
> the GEF example (logic, flow or shapes) that you want to create.
>
> "Nik Ivancic" <nikivancic@yahoo.com> wrote in message
> news:cm21cd$882$1@eclipse.org...
>> While I am very recent Eclipse "fan", I am by no means a novice. However,
>> after many hours of trying to comply with the instructions found on
>> www.eclipse.org/wep, I had to give up and ask for advice here. While
>> doing
>> that, I would also like to contribute with some of my experience, that
>> may
>> result with easy improvements :-)
>>
>> I decided not to use the proposed location for the Workspace, when run
>> Eclipse for the first time - instead I opted to place it somewhere
>> outside
>> Eclipse's tree. That resulted with a large number of difficulties,
>> indicating perhaps that such configuration may not have been given it's
> fair
>> share of testing. Trying to save my time figuring all these problems
> (which
>> I may enumerate in a different context), I removed the Eclipse and
>> started
>> afresh.
>>
>> Installing it the second time (really just expanding the archive at the
>> location of my preference), I also kept the default location for the
>> workspace, and the very first thing I tried was to add some additional
>> plugins, using the Eclipse's own UI (Help -> Software Updates -> Find and
>> Install menu item). This resulted with a number of additional features,
>> which I all accepted (These included the GEF and VE - which I was after.
> The
>> "Update Wizard" initiated the download, and that resulted with the first
>> problem:
>>
>> 1. Each of the selected features, is preceeded with the dialog warning
> that
>> the requested "package" is not signed, giving me the chance to reject it.
>> This is very inconvenient, since there is not a global override of such
>> control - one has to sit next to the keyboard and continue accepting the
>> stuff that was specifically selected in the first step of the Wizard.
>> Besides, why are these features not signed, then ?
>>
>> Next, reading randomly throught various Eclipse newsgroups I realized
>> that
>> many users complain that Eclipse will not recognize the newly added
>> features. There is a reference somewhere to run the Eclipse with an
>> additional argument (-clean if I remember it right), something no too
>> convenient using a desktop based link to the eclipse.exe. I also found
>> the
>> alternative (if it realy is), accessible via Product Configuration
>> Dialog,
>> which offers the service "Search for updates for all installed features".
>> This leads to the second inconvenience:
>>
>> 2. Using the "Search for updates for all installed features" results in a
>> (potentially) circular situation, as I got each time the offer to install
>> something different than what I already had for EMF SDK and the Examples
> for
>> EMF. The last versions offered to me were 2.0.1.R200409171617 - certainly
>> different from what I started when updating the initial configuration.
>>
>> 3. My real aim was to try one of the GEF examples, after reading all that
>> was available from www.eclipse.org/wep, (except the book referenced
> there).
>> Realizing that I do have all that's needed already installed (at least I
>> think so):
>>
>> 10/30/2004 07:50 PM <DIR> org.eclipse.gef.doc.isv_3.0.1
>> 10/30/2004 07:49 PM <DIR>
>> org.eclipse.gef.examples.flow_3.0.1
>> 10/30/2004 07:49 PM <DIR>
> org.eclipse.gef.examples.logic_3.0.0
>> 10/30/2004 07:49 PM <DIR>
> org.eclipse.gef.examples.source_3.0.1
>> 10/30/2004 07:50 PM <DIR> org.eclipse.gef.source_3.0.1
>> 10/30/2004 07:49 PM <DIR> org.eclipse.gef_3.0.1
>>
>> I tried the instructions from the WEP FAQ page, which specifically says:
>>
>> a.. How do I Run the Logic Example?
>> Download the example that matches your version of GEF. Exit Eclipse and
>> unzip into the eclipse directory. Restart Eclipse and verify it was
>> installed by going to Help->About Eclipse Platform->Plug-in Details and
>> checking for Logic GEF Example in the list. Next, create a simple
> Project.
>> Then run the Logic Wizard. The wizard can be found at File->New->Other
>> (Control+N), under the Examples heading. Select the simple project as the
>> container in which the wizard will place the example document. The
> document
>> should open automatically when you press Finish.
>>
>> This is a very confusing paragraph since each of the instructions can be
>> interpreted more then one way. Rather than discussing semantics here, I
> will
>> just say that I am still not able to do anything with these instruction -
>> anything more than getting a simple project, whose contents would be a
>> .project file and flowExample2.flow file in the case I selected the Flow
>> Diagram example as suggested in the FAQ.
>>
>> Can someone explain what's going on here? Should I have selected a
>> project
>> of a different type as a container? I tried that to no avail.
>>
>> Thanks in advance
>>
>>
>
>
Re: Getting GEF Example to work seems pretty confusing task [message #156590 is a reply to message #156533] Tue, 02 November 2004 19:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

What are you trying to do? You want to see the code for the example and
GEF?

"Nik Ivancic" <nikivancic@yahoo.com> wrote in message
news:cm6k9b$g4g$1@eclipse.org...
> That is exactly what I did. Very precisely:
>
> 1. From the File->New->Project... wizard, I created the empty Java
project.
> The Navigator view
> shows the presence of the .classpath and .project files only.
>
> 2. From the File->New->Example ... I selected the New Example Wizard. On
> it's treeview
> I further selected the GEF (Graphical Editing Framwork), Node expanded it
> and selected the
> Flow Diagram entry
>
> 3. Using all of the remaining defaults I finished the Wizard. As a result.
> my TestGEF project folder
> contents increased by a single file - flowExample2.flow, which is also
> displayed in the Graphical
> Editor under the title GEF Flow Example, together with the mathcing
Palette.
>
> No code of any kind - despite the fact that the peek into Plugins folder
of
> Eclipse shows all needed stuff.
>
> What am I doing wrong, Pratik?
>
>
> "Pratik Shah" <ppshah@us.ibm.com> wrote in message
> news:cm5tt8$aqf$1@eclipse.org...
> > Once you have created a project, go to File -> New -> Examples and then
> > pick
> > the GEF example (logic, flow or shapes) that you want to create.
> >
> > "Nik Ivancic" <nikivancic@yahoo.com> wrote in message
> > news:cm21cd$882$1@eclipse.org...
> >> While I am very recent Eclipse "fan", I am by no means a novice.
However,
> >> after many hours of trying to comply with the instructions found on
> >> www.eclipse.org/wep, I had to give up and ask for advice here. While
> >> doing
> >> that, I would also like to contribute with some of my experience, that
> >> may
> >> result with easy improvements :-)
> >>
> >> I decided not to use the proposed location for the Workspace, when run
> >> Eclipse for the first time - instead I opted to place it somewhere
> >> outside
> >> Eclipse's tree. That resulted with a large number of difficulties,
> >> indicating perhaps that such configuration may not have been given it's
> > fair
> >> share of testing. Trying to save my time figuring all these problems
> > (which
> >> I may enumerate in a different context), I removed the Eclipse and
> >> started
> >> afresh.
> >>
> >> Installing it the second time (really just expanding the archive at the
> >> location of my preference), I also kept the default location for the
> >> workspace, and the very first thing I tried was to add some additional
> >> plugins, using the Eclipse's own UI (Help -> Software Updates -> Find
and
> >> Install menu item). This resulted with a number of additional features,
> >> which I all accepted (These included the GEF and VE - which I was
after.
> > The
> >> "Update Wizard" initiated the download, and that resulted with the
first
> >> problem:
> >>
> >> 1. Each of the selected features, is preceeded with the dialog warning
> > that
> >> the requested "package" is not signed, giving me the chance to reject
it.
> >> This is very inconvenient, since there is not a global override of such
> >> control - one has to sit next to the keyboard and continue accepting
the
> >> stuff that was specifically selected in the first step of the Wizard.
> >> Besides, why are these features not signed, then ?
> >>
> >> Next, reading randomly throught various Eclipse newsgroups I realized
> >> that
> >> many users complain that Eclipse will not recognize the newly added
> >> features. There is a reference somewhere to run the Eclipse with an
> >> additional argument (-clean if I remember it right), something no too
> >> convenient using a desktop based link to the eclipse.exe. I also found
> >> the
> >> alternative (if it realy is), accessible via Product Configuration
> >> Dialog,
> >> which offers the service "Search for updates for all installed
features".
> >> This leads to the second inconvenience:
> >>
> >> 2. Using the "Search for updates for all installed features" results in
a
> >> (potentially) circular situation, as I got each time the offer to
install
> >> something different than what I already had for EMF SDK and the
Examples
> > for
> >> EMF. The last versions offered to me were 2.0.1.R200409171617 -
certainly
> >> different from what I started when updating the initial configuration.
> >>
> >> 3. My real aim was to try one of the GEF examples, after reading all
that
> >> was available from www.eclipse.org/wep, (except the book referenced
> > there).
> >> Realizing that I do have all that's needed already installed (at least
I
> >> think so):
> >>
> >> 10/30/2004 07:50 PM <DIR> org.eclipse.gef.doc.isv_3.0.1
> >> 10/30/2004 07:49 PM <DIR>
> >> org.eclipse.gef.examples.flow_3.0.1
> >> 10/30/2004 07:49 PM <DIR>
> > org.eclipse.gef.examples.logic_3.0.0
> >> 10/30/2004 07:49 PM <DIR>
> > org.eclipse.gef.examples.source_3.0.1
> >> 10/30/2004 07:50 PM <DIR> org.eclipse.gef.source_3.0.1
> >> 10/30/2004 07:49 PM <DIR> org.eclipse.gef_3.0.1
> >>
> >> I tried the instructions from the WEP FAQ page, which specifically
says:
> >>
> >> a.. How do I Run the Logic Example?
> >> Download the example that matches your version of GEF. Exit Eclipse
and
> >> unzip into the eclipse directory. Restart Eclipse and verify it was
> >> installed by going to Help->About Eclipse Platform->Plug-in Details and
> >> checking for Logic GEF Example in the list. Next, create a simple
> > Project.
> >> Then run the Logic Wizard. The wizard can be found at File->New->Other
> >> (Control+N), under the Examples heading. Select the simple project as
the
> >> container in which the wizard will place the example document. The
> > document
> >> should open automatically when you press Finish.
> >>
> >> This is a very confusing paragraph since each of the instructions can
be
> >> interpreted more then one way. Rather than discussing semantics here, I
> > will
> >> just say that I am still not able to do anything with these
instruction -
> >> anything more than getting a simple project, whose contents would be a
> >> .project file and flowExample2.flow file in the case I selected the
Flow
> >> Diagram example as suggested in the FAQ.
> >>
> >> Can someone explain what's going on here? Should I have selected a
> >> project
> >> of a different type as a container? I tried that to no avail.
> >>
> >> Thanks in advance
> >>
> >>
> >
> >
>
>
Re: Getting GEF Example to work seems pretty confusing task [message #156599 is a reply to message #156533] Tue, 02 November 2004 20:38 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
> >> a.. How do I Run the Logic Example?

You said you wanted to run that example. If you want to look at or modify
its code, you need to import the plugins into your workspace. Right-click
in the Package Explorer, and select Import -> External Plugins and
Fragments.

"Nik Ivancic" <nikivancic@yahoo.com> wrote in message
news:cm6k9b$g4g$1@eclipse.org...
> That is exactly what I did. Very precisely:
>
> 1. From the File->New->Project... wizard, I created the empty Java
project.
> The Navigator view
> shows the presence of the .classpath and .project files only.
>
> 2. From the File->New->Example ... I selected the New Example Wizard. On
> it's treeview
> I further selected the GEF (Graphical Editing Framwork), Node expanded it
> and selected the
> Flow Diagram entry
>
> 3. Using all of the remaining defaults I finished the Wizard. As a result.
> my TestGEF project folder
> contents increased by a single file - flowExample2.flow, which is also
> displayed in the Graphical
> Editor under the title GEF Flow Example, together with the mathcing
Palette.
>
> No code of any kind - despite the fact that the peek into Plugins folder
of
> Eclipse shows all needed stuff.
>
> What am I doing wrong, Pratik?
>
>
> "Pratik Shah" <ppshah@us.ibm.com> wrote in message
> news:cm5tt8$aqf$1@eclipse.org...
> > Once you have created a project, go to File -> New -> Examples and then
> > pick
> > the GEF example (logic, flow or shapes) that you want to create.
> >
> > "Nik Ivancic" <nikivancic@yahoo.com> wrote in message
> > news:cm21cd$882$1@eclipse.org...
> >> While I am very recent Eclipse "fan", I am by no means a novice.
However,
> >> after many hours of trying to comply with the instructions found on
> >> www.eclipse.org/wep, I had to give up and ask for advice here. While
> >> doing
> >> that, I would also like to contribute with some of my experience, that
> >> may
> >> result with easy improvements :-)
> >>
> >> I decided not to use the proposed location for the Workspace, when run
> >> Eclipse for the first time - instead I opted to place it somewhere
> >> outside
> >> Eclipse's tree. That resulted with a large number of difficulties,
> >> indicating perhaps that such configuration may not have been given it's
> > fair
> >> share of testing. Trying to save my time figuring all these problems
> > (which
> >> I may enumerate in a different context), I removed the Eclipse and
> >> started
> >> afresh.
> >>
> >> Installing it the second time (really just expanding the archive at the
> >> location of my preference), I also kept the default location for the
> >> workspace, and the very first thing I tried was to add some additional
> >> plugins, using the Eclipse's own UI (Help -> Software Updates -> Find
and
> >> Install menu item). This resulted with a number of additional features,
> >> which I all accepted (These included the GEF and VE - which I was
after.
> > The
> >> "Update Wizard" initiated the download, and that resulted with the
first
> >> problem:
> >>
> >> 1. Each of the selected features, is preceeded with the dialog warning
> > that
> >> the requested "package" is not signed, giving me the chance to reject
it.
> >> This is very inconvenient, since there is not a global override of such
> >> control - one has to sit next to the keyboard and continue accepting
the
> >> stuff that was specifically selected in the first step of the Wizard.
> >> Besides, why are these features not signed, then ?
> >>
> >> Next, reading randomly throught various Eclipse newsgroups I realized
> >> that
> >> many users complain that Eclipse will not recognize the newly added
> >> features. There is a reference somewhere to run the Eclipse with an
> >> additional argument (-clean if I remember it right), something no too
> >> convenient using a desktop based link to the eclipse.exe. I also found
> >> the
> >> alternative (if it realy is), accessible via Product Configuration
> >> Dialog,
> >> which offers the service "Search for updates for all installed
features".
> >> This leads to the second inconvenience:
> >>
> >> 2. Using the "Search for updates for all installed features" results in
a
> >> (potentially) circular situation, as I got each time the offer to
install
> >> something different than what I already had for EMF SDK and the
Examples
> > for
> >> EMF. The last versions offered to me were 2.0.1.R200409171617 -
certainly
> >> different from what I started when updating the initial configuration.
> >>
> >> 3. My real aim was to try one of the GEF examples, after reading all
that
> >> was available from www.eclipse.org/wep, (except the book referenced
> > there).
> >> Realizing that I do have all that's needed already installed (at least
I
> >> think so):
> >>
> >> 10/30/2004 07:50 PM <DIR> org.eclipse.gef.doc.isv_3.0.1
> >> 10/30/2004 07:49 PM <DIR>
> >> org.eclipse.gef.examples.flow_3.0.1
> >> 10/30/2004 07:49 PM <DIR>
> > org.eclipse.gef.examples.logic_3.0.0
> >> 10/30/2004 07:49 PM <DIR>
> > org.eclipse.gef.examples.source_3.0.1
> >> 10/30/2004 07:50 PM <DIR> org.eclipse.gef.source_3.0.1
> >> 10/30/2004 07:49 PM <DIR> org.eclipse.gef_3.0.1
> >>
> >> I tried the instructions from the WEP FAQ page, which specifically
says:
> >>
> >> a.. How do I Run the Logic Example?
> >> Download the example that matches your version of GEF. Exit Eclipse
and
> >> unzip into the eclipse directory. Restart Eclipse and verify it was
> >> installed by going to Help->About Eclipse Platform->Plug-in Details and
> >> checking for Logic GEF Example in the list. Next, create a simple
> > Project.
> >> Then run the Logic Wizard. The wizard can be found at File->New->Other
> >> (Control+N), under the Examples heading. Select the simple project as
the
> >> container in which the wizard will place the example document. The
> > document
> >> should open automatically when you press Finish.
> >>
> >> This is a very confusing paragraph since each of the instructions can
be
> >> interpreted more then one way. Rather than discussing semantics here, I
> > will
> >> just say that I am still not able to do anything with these
instruction -
> >> anything more than getting a simple project, whose contents would be a
> >> .project file and flowExample2.flow file in the case I selected the
Flow
> >> Diagram example as suggested in the FAQ.
> >>
> >> Can someone explain what's going on here? Should I have selected a
> >> project
> >> of a different type as a container? I tried that to no avail.
> >>
> >> Thanks in advance
> >>
> >>
> >
> >
>
>
Re: Getting GEF Example to work seems pretty confusing task [message #156628 is a reply to message #156599] Tue, 02 November 2004 21:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nikivancic.yahoo.com

Thanks, Pratik - I thought so too. However, I was mislead by the GEF FAQ #
3,
posted at http://www.eclipse.org/gef/, which specifically states:

How do I Run the Logic Example?
Download the example that matches your version of GEF. Exit Eclipse and
unzip into the eclipse directory. Restart Eclipse and verify it was
installed by going to Help->About Eclipse Platform->Plug-in Details and
checking for Logic GEF Example in the list. Next, create a simple Project.
Then run the Logic Wizard. The wizard can be found at File->New->Other
(Control+N), under the Examples heading. Select the simple project as the
container in which the wizard will place the example document. The document
should open automatically when you press Finish.

It would be a good idea to correct the above paragraph, as there will likely
be others who
will be as confused as I was.


"Pratik Shah" <ppshah@us.ibm.com> wrote in message
news:cm8r71$iie$1@eclipse.org...
>> >> a.. How do I Run the Logic Example?
>
> You said you wanted to run that example. If you want to look at or modify
> its code, you need to import the plugins into your workspace. Right-click
> in the Package Explorer, and select Import -> External Plugins and
> Fragments.
>
> "Nik Ivancic" <nikivancic@yahoo.com> wrote in message
> news:cm6k9b$g4g$1@eclipse.org...
>> That is exactly what I did. Very precisely:
>>
>> 1. From the File->New->Project... wizard, I created the empty Java
> project.
>> The Navigator view
>> shows the presence of the .classpath and .project files only.
>>
>> 2. From the File->New->Example ... I selected the New Example Wizard. On
>> it's treeview
>> I further selected the GEF (Graphical Editing Framwork), Node expanded it
>> and selected the
>> Flow Diagram entry
>>
>> 3. Using all of the remaining defaults I finished the Wizard. As a
>> result.
>> my TestGEF project folder
>> contents increased by a single file - flowExample2.flow, which is also
>> displayed in the Graphical
>> Editor under the title GEF Flow Example, together with the mathcing
> Palette.
>>
>> No code of any kind - despite the fact that the peek into Plugins folder
> of
>> Eclipse shows all needed stuff.
>>
>> What am I doing wrong, Pratik?
>>
>>
>> "Pratik Shah" <ppshah@us.ibm.com> wrote in message
>> news:cm5tt8$aqf$1@eclipse.org...
>> > Once you have created a project, go to File -> New -> Examples and then
>> > pick
>> > the GEF example (logic, flow or shapes) that you want to create.
>> >
>> > "Nik Ivancic" <nikivancic@yahoo.com> wrote in message
>> > news:cm21cd$882$1@eclipse.org...
>> >> While I am very recent Eclipse "fan", I am by no means a novice.
> However,
>> >> after many hours of trying to comply with the instructions found on
>> >> www.eclipse.org/wep, I had to give up and ask for advice here. While
>> >> doing
>> >> that, I would also like to contribute with some of my experience, that
>> >> may
>> >> result with easy improvements :-)
>> >>
>> >> I decided not to use the proposed location for the Workspace, when run
>> >> Eclipse for the first time - instead I opted to place it somewhere
>> >> outside
>> >> Eclipse's tree. That resulted with a large number of difficulties,
>> >> indicating perhaps that such configuration may not have been given
>> >> it's
>> > fair
>> >> share of testing. Trying to save my time figuring all these problems
>> > (which
>> >> I may enumerate in a different context), I removed the Eclipse and
>> >> started
>> >> afresh.
>> >>
>> >> Installing it the second time (really just expanding the archive at
>> >> the
>> >> location of my preference), I also kept the default location for the
>> >> workspace, and the very first thing I tried was to add some additional
>> >> plugins, using the Eclipse's own UI (Help -> Software Updates -> Find
> and
>> >> Install menu item). This resulted with a number of additional
>> >> features,
>> >> which I all accepted (These included the GEF and VE - which I was
> after.
>> > The
>> >> "Update Wizard" initiated the download, and that resulted with the
> first
>> >> problem:
>> >>
>> >> 1. Each of the selected features, is preceeded with the dialog warning
>> > that
>> >> the requested "package" is not signed, giving me the chance to reject
> it.
>> >> This is very inconvenient, since there is not a global override of
>> >> such
>> >> control - one has to sit next to the keyboard and continue accepting
> the
>> >> stuff that was specifically selected in the first step of the Wizard.
>> >> Besides, why are these features not signed, then ?
>> >>
>> >> Next, reading randomly throught various Eclipse newsgroups I realized
>> >> that
>> >> many users complain that Eclipse will not recognize the newly added
>> >> features. There is a reference somewhere to run the Eclipse with an
>> >> additional argument (-clean if I remember it right), something no too
>> >> convenient using a desktop based link to the eclipse.exe. I also found
>> >> the
>> >> alternative (if it realy is), accessible via Product Configuration
>> >> Dialog,
>> >> which offers the service "Search for updates for all installed
> features".
>> >> This leads to the second inconvenience:
>> >>
>> >> 2. Using the "Search for updates for all installed features" results
>> >> in
> a
>> >> (potentially) circular situation, as I got each time the offer to
> install
>> >> something different than what I already had for EMF SDK and the
> Examples
>> > for
>> >> EMF. The last versions offered to me were 2.0.1.R200409171617 -
> certainly
>> >> different from what I started when updating the initial configuration.
>> >>
>> >> 3. My real aim was to try one of the GEF examples, after reading all
> that
>> >> was available from www.eclipse.org/wep, (except the book referenced
>> > there).
>> >> Realizing that I do have all that's needed already installed (at least
> I
>> >> think so):
>> >>
>> >> 10/30/2004 07:50 PM <DIR> org.eclipse.gef.doc.isv_3.0.1
>> >> 10/30/2004 07:49 PM <DIR>
>> >> org.eclipse.gef.examples.flow_3.0.1
>> >> 10/30/2004 07:49 PM <DIR>
>> > org.eclipse.gef.examples.logic_3.0.0
>> >> 10/30/2004 07:49 PM <DIR>
>> > org.eclipse.gef.examples.source_3.0.1
>> >> 10/30/2004 07:50 PM <DIR> org.eclipse.gef.source_3.0.1
>> >> 10/30/2004 07:49 PM <DIR> org.eclipse.gef_3.0.1
>> >>
>> >> I tried the instructions from the WEP FAQ page, which specifically
> says:
>> >>
>> >> a.. How do I Run the Logic Example?
>> >> Download the example that matches your version of GEF. Exit Eclipse
> and
>> >> unzip into the eclipse directory. Restart Eclipse and verify it was
>> >> installed by going to Help->About Eclipse Platform->Plug-in Details
>> >> and
>> >> checking for Logic GEF Example in the list. Next, create a simple
>> > Project.
>> >> Then run the Logic Wizard. The wizard can be found at File->New->Other
>> >> (Control+N), under the Examples heading. Select the simple project as
> the
>> >> container in which the wizard will place the example document. The
>> > document
>> >> should open automatically when you press Finish.
>> >>
>> >> This is a very confusing paragraph since each of the instructions can
> be
>> >> interpreted more then one way. Rather than discussing semantics here,
>> >> I
>> > will
>> >> just say that I am still not able to do anything with these
> instruction -
>> >> anything more than getting a simple project, whose contents would be a
>> >> .project file and flowExample2.flow file in the case I selected the
> Flow
>> >> Diagram example as suggested in the FAQ.
>> >>
>> >> Can someone explain what's going on here? Should I have selected a
>> >> project
>> >> of a different type as a container? I tried that to no avail.
>> >>
>> >> Thanks in advance
>> >>
>> >>
>> >
>> >
>>
>>
>
>
Re: Getting GEF Example to work seems pretty confusing task [message #156666 is a reply to message #156628] Wed, 03 November 2004 16:23 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

The importart word here being "Run".

> How do I Run the Logic Example?
> Download the example that matches your version of GEF. Exit Eclipse and
> unzip into the eclipse directory. Restart Eclipse and verify it was
> installed by going to Help->About Eclipse Platform->Plug-in Details and
> checking for Logic GEF Example in the list. Next, create a simple
Project.
> Then run the Logic Wizard. The wizard can be found at File->New->Other
> (Control+N), under the Examples heading. Select the simple project as the
> container in which the wizard will place the example document. The
document
> should open automatically when you press Finish.
>
> It would be a good idea to correct the above paragraph, as there will
likely
> be others who
> will be as confused as I was.
>
>
Previous Topic:GEF out side the Eclipse IDE
Next Topic:how to add doubleClickAction To org.eclipse.gef.ui.parts.TreeViewer
Goto Forum:
  


Current Time: Sat Aug 17 17:50:38 GMT 2024

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

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

Back to the top