Skip to main content



      Home
Home » Eclipse Projects » GEF » Why isn't the SelectionTool working?
Why isn't the SelectionTool working? [message #121095] Tue, 09 March 2004 09:35 Go to next message
Eclipse UserFriend
I have created an Editor which is similar to the editor in the Flow
example.
The problem is that when I set the contents of the graphicalView -

protected void initializeGraphicalViewer() {
getGraphicalViewer().setContents(relsovaDiagrama);
}

the selection tool stops working. But the MarqueeTool is still working.
Maybe
I haven't done something right(it is possible). My EditPart, Models,
Figures
are base on the EditPart, Models and Figures shown on the Flow example. I
just couldn't understand what have I mistaken.
Could somebody tell me what may the problem be.
Thank you.
Re: Why isn't the SelectionTool working? [message #121138 is a reply to message #121095] Tue, 09 March 2004 11:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Try putting a breakpoint in EditDomain.handleMouseDown, and see where it is
going.
"kiko" <kiril_mitov@abv.bg> wrote in message
news:c2kkoa$nsk$1@eclipse.org...
> I have created an Editor which is similar to the editor in the Flow
> example.
> The problem is that when I set the contents of the graphicalView -
>
> protected void initializeGraphicalViewer() {
> getGraphicalViewer().setContents(relsovaDiagrama);
> }
>
> the selection tool stops working. But the MarqueeTool is still working.
> Maybe
> I haven't done something right(it is possible). My EditPart, Models,
> Figures
> are base on the EditPart, Models and Figures shown on the Flow example. I
> just couldn't understand what have I mistaken.
> Could somebody tell me what may the problem be.
> Thank you.
>
>
Re: Why isn't the SelectionTool working? [message #121163 is a reply to message #121138] Tue, 09 March 2004 14:17 Go to previous message
Eclipse UserFriend
Thanks for the hint.

Randy Hudson wrote:

> Try putting a breakpoint in EditDomain.handleMouseDown, and see where it is
> going.
> "kiko" <kiril_mitov@abv.bg> wrote in message
> news:c2kkoa$nsk$1@eclipse.org...
> > I have created an Editor which is similar to the editor in the Flow
> > example.
> > The problem is that when I set the contents of the graphicalView -
> >
> > protected void initializeGraphicalViewer() {
> > getGraphicalViewer().setContents(relsovaDiagrama);
> > }
> >
> > the selection tool stops working. But the MarqueeTool is still working.
> > Maybe
> > I haven't done something right(it is possible). My EditPart, Models,
> > Figures
> > are base on the EditPart, Models and Figures shown on the Flow example. I
> > just couldn't understand what have I mistaken.
> > Could somebody tell me what may the problem be.
> > Thank you.
> >
> >
Previous Topic:createChangeConstraintCommand; weird values getting passed in...
Next Topic:using ImageFigure
Goto Forum:
  


Current Time: Tue May 13 09:35:15 EDT 2025

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

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

Back to the top