Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » ToolBehaviorProvider .setSelectionFor methods only used on hover?
ToolBehaviorProvider .setSelectionFor methods only used on hover? [message #688156] Fri, 24 June 2011 03:29 Go to next message
M  is currently offline M
Messages: 4
Registered: June 2011
Junior Member
I'd like to change the default orange selection handles, orange dotted outline and orange connection dragging line colours and styles. I've found

public ISelectionInfo getSelectionInfoForShape(Shape shape)

and
public ISelectionInfo getSelectionInfoForConnection(Connection connection)


in the ToolBehaviorProvider. The methods only seem to be called when I hover. Is there some other way to change the selection and connection colours and styles?
(no subject) [message #688234 is a reply to message #688156] Fri, 24 June 2011 08:31 Go to previous message
Michael Wenz is currently offline Michael Wenz
Messages: 1592
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Using these methods you can specify how a shape or connection will be
visualized (e.g. inner color, lines style, etc.). What you cannot change so
far is the orange handles and outline. If you see the need for that, please
file that as an enhancement bugzilla.

Michael


"M" schrieb im Newsbeitrag news:iu0vp3$nq5$1@news.eclipse.org...

I'd like to change the default orange selection handles, orange dotted
outline and orange connection dragging line colours and styles. I've found

public ISelectionInfo getSelectionInfoForShape(Shape shape)
and
public ISelectionInfo getSelectionInfoForConnection(Connection connection)

in the ToolBehaviorProvider. The methods only seem to be called when I
hover. Is there some other way to change the selection and connection
colours and styles?
Previous Topic:BoxRelativeAnchor.setRelativeWidth / BoxRelativeAnchor.setRelativeHeight
Next Topic:Library example
Goto Forum:
  


Current Time: Wed Sep 17 07:50:50 GMT 2014

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

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