Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » no visible selection if resize is not allowed
no visible selection if resize is not allowed [message #634551] Fri, 22 October 2010 07:23 Go to next message
Henrik Rentz-Reichert is currently offline Henrik Rentz-ReichertFriend
Messages: 261
Registered: July 2009
Senior Member
Hi,

I have a shape where the resize feature always returns false.
The draw back seems to be that then there is no visible feedback of
selection also.

Can this behavior be changed?

Thanks,
Henrik
Re: no visible selection if resize is not allowed [message #635269 is a reply to message #634551] Tue, 26 October 2010 08:12 Go to previous messageGo to next message
Tim Kaiser is currently offline Tim KaiserFriend
Messages: 118
Registered: July 2009
Senior Member
Hi Henrik,

have a look at ISelectionInfo, you can
change the primary and secondary selection color there
(available onl y in the newest build).
Note that if you use (predefined) rendering styles
the framework takes care of selection color changes;
this is alsoavailable with the 0.7.0 version.

I think it makes sense to not show the resize handles if resize is not
enabled.

Best regards, Tim





"Henrik Rentz-Reichert" <hrr@protos.de> wrote in message
news:i9rdur$9c9$1@news.eclipse.org...
> Hi,
>
> I have a shape where the resize feature always returns false.
> The draw back seems to be that then there is no visible feedback of
> selection also.
>
> Can this behavior be changed?
>
> Thanks,
> Henrik
Re: no visible selection if resize is not allowed [message #640584 is a reply to message #635269] Mon, 22 November 2010 14:12 Go to previous message
Henrik Rentz-Reichert is currently offline Henrik Rentz-ReichertFriend
Messages: 261
Registered: July 2009
Senior Member
Hi Tim,

yes, I wouldn't show selection handles either.
But the yellow rectangle (without handles) could be shown.

This feature could be easily joined with the request in
http://www.eclipse.org/forums/index.php?t=msg&th=200621& amp;start=0&S=9fc3eeb90a33ff4a94b97214e4cb5a59

Thanks,
Henrik


Am 26.10.2010 10:12, schrieb Tim Kaiser:
> Hi Henrik,
>
> have a look at ISelectionInfo, you can
> change the primary and secondary selection color there
> (available onl y in the newest build).
> Note that if you use (predefined) rendering styles
> the framework takes care of selection color changes;
> this is alsoavailable with the 0.7.0 version.
>
> I think it makes sense to not show the resize handles if resize is not
> enabled.
>
> Best regards, Tim
>
>
>
>
>
> "Henrik Rentz-Reichert" <hrr@protos.de> wrote in message
> news:i9rdur$9c9$1@news.eclipse.org...
>> Hi,
>>
>> I have a shape where the resize feature always returns false.
>> The draw back seems to be that then there is no visible feedback of
>> selection also.
>>
>> Can this behavior be changed?
>>
>> Thanks,
>> Henrik
>
>
Previous Topic:Subclassing GraphicAlgorithm and provide custom implementation.
Next Topic:Graphiti as Part of Modeling Discovery
Goto Forum:
  


Current Time: Thu Apr 25 06:58:48 GMT 2024

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

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

Back to the top