Home » Eclipse Projects » GEF » KeyListeners in ClassDiagram Using Draw2d
KeyListeners in ClassDiagram Using Draw2d [message #147685] |
Mon, 16 August 2004 06:47 |
Eclipse User |
|
|
|
Originally posted by: mazharshaikh.iopsis.com
Hello,
I have created a class diagram using the Reference article mentioned
in GEF. I also added the functionality of Grabhandle and Dragging of
ClassDiagram using connection, decorations and etc using Draw2d API. Its all
working fine.
Now i want to add the Functionality as follows ::
1) When I create a classdiagram through grabhandle and others ... So i
needed a functionality that will allow me to select multiple classdiagram
when pressed Key of "CONTROL" and i can drag all the selected classdiagram.
2) Since all the classdiagrams are visible..so if we go on creating many
classdiagrams using grabhandle.. it shows many classdiagrams with
connections and all others.
So i need a functionality that will allow me to Hide the classDiagram , when
another class diagram is created through grabhandle. And when clicked on
View all it should display all classdiagrams .. otherwise only the created
classdiagram should be visible, rest all hidden.
|
|
|
Re: KeyListeners in ClassDiagram Using Draw2d [message #147707 is a reply to message #147685] |
Mon, 16 August 2004 14:24 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
"Mazhar" <mazharshaikh@iopsis.com> wrote in message
news:cfpkte$i3m$1@eclipse.org...
> Hello,
> I have created a class diagram using the Reference article
mentioned
> in GEF. I also added the functionality of Grabhandle and Dragging of
> ClassDiagram using connection, decorations and etc using Draw2d API. Its
all
> working fine.
> Now i want to add the Functionality as follows ::
> 1) When I create a classdiagram through grabhandle and others ... So i
> needed a functionality that will allow me to select multiple classdiagram
> when pressed Key of "CONTROL" and i can drag all the selected
classdiagram.
These functions are available in the GEF plug-in. Why don't you just use
GEF instead of re-implement it?
|
|
|
Re: KeyListeners in ClassDiagram Using Draw2d [message #147841 is a reply to message #147707] |
Tue, 17 August 2004 05:20 |
Eclipse User |
|
|
|
Originally posted by: mazharshaikh.iopsis.com
Hello,
I m not getting the exact exmples to search for ...
Is there any option through Draw2d ??
can u provide any direction or sample to do in Draw2d or GEF ??
"Randy Hudson" <none@us.ibm.com> wrote in message
news:cfqfu1$vdt$1@eclipse.org...
> "Mazhar" <mazharshaikh@iopsis.com> wrote in message
> news:cfpkte$i3m$1@eclipse.org...
> > Hello,
> > I have created a class diagram using the Reference article
> mentioned
> > in GEF. I also added the functionality of Grabhandle and Dragging of
> > ClassDiagram using connection, decorations and etc using Draw2d API. Its
> all
> > working fine.
> > Now i want to add the Functionality as follows ::
> > 1) When I create a classdiagram through grabhandle and others ... So i
> > needed a functionality that will allow me to select multiple
classdiagram
> > when pressed Key of "CONTROL" and i can drag all the selected
> classdiagram.
>
> These functions are available in the GEF plug-in. Why don't you just use
> GEF instead of re-implement it?
>
>
|
|
|
Re: KeyListeners in ClassDiagram Using Draw2d [message #147881 is a reply to message #147841] |
Tue, 17 August 2004 13:56 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
The example is avialable from the download page.
http://download.eclipse.org/tools/gef/downloads/drops/R-3.0- 200406251257/index.php
"Mazhar" <mazharshaikh@iopsis.com> wrote in message
news:cfs480$a01$1@eclipse.org...
> Hello,
> I m not getting the exact exmples to search for ...
> Is there any option through Draw2d ??
> can u provide any direction or sample to do in Draw2d or GEF ??
>
> "Randy Hudson" <none@us.ibm.com> wrote in message
> news:cfqfu1$vdt$1@eclipse.org...
> > "Mazhar" <mazharshaikh@iopsis.com> wrote in message
> > news:cfpkte$i3m$1@eclipse.org...
> > > Hello,
> > > I have created a class diagram using the Reference article
> > mentioned
> > > in GEF. I also added the functionality of Grabhandle and Dragging of
> > > ClassDiagram using connection, decorations and etc using Draw2d API.
Its
> > all
> > > working fine.
> > > Now i want to add the Functionality as follows ::
> > > 1) When I create a classdiagram through grabhandle and others ... So i
> > > needed a functionality that will allow me to select multiple
> classdiagram
> > > when pressed Key of "CONTROL" and i can drag all the selected
> > classdiagram.
> >
> > These functions are available in the GEF plug-in. Why don't you just
use
> > GEF instead of re-implement it?
> >
> >
>
>
|
|
|
Re: KeyListeners in ClassDiagram Using Draw2d [message #148182 is a reply to message #147881] |
Thu, 19 August 2004 09:41 |
Eclipse User |
|
|
|
Originally posted by: mazharshaikh.iopsis.com
Hello,
But i have the requirement to do the coding in Draw2d API .. I have created
the classDiagram with the help of Draw2d API and added the functionality of
Dragging and Grabhandle ...Now I want the functionality of the following..
1) Keylistener when Pressed "CONTROL" and multiple classdiagrams r selected
with CONTROL should only be dragged .
2) Window Select features on the classdiagram.
can u provide any sample or direction of how to proceed ??
"Randy Hudson" <none@us.ibm.com> wrote in message
news:cft2kv$rh0$1@eclipse.org...
> The example is avialable from the download page.
>
http://download.eclipse.org/tools/gef/downloads/drops/R-3.0- 200406251257/index.php
>
> "Mazhar" <mazharshaikh@iopsis.com> wrote in message
> news:cfs480$a01$1@eclipse.org...
> > Hello,
> > I m not getting the exact exmples to search for ...
> > Is there any option through Draw2d ??
> > can u provide any direction or sample to do in Draw2d or GEF ??
> >
> > "Randy Hudson" <none@us.ibm.com> wrote in message
> > news:cfqfu1$vdt$1@eclipse.org...
> > > "Mazhar" <mazharshaikh@iopsis.com> wrote in message
> > > news:cfpkte$i3m$1@eclipse.org...
> > > > Hello,
> > > > I have created a class diagram using the Reference article
> > > mentioned
> > > > in GEF. I also added the functionality of Grabhandle and Dragging of
> > > > ClassDiagram using connection, decorations and etc using Draw2d API.
> Its
> > > all
> > > > working fine.
> > > > Now i want to add the Functionality as follows ::
> > > > 1) When I create a classdiagram through grabhandle and others ... So
i
> > > > needed a functionality that will allow me to select multiple
> > classdiagram
> > > > when pressed Key of "CONTROL" and i can drag all the selected
> > > classdiagram.
> > >
> > > These functions are available in the GEF plug-in. Why don't you just
> use
> > > GEF instead of re-implement it?
> > >
> > >
> >
> >
>
>
|
|
|
Re: KeyListeners in ClassDiagram Using Draw2d [message #148207 is a reply to message #148182] |
Thu, 19 August 2004 13:45 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
"Mazhar" <mazharshaikh@iopsis.com> wrote in message
news:cg1s8n$b6p$1@eclipse.org...
> Hello,
>
> But i have the requirement to do the coding in Draw2d API .. I have
created
> the classDiagram with the help of Draw2d API and added the functionality
of
> Dragging and Grabhandle ...Now I want the functionality of the following..
> 1) Keylistener when Pressed "CONTROL" and multiple classdiagrams r
selected
> with CONTROL should only be dragged .
>
> 2) Window Select features on the classdiagram.
>
> can u provide direction of how to proceed ??
Yes, you go back to the people who made the draw2d requirement and tell them
you need to use GEF also.
|
|
|
Re: KeyListeners in ClassDiagram Using Draw2d [message #148303 is a reply to message #148207] |
Mon, 23 August 2004 06:51 |
Eclipse User |
|
|
|
Originally posted by: mazharshaikh.iopsis.com
Hello,
Yes, Know i will use GEF for the functionality of Window select and Hiding
of class Digram ..
So do i did to re-implement my full code of ClassDiagram using Draw2d API
into GEF .. or any other solution is there ??
Can u provide me any sample or direction of how to proceed further ??
"Randy Hudson" <none@us.ibm.com> wrote in message
news:cg2ap2$3pn$1@eclipse.org...
> "Mazhar" <mazharshaikh@iopsis.com> wrote in message
> news:cg1s8n$b6p$1@eclipse.org...
> > Hello,
> >
> > But i have the requirement to do the coding in Draw2d API .. I have
> created
> > the classDiagram with the help of Draw2d API and added the functionality
> of
> > Dragging and Grabhandle ...Now I want the functionality of the
following..
> > 1) Keylistener when Pressed "CONTROL" and multiple classdiagrams r
> selected
> > with CONTROL should only be dragged .
> >
> > 2) Window Select features on the classdiagram.
> >
> > can u provide direction of how to proceed ??
>
> Yes, you go back to the people who made the draw2d requirement and tell
them
> you need to use GEF also.
>
>
|
|
| | |
Re: KeyListeners in ClassDiagram Using Draw2d [message #148411 is a reply to message #148397] |
Tue, 24 August 2004 12:43 |
Eclipse User |
|
|
|
Originally posted by: gaslade.yahoo.com
I you trawl through this newsgroup you will find numerous postings
regarding examples and where to find them..... it will take you 5 mins
to do this.
Guy
Mazhar wrote:
> Hello,
> I have check this site. I have also checked the examples of GEF but
> it is difficult to understand the full code.
> Can u provide any ONE example in GEF that will help me to draw the
> classdigram and put the required functionality of Dragging, Key Select and
> Window Select using GEF ??
>
>
> "Randy Hudson" <none@us.ibm.com> wrote in message
> news:cgdhev$edj$1@eclipse.org...
>
>> http://www-106.ibm.com/developerworks/opensource/library/os- gef/
>>
>>"Mazhar" <mazharshaikh@iopsis.com> wrote in message
>>news:cgc3ot$r52$1@eclipse.org...
>>
>>>Hello,
>>>Yes, Know i will use GEF for the functionality of Window select and
>
> Hiding
>
>>>of class Digram ..
>>>So do i did to re-implement my full code of ClassDiagram using Draw2d
>
> API
>
>>>into GEF .. or any other solution is there ??
>>>Can u provide me any sample or direction of how to proceed further ??
>>>
>>
>>
>
>
|
|
|
Re: KeyListeners in ClassDiagram Using Draw2d [message #148506 is a reply to message #148411] |
Wed, 25 August 2004 05:12 |
Eclipse User |
|
|
|
Originally posted by: mazharshaikh.iopsis.com
Hello Sir,
I have checked the newsgroup, I wanted the perfect example of
classdiagram Using GEF ... I have implemented the whole code Using draw2d
and now i wanted it using GEF ..
Can u provide me any samples or directions regarding the above question...
"Guy Slade" <gaslade@yahoo.com> wrote in message
news:cgfd0b$4k5$1@eclipse.org...
> I you trawl through this newsgroup you will find numerous postings
> regarding examples and where to find them..... it will take you 5 mins
> to do this.
>
> Guy
>
> Mazhar wrote:
> > Hello,
> > I have check this site. I have also checked the examples of GEF
but
> > it is difficult to understand the full code.
> > Can u provide any ONE example in GEF that will help me to draw the
> > classdigram and put the required functionality of Dragging, Key Select
and
> > Window Select using GEF ??
> >
> >
> > "Randy Hudson" <none@us.ibm.com> wrote in message
> > news:cgdhev$edj$1@eclipse.org...
> >
> >> http://www-106.ibm.com/developerworks/opensource/library/os- gef/
> >>
> >>"Mazhar" <mazharshaikh@iopsis.com> wrote in message
> >>news:cgc3ot$r52$1@eclipse.org...
> >>
> >>>Hello,
> >>>Yes, Know i will use GEF for the functionality of Window select and
> >
> > Hiding
> >
> >>>of class Digram ..
> >>>So do i did to re-implement my full code of ClassDiagram using Draw2d
> >
> > API
> >
> >>>into GEF .. or any other solution is there ??
> >>>Can u provide me any sample or direction of how to proceed further ??
> >>>
> >>
> >>
> >
> >
>
|
|
|
Re: KeyListeners in ClassDiagram Using Draw2d [message #148629 is a reply to message #148506] |
Wed, 25 August 2004 15:31 |
Pratik Shah Messages: 1077 Registered: July 2009 |
Senior Member |
|
|
There's no example of conversion from Draw2D to GEF, if that's what you
mean. But it shouldn't be too difficult to figure out once you understand
how GEF works and the MVC pattern it employs. You should be able to reuse
chunks of your code (esp. the Model and some, if not most, of the View).
Start out by reading some documentation (Redbook?) and then look at the code
of a simple example: the new shapes example in the repository.
"Mazhar" <mazharshaikh@iopsis.com> wrote in message
news:cgh6o0$tna$1@eclipse.org...
> Hello Sir,
> I have checked the newsgroup, I wanted the perfect example
of
> classdiagram Using GEF ... I have implemented the whole code Using draw2d
> and now i wanted it using GEF ..
> Can u provide me any samples or directions regarding the above question...
>
> "Guy Slade" <gaslade@yahoo.com> wrote in message
> news:cgfd0b$4k5$1@eclipse.org...
> > I you trawl through this newsgroup you will find numerous postings
> > regarding examples and where to find them..... it will take you 5 mins
> > to do this.
> >
> > Guy
> >
> > Mazhar wrote:
> > > Hello,
> > > I have check this site. I have also checked the examples of
GEF
> but
> > > it is difficult to understand the full code.
> > > Can u provide any ONE example in GEF that will help me to draw the
> > > classdigram and put the required functionality of Dragging, Key Select
> and
> > > Window Select using GEF ??
> > >
> > >
> > > "Randy Hudson" <none@us.ibm.com> wrote in message
> > > news:cgdhev$edj$1@eclipse.org...
> > >
> > >> http://www-106.ibm.com/developerworks/opensource/library/os- gef/
> > >>
> > >>"Mazhar" <mazharshaikh@iopsis.com> wrote in message
> > >>news:cgc3ot$r52$1@eclipse.org...
> > >>
> > >>>Hello,
> > >>>Yes, Know i will use GEF for the functionality of Window select and
> > >
> > > Hiding
> > >
> > >>>of class Digram ..
> > >>>So do i did to re-implement my full code of ClassDiagram using Draw2d
> > >
> > > API
> > >
> > >>>into GEF .. or any other solution is there ??
> > >>>Can u provide me any sample or direction of how to proceed further ??
> > >>>
> > >>
> > >>
> > >
> > >
> >
>
>
|
|
|
Re: KeyListeners in ClassDiagram Using Draw2d [message #148701 is a reply to message #148629] |
Thu, 26 August 2004 05:58 |
Eclipse User |
|
|
|
Originally posted by: mazharshaikh.iopsis.com
Hello,
Can u provide any one example on GEF which has the Functinality of
"Dragging' , "Window Select" and "Hiding of Diagrams" .. I have checked the
examples of Logic and Flow but the code is difficult to understand ...
Can u provide any sample or direction ??
"Pratik Shah" <ppshah@us.ibm.com> wrote in message
news:cgib7h$uog$1@eclipse.org...
> There's no example of conversion from Draw2D to GEF, if that's what you
> mean. But it shouldn't be too difficult to figure out once you understand
> how GEF works and the MVC pattern it employs. You should be able to reuse
> chunks of your code (esp. the Model and some, if not most, of the View).
> Start out by reading some documentation (Redbook?) and then look at the
code
> of a simple example: the new shapes example in the repository.
>
> "Mazhar" <mazharshaikh@iopsis.com> wrote in message
> news:cgh6o0$tna$1@eclipse.org...
> > Hello Sir,
> > I have checked the newsgroup, I wanted the perfect example
> of
> > classdiagram Using GEF ... I have implemented the whole code Using
draw2d
> > and now i wanted it using GEF ..
> > Can u provide me any samples or directions regarding the above
question...
> >
> > "Guy Slade" <gaslade@yahoo.com> wrote in message
> > news:cgfd0b$4k5$1@eclipse.org...
> > > I you trawl through this newsgroup you will find numerous postings
> > > regarding examples and where to find them..... it will take you 5 mins
> > > to do this.
> > >
> > > Guy
> > >
> > > Mazhar wrote:
> > > > Hello,
> > > > I have check this site. I have also checked the examples of
> GEF
> > but
> > > > it is difficult to understand the full code.
> > > > Can u provide any ONE example in GEF that will help me to draw the
> > > > classdigram and put the required functionality of Dragging, Key
Select
> > and
> > > > Window Select using GEF ??
> > > >
> > > >
> > > > "Randy Hudson" <none@us.ibm.com> wrote in message
> > > > news:cgdhev$edj$1@eclipse.org...
> > > >
> > > >> http://www-106.ibm.com/developerworks/opensource/library/os- gef/
> > > >>
> > > >>"Mazhar" <mazharshaikh@iopsis.com> wrote in message
> > > >>news:cgc3ot$r52$1@eclipse.org...
> > > >>
> > > >>>Hello,
> > > >>>Yes, Know i will use GEF for the functionality of Window select and
> > > >
> > > > Hiding
> > > >
> > > >>>of class Digram ..
> > > >>>So do i did to re-implement my full code of ClassDiagram using
Draw2d
> > > >
> > > > API
> > > >
> > > >>>into GEF .. or any other solution is there ??
> > > >>>Can u provide me any sample or direction of how to proceed further
??
> > > >>>
> > > >>
> > > >>
> > > >
> > > >
> > >
> >
> >
>
>
|
|
|
Re: KeyListeners in ClassDiagram Using Draw2d [message #148734 is a reply to message #148701] |
Thu, 26 August 2004 15:21 |
Pratik Shah Messages: 1077 Registered: July 2009 |
Senior Member |
|
|
Dragging: org.eclipse.gef.examples.shapes example is available on the GEF
CVS repository. To find out how you can connect to the respository, look at
the FAQ on your website. Code to start looking at: getDragTracker() for
EditParts.
I am not sure what you mean by "Window Select."
Hiding of Diagrams: You can hide items on the palette (which is also a GEF
viewer) via the customize dialog. Set a breakpoint in
DefaultEntryPage#handleHiddenSelected and follow the trail to see how it
does this.
"Mazhar" <mazharshaikh@iopsis.com> wrote in message
news:cgjtqg$769$1@eclipse.org...
> Hello,
>
> Can u provide any one example on GEF which has the Functinality of
> "Dragging' , "Window Select" and "Hiding of Diagrams" .. I have checked
the
> examples of Logic and Flow but the code is difficult to understand ...
> Can u provide any sample or direction ??
>
>
> "Pratik Shah" <ppshah@us.ibm.com> wrote in message
> news:cgib7h$uog$1@eclipse.org...
> > There's no example of conversion from Draw2D to GEF, if that's what you
> > mean. But it shouldn't be too difficult to figure out once you
understand
> > how GEF works and the MVC pattern it employs. You should be able to
reuse
> > chunks of your code (esp. the Model and some, if not most, of the View).
> > Start out by reading some documentation (Redbook?) and then look at the
> code
> > of a simple example: the new shapes example in the repository.
> >
> > "Mazhar" <mazharshaikh@iopsis.com> wrote in message
> > news:cgh6o0$tna$1@eclipse.org...
> > > Hello Sir,
> > > I have checked the newsgroup, I wanted the perfect
example
> > of
> > > classdiagram Using GEF ... I have implemented the whole code Using
> draw2d
> > > and now i wanted it using GEF ..
> > > Can u provide me any samples or directions regarding the above
> question...
> > >
> > > "Guy Slade" <gaslade@yahoo.com> wrote in message
> > > news:cgfd0b$4k5$1@eclipse.org...
> > > > I you trawl through this newsgroup you will find numerous postings
> > > > regarding examples and where to find them..... it will take you 5
mins
> > > > to do this.
> > > >
> > > > Guy
> > > >
> > > > Mazhar wrote:
> > > > > Hello,
> > > > > I have check this site. I have also checked the examples
of
> > GEF
> > > but
> > > > > it is difficult to understand the full code.
> > > > > Can u provide any ONE example in GEF that will help me to draw the
> > > > > classdigram and put the required functionality of Dragging, Key
> Select
> > > and
> > > > > Window Select using GEF ??
> > > > >
> > > > >
> > > > > "Randy Hudson" <none@us.ibm.com> wrote in message
> > > > > news:cgdhev$edj$1@eclipse.org...
> > > > >
> > > > >> http://www-106.ibm.com/developerworks/opensource/library/os- gef/
> > > > >>
> > > > >>"Mazhar" <mazharshaikh@iopsis.com> wrote in message
> > > > >>news:cgc3ot$r52$1@eclipse.org...
> > > > >>
> > > > >>>Hello,
> > > > >>>Yes, Know i will use GEF for the functionality of Window select
and
> > > > >
> > > > > Hiding
> > > > >
> > > > >>>of class Digram ..
> > > > >>>So do i did to re-implement my full code of ClassDiagram using
> Draw2d
> > > > >
> > > > > API
> > > > >
> > > > >>>into GEF .. or any other solution is there ??
> > > > >>>Can u provide me any sample or direction of how to proceed
further
> ??
> > > > >>>
> > > > >>
> > > > >>
> > > > >
> > > > >
> > > >
> > >
> > >
> >
> >
>
>
|
|
|
Re: KeyListeners in ClassDiagram Using Draw2d [message #148894 is a reply to message #148734] |
Mon, 30 August 2004 05:27 |
Eclipse User |
|
|
|
Originally posted by: mazharshaikh.iopsis.com
Hello,
"Window Select" Functionality means that when we drag the mouse over
some area or the diagram and the figures that are selected ..
Can u provide the example of classDiagram with GEF ??
"Pratik Shah" <ppshah@us.ibm.com> wrote in message
news:cgkuv6$593$1@eclipse.org...
> Dragging: org.eclipse.gef.examples.shapes example is available on the GEF
> CVS repository. To find out how you can connect to the respository, look
at
> the FAQ on your website. Code to start looking at: getDragTracker() for
> EditParts.
>
> I am not sure what you mean by "Window Select."
>
> Hiding of Diagrams: You can hide items on the palette (which is also a GEF
> viewer) via the customize dialog. Set a breakpoint in
> DefaultEntryPage#handleHiddenSelected and follow the trail to see how it
> does this.
>
>
> "Mazhar" <mazharshaikh@iopsis.com> wrote in message
> news:cgjtqg$769$1@eclipse.org...
> > Hello,
> >
> > Can u provide any one example on GEF which has the Functinality of
> > "Dragging' , "Window Select" and "Hiding of Diagrams" .. I have checked
> the
> > examples of Logic and Flow but the code is difficult to understand ...
> > Can u provide any sample or direction ??
> >
> >
> > "Pratik Shah" <ppshah@us.ibm.com> wrote in message
> > news:cgib7h$uog$1@eclipse.org...
> > > There's no example of conversion from Draw2D to GEF, if that's what
you
> > > mean. But it shouldn't be too difficult to figure out once you
> understand
> > > how GEF works and the MVC pattern it employs. You should be able to
> reuse
> > > chunks of your code (esp. the Model and some, if not most, of the
View).
> > > Start out by reading some documentation (Redbook?) and then look at
the
> > code
> > > of a simple example: the new shapes example in the repository.
> > >
> > > "Mazhar" <mazharshaikh@iopsis.com> wrote in message
> > > news:cgh6o0$tna$1@eclipse.org...
> > > > Hello Sir,
> > > > I have checked the newsgroup, I wanted the perfect
> example
> > > of
> > > > classdiagram Using GEF ... I have implemented the whole code Using
> > draw2d
> > > > and now i wanted it using GEF ..
> > > > Can u provide me any samples or directions regarding the above
> > question...
> > > >
> > > > "Guy Slade" <gaslade@yahoo.com> wrote in message
> > > > news:cgfd0b$4k5$1@eclipse.org...
> > > > > I you trawl through this newsgroup you will find numerous postings
> > > > > regarding examples and where to find them..... it will take you 5
> mins
> > > > > to do this.
> > > > >
> > > > > Guy
> > > > >
> > > > > Mazhar wrote:
> > > > > > Hello,
> > > > > > I have check this site. I have also checked the
examples
> of
> > > GEF
> > > > but
> > > > > > it is difficult to understand the full code.
> > > > > > Can u provide any ONE example in GEF that will help me to draw
the
> > > > > > classdigram and put the required functionality of Dragging, Key
> > Select
> > > > and
> > > > > > Window Select using GEF ??
> > > > > >
> > > > > >
> > > > > > "Randy Hudson" <none@us.ibm.com> wrote in message
> > > > > > news:cgdhev$edj$1@eclipse.org...
> > > > > >
> > > > > >> http://www-106.ibm.com/developerworks/opensource/library/os- gef/
> > > > > >>
> > > > > >>"Mazhar" <mazharshaikh@iopsis.com> wrote in message
> > > > > >>news:cgc3ot$r52$1@eclipse.org...
> > > > > >>
> > > > > >>>Hello,
> > > > > >>>Yes, Know i will use GEF for the functionality of Window select
> and
> > > > > >
> > > > > > Hiding
> > > > > >
> > > > > >>>of class Digram ..
> > > > > >>>So do i did to re-implement my full code of ClassDiagram using
> > Draw2d
> > > > > >
> > > > > > API
> > > > > >
> > > > > >>>into GEF .. or any other solution is there ??
> > > > > >>>Can u provide me any sample or direction of how to proceed
> further
> > ??
> > > > > >>>
> > > > > >>
> > > > > >>
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
|
|
|
Re: KeyListeners in ClassDiagram Using Draw2d [message #148949 is a reply to message #148894] |
Mon, 30 August 2004 13:54 |
Eclipse User |
|
|
|
Originally posted by: gaslade.yahoo.com
....... I think we have exhaustively established there there is no
example of classDiagram with GEF!
It's difficult to tell from your incomplete description but it sounds
like you are talking about the marquee selection when you talk about
Window Select. Take another look at the logic example, it uses marquee
selection.... you can point and click somewhere on the free form surface
and then, holding the mouse button down, drag the mouse over an area.
Objects in this area are selected.
Guy
Mazhar wrote:
> Hello,
> "Window Select" Functionality means that when we drag the mouse over
> some area or the diagram and the figures that are selected ..
> Can u provide the example of classDiagram with GEF ??
>
>
> "Pratik Shah" <ppshah@us.ibm.com> wrote in message
> news:cgkuv6$593$1@eclipse.org...
>
>>Dragging: org.eclipse.gef.examples.shapes example is available on the GEF
>>CVS repository. To find out how you can connect to the respository, look
>
> at
>
>>the FAQ on your website. Code to start looking at: getDragTracker() for
>>EditParts.
>>
>>I am not sure what you mean by "Window Select."
>>
>>Hiding of Diagrams: You can hide items on the palette (which is also a GEF
>>viewer) via the customize dialog. Set a breakpoint in
>>DefaultEntryPage#handleHiddenSelected and follow the trail to see how it
>>does this.
>>
>>
>>"Mazhar" <mazharshaikh@iopsis.com> wrote in message
>>news:cgjtqg$769$1@eclipse.org...
>>
>>>Hello,
>>>
>>>Can u provide any one example on GEF which has the Functinality of
>>>"Dragging' , "Window Select" and "Hiding of Diagrams" .. I have checked
>>
>>the
>>
>>>examples of Logic and Flow but the code is difficult to understand ...
>>>Can u provide any sample or direction ??
>>>
>>>
>>>"Pratik Shah" <ppshah@us.ibm.com> wrote in message
>>>news:cgib7h$uog$1@eclipse.org...
>>>
>>>>There's no example of conversion from Draw2D to GEF, if that's what
>
> you
>
>>>>mean. But it shouldn't be too difficult to figure out once you
>>
>>understand
>>
>>>>how GEF works and the MVC pattern it employs. You should be able to
>>
>>reuse
>>
>>>>chunks of your code (esp. the Model and some, if not most, of the
>
> View).
>
>>>>Start out by reading some documentation (Redbook?) and then look at
>
> the
>
>>>code
>>>
>>>>of a simple example: the new shapes example in the repository.
>>>>
>>>>"Mazhar" <mazharshaikh@iopsis.com> wrote in message
>>>>news:cgh6o0$tna$1@eclipse.org...
>>>>
>>>>>Hello Sir,
>>>>> I have checked the newsgroup, I wanted the perfect
>>
>>example
>>
>>>>of
>>>>
>>>>>classdiagram Using GEF ... I have implemented the whole code Using
>>>
>>>draw2d
>>>
>>>>>and now i wanted it using GEF ..
>>>>>Can u provide me any samples or directions regarding the above
>>>
>>>question...
>>>
>>>>>"Guy Slade" <gaslade@yahoo.com> wrote in message
>>>>>news:cgfd0b$4k5$1@eclipse.org...
>>>>>
>>>>>>I you trawl through this newsgroup you will find numerous postings
>>>>>>regarding examples and where to find them..... it will take you 5
>>
>>mins
>>
>>>>>>to do this.
>>>>>>
>>>>>>Guy
>>>>>>
>>>>>>Mazhar wrote:
>>>>>>
>>>>>>>Hello,
>>>>>>> I have check this site. I have also checked the
>
> examples
>
>>of
>>
>>>>GEF
>>>>
>>>>>but
>>>>>
>>>>>>>it is difficult to understand the full code.
>>>>>>>Can u provide any ONE example in GEF that will help me to draw
>
> the
>
>>>>>>>classdigram and put the required functionality of Dragging, Key
>>>
>>>Select
>>>
>>>>>and
>>>>>
>>>>>>>Window Select using GEF ??
>>>>>>>
>>>>>>>
>>>>>>>"Randy Hudson" <none@us.ibm.com> wrote in message
>>>>>>>news:cgdhev$edj$1@eclipse.org...
>>>>>>>
>>>>>>>
>>>>>>>> http://www-106.ibm.com/developerworks/opensource/library/os- gef/
>>>>>>>>
>>>>>>>>"Mazhar" <mazharshaikh@iopsis.com> wrote in message
>>>>>>>>news:cgc3ot$r52$1@eclipse.org...
>>>>>>>>
>>>>>>>>
>>>>>>>>>Hello,
>>>>>>>>>Yes, Know i will use GEF for the functionality of Window select
>>
>>and
>>
>>>>>>>Hiding
>>>>>>>
>>>>>>>
>>>>>>>>>of class Digram ..
>>>>>>>>>So do i did to re-implement my full code of ClassDiagram using
>>>
>>>Draw2d
>>>
>>>>>>>API
>>>>>>>
>>>>>>>
>>>>>>>>>into GEF .. or any other solution is there ??
>>>>>>>>>Can u provide me any sample or direction of how to proceed
>>
>>further
>>
>>>??
>>>
>>>>>>>>
>>>>>>>
>>>>>
>>>>
>>>
>>
>
>
|
|
|
Re: KeyListeners in ClassDiagram Using Draw2d [message #149049 is a reply to message #148949] |
Mon, 30 August 2004 17:06 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
> ...... I think we have exhaustively established there there is no
> example of classDiagram with GEF!
>
> It's difficult to tell from your incomplete description but it sounds
> like you are talking about the marquee selection when you talk about
> Window Select. Take another look at the logic example, it uses marquee
> selection.... you can point and click somewhere on the free form surface
> and then, holding the mouse button down, drag the mouse over an area.
> Objects in this area are selected.
Or, is he talking about changing z-order on select? Who knows, but asking
the right question (the right way) get's you a lot better answers.
> Guy
>
|
|
|
Re: KeyListeners in ClassDiagram Using Draw2d [message #149143 is a reply to message #149049] |
Tue, 31 August 2004 09:17 |
Eclipse User |
|
|
|
Originally posted by: amitsaxena.iopsis.com
hello,
Yes, exactly that i wanted .. is there any seperate example for the marquee
in gef .. but it is difficult to understand the whole code of Logic Any
seperate exmple is available ??.
Secondly, i wanted a right click menu on any Object (i.e Figures) and
contains menus of Hide & View ..
So that i can Hide and View all Figures or Objects.
Can u provide any examples or directions ??
"Randy Hudson" <none@us.ibm.com> wrote in message
news:cgvml0$q1k$1@eclipse.org...
> > ...... I think we have exhaustively established there there is no
> > example of classDiagram with GEF!
> >
> > It's difficult to tell from your incomplete description but it sounds
> > like you are talking about the marquee selection when you talk about
> > Window Select. Take another look at the logic example, it uses marquee
> > selection.... you can point and click somewhere on the free form surface
> > and then, holding the mouse button down, drag the mouse over an area.
> > Objects in this area are selected.
>
> Or, is he talking about changing z-order on select? Who knows, but asking
> the right question (the right way) get's you a lot better answers.
>
> > Guy
> >
>
>
|
|
|
Re: KeyListeners in ClassDiagram Using Draw2d [message #149515 is a reply to message #149143] |
Tue, 31 August 2004 21:13 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
There is a new simple example available in CVS. See the FAQ for loading
code from CVS.
It will be in a build some time next week.
"Amit Saxena" <amitsaxena@iopsis.com> wrote in message
news:ch1fah$e43$1@eclipse.org...
> hello,
> Yes, exactly that i wanted .. is there any seperate example for the
marquee
> in gef .. but it is difficult to understand the whole code of Logic Any
> seperate exmple is available ??.
> Secondly, i wanted a right click menu on any Object (i.e Figures) and
> contains menus of Hide & View ..
> So that i can Hide and View all Figures or Objects.
> Can u provide any examples or directions ??
>
> "Randy Hudson" <none@us.ibm.com> wrote in message
> news:cgvml0$q1k$1@eclipse.org...
> > > ...... I think we have exhaustively established there there is no
> > > example of classDiagram with GEF!
> > >
> > > It's difficult to tell from your incomplete description but it sounds
> > > like you are talking about the marquee selection when you talk about
> > > Window Select. Take another look at the logic example, it uses marquee
> > > selection.... you can point and click somewhere on the free form
surface
> > > and then, holding the mouse button down, drag the mouse over an area.
> > > Objects in this area are selected.
> >
> > Or, is he talking about changing z-order on select? Who knows, but
asking
> > the right question (the right way) get's you a lot better answers.
> >
> > > Guy
> > >
> >
> >
>
>
|
|
|
Goto Forum:
Current Time: Thu Jan 16 16:47:05 GMT 2025
Powered by FUDForum. Page generated in 0.04991 seconds
|