Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Understanding the GEF examples
Understanding the GEF examples [message #154683] Thu, 21 October 2004 02:45 Go to next message
Eclipse UserFriend
Originally posted by: ranjit.notMyId.com

I have gone through the Rebook and the wiki tutorials so far.
I think I have pretty much grasped the basic concepts of GEF and how it
works. However whenever I try to test my knowledge of GEF by trying to
understand how the given examples work (I have been using flow example
most of the time) I get lost somewhere in my walk-through.
Is there a small writeup or description which would say how the
different packages/classes come together to get the desired functionality?
I know I may be asking for too much but if there is one out there, that
would be great.

Thanks.
Re: Understanding the GEF examples [message #154814 is a reply to message #154683] Thu, 21 October 2004 18:10 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
I'm not sure what exactly you're looking for (other than what is already
available). We might be able to help you if you ask more specific
questions.

"Ranjit" <ranjit@notMyId.com> wrote in message
news:cl77g6$g68$1@eclipse.org...
>
> I have gone through the Rebook and the wiki tutorials so far.
> I think I have pretty much grasped the basic concepts of GEF and how it
> works. However whenever I try to test my knowledge of GEF by trying to
> understand how the given examples work (I have been using flow example
> most of the time) I get lost somewhere in my walk-through.
> Is there a small writeup or description which would say how the
> different packages/classes come together to get the desired functionality?
> I know I may be asking for too much but if there is one out there, that
> would be great.
>
> Thanks.
Re: Understanding the GEF examples [message #154865 is a reply to message #154814] Thu, 21 October 2004 18:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ranjit.notMyId.com

Pratik:

Infact I wanted to extend the flow example to see if I have got a hang
of GEF. I tried adding one more item (activity2) to the palette and
created model & part class for the same. I extended the basic Activity
class so that I would have to do minimal coding and still able to test
my changes.
However whenever I tried to drag and drop my new item on to the canvas I
get null pointer exception. On debugging I noticed that the model class
that get's sent is null and not getting created.
So I was wondering what is the flow of control when I drap something
from the palettee and drop it on to the canvas.

Thanks

Pratik Shah wrote:
> I'm not sure what exactly you're looking for (other than what is already
> available). We might be able to help you if you ask more specific
> questions.
>
> "Ranjit" <ranjit@notMyId.com> wrote in message
> news:cl77g6$g68$1@eclipse.org...
>
>>I have gone through the Rebook and the wiki tutorials so far.
>>I think I have pretty much grasped the basic concepts of GEF and how it
>>works. However whenever I try to test my knowledge of GEF by trying to
>>understand how the given examples work (I have been using flow example
>>most of the time) I get lost somewhere in my walk-through.
>>Is there a small writeup or description which would say how the
>>different packages/classes come together to get the desired functionality?
>>I know I may be asking for too much but if there is one out there, that
>>would be great.
>>
>>Thanks.
>
>
>
Re: Understanding the GEF examples [message #155158 is a reply to message #154865] Fri, 22 October 2004 14:55 Go to previous message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
When you create your ToolEntry (CombinedTemplateCreationEntry) for the
palette, you need to provide a CreationFactory that will create the new
object to be added by the tool.

"Ranjit" <ranjit@notMyId.com> wrote in message
news:cl90ad$3vi$1@eclipse.org...
> Pratik:
>
> Infact I wanted to extend the flow example to see if I have got a hang
> of GEF. I tried adding one more item (activity2) to the palette and
> created model & part class for the same. I extended the basic Activity
> class so that I would have to do minimal coding and still able to test
> my changes.
> However whenever I tried to drag and drop my new item on to the canvas I
> get null pointer exception. On debugging I noticed that the model class
> that get's sent is null and not getting created.
> So I was wondering what is the flow of control when I drap something
> from the palettee and drop it on to the canvas.
>
> Thanks
>
> Pratik Shah wrote:
> > I'm not sure what exactly you're looking for (other than what is already
> > available). We might be able to help you if you ask more specific
> > questions.
> >
> > "Ranjit" <ranjit@notMyId.com> wrote in message
> > news:cl77g6$g68$1@eclipse.org...
> >
> >>I have gone through the Rebook and the wiki tutorials so far.
> >>I think I have pretty much grasped the basic concepts of GEF and how it
> >>works. However whenever I try to test my knowledge of GEF by trying to
> >>understand how the given examples work (I have been using flow example
> >>most of the time) I get lost somewhere in my walk-through.
> >>Is there a small writeup or description which would say how the
> >>different packages/classes come together to get the desired
functionality?
> >>I know I may be asking for too much but if there is one out there, that
> >>would be great.
> >>
> >>Thanks.
> >
> >
> >
Previous Topic:GEF'S logicone model to two figure?
Next Topic:Content assist in GEF
Goto Forum:
  


Current Time: Fri Apr 19 03:40:47 GMT 2024

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

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

Back to the top