MatchSizeAction access restriction [message #193225] |
Wed, 24 August 2005 17:39 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.04940 seconds