Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » MatchSizeAction access restriction
MatchSizeAction access restriction [message #193225] Wed, 24 August 2005 17:39 Go to next message
Eclipse UserFriend
Originally posted by: sunil_kamath.nohotspammail.com

Why is MatchSizeAction package protected while MatchHeightAction and
MatchWidthAction are not?
The reason I ask is that if I want to implement an action which matches both
height
and width, I cannot use MatchSizeAction.
Instead I need to extend one of MatchHeightAction or MatchWidthAction and
override
the getPreciseWidthDelta() or getPreciseHeightDelta() method and replace
with the
code from MatchSizeAction. Seems counter-intuitive.
---
Sunil
Re: MatchSizeAction access restriction [message #193232 is a reply to message #193225] Wed, 24 August 2005 18:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Open a feature request for a match width&height action. We would need an
icon that indicates that both dimensions are being matched.

"Sunil Kamath" <sunil_kamath@nohotspammail.com> wrote in message
news:deibcc$7c0$1@news.eclipse.org...
> Why is MatchSizeAction package protected while MatchHeightAction and
> MatchWidthAction are not?
> The reason I ask is that if I want to implement an action which matches
> both height
> and width, I cannot use MatchSizeAction.
> Instead I need to extend one of MatchHeightAction or MatchWidthAction and
> override
> the getPreciseWidthDelta() or getPreciseHeightDelta() method and replace
> with the
> code from MatchSizeAction. Seems counter-intuitive.
> ---
> Sunil
Re: MatchSizeAction access restriction [message #193256 is a reply to message #193232] Wed, 24 August 2005 18:43 Go to previous message
Eclipse UserFriend
Originally posted by: sunil_kamath.nohotspammail.com

"Randy Hudson" <none@us.ibm.com> wrote in message
news:deieeq$bh5$1@news.eclipse.org...
> Open a feature request for a match width&height action. We would need an
> icon that indicates that both dimensions are being matched.
>

OK, I will create and attach an icon.
---
Sunil
Previous Topic:adding a child to a child
Next Topic:Layout & Routing - Any help will be appreciated
Goto Forum:
  


Current Time: Wed Jan 15 20:30:59 GMT 2025

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

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

Back to the top