discouraged access to GEF messages [message #237933] |
Wed, 15 August 2007 14:31 |
Eclipse User |
|
|
|
Originally posted by: alexandre.magillem.com
Hi all,
in my GEF editor, I use an actionbarcontributor as in the logic example.
When I use :
addRetargetAction(new RetargetAction(
GEFActionConstants.TOGGLE_RULER_VISIBILITY,
GEFMessages.ToggleRulerVisibility_Label,
IAction.AS_CHECK_BOX));
I get an annoying warning message :
Discouraged access: The type GEFMessages is not accessible due to
restriction on required library /Applications/eclipse
3.2/plugins/org.eclipse.gef_3.2.2.v20070208.jar
Does this mean that I'm not using the right way to access this messages ?
Regards.
Christophe
|
|
|
|
Re: discouraged access to GEF messages [message #237945 is a reply to message #237933] |
Wed, 15 August 2007 15:58 |
Eclipse User |
|
|
|
Originally posted by: aczerwonka.3esi.com
Just use your own messages.
"Christophe Alexandre" <alexandre@magillem.com> wrote in message
news:f9v2p1$tu4$1@build.eclipse.org...
> Hi all,
> in my GEF editor, I use an actionbarcontributor as in the logic example.
> When I use :
>
> addRetargetAction(new RetargetAction(
> GEFActionConstants.TOGGLE_RULER_VISIBILITY,
> GEFMessages.ToggleRulerVisibility_Label,
> IAction.AS_CHECK_BOX));
>
> I get an annoying warning message :
> Discouraged access: The type GEFMessages is not accessible due to
> restriction on required library /Applications/eclipse
> 3.2/plugins/org.eclipse.gef_3.2.2.v20070208.jar
>
> Does this mean that I'm not using the right way to access this messages ?
>
> Regards.
> Christophe
|
|
|
Powered by
FUDForum. Page generated in 0.02891 seconds