Detecting a selection on the connection [message #95189] |
Wed, 24 September 2003 10:05  |
Eclipse User |
|
|
|
Originally posted by: selpin.crimsonlogic.com
Hi,
Similar to the logic example, i have drawn a connection between 2
figures. As i am implementing my own property page, i'll need to detect
the figure the user is currently selecting in order to display their
respective properties. I was able to use the selection policy to detect
the user's selection on the individual figures, however since "Wire" is
not a figure, i can't detect the event whereby the user selects it. How
can i overcome the problem?
Thanks in advance!
regards,
Evon
|
|
|
|
Re: Detecting a selection on the connection [message #95318 is a reply to message #95204] |
Wed, 24 September 2003 22:25   |
Eclipse User |
|
|
|
Originally posted by: selpin.crimonlogic.com
Hi,
Thanks for the help! My "property page" is not exactly a property page,
it sorts of display multi-columns of information and might incorporate
buttons that activate wizards and stuff. If i'm not wrong, existing
property sheet cannot be customize to do that right? or am i wrong?
regards,
Evon
Randy Hudson wrote:
> viewer.getSelectedEditPart(). Am I missing something?
> Why aren't you using the existing property sheet support in Eclipse?
> "Evon" <selpin@crimsonlogic.com> wrote in message
> news:bks8ba$nfd$1@eclipse.org...
> > Hi,
> > Similar to the logic example, i have drawn a connection between 2
> > figures. As i am implementing my own property page, i'll need to detect
> > the figure the user is currently selecting in order to display their
> > respective properties. I was able to use the selection policy to detect
> > the user's selection on the individual figures, however since "Wire" is
> > not a figure, i can't detect the event whereby the user selects it. How
> > can i overcome the problem?
> >
> > Thanks in advance!
> >
> > regards,
> > Evon
> >
|
|
|
Re: Detecting a selection on the connection [message #95335 is a reply to message #95318] |
Wed, 24 September 2003 23:50  |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
Correct, you cannot do multi-columns. You can however reuse the properties
*view*, and return your own custom control as the page for your editor's
property "table".
"Evon" <selpin@crimonlogic.com> wrote in message
news:bktjmt$1v9$1@eclipse.org...
> Hi,
> Thanks for the help! My "property page" is not exactly a property page,
> it sorts of display multi-columns of information and might incorporate
> buttons that activate wizards and stuff. If i'm not wrong, existing
> property sheet cannot be customize to do that right? or am i wrong?
>
> regards,
> Evon
>
> Randy Hudson wrote:
>
> > viewer.getSelectedEditPart(). Am I missing something?
> > Why aren't you using the existing property sheet support in Eclipse?
>
> > "Evon" <selpin@crimsonlogic.com> wrote in message
> > news:bks8ba$nfd$1@eclipse.org...
> > > Hi,
> > > Similar to the logic example, i have drawn a connection between 2
> > > figures. As i am implementing my own property page, i'll need to
detect
> > > the figure the user is currently selecting in order to display their
> > > respective properties. I was able to use the selection policy to
detect
> > > the user's selection on the individual figures, however since "Wire"
is
> > > not a figure, i can't detect the event whereby the user selects it.
How
> > > can i overcome the problem?
> > >
> > > Thanks in advance!
> > >
> > > regards,
> > > Evon
> > >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04579 seconds