Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Why GEF uses its own GEFMessages, not the WorkbenchMessage?
Why GEF uses its own GEFMessages, not the WorkbenchMessage? [message #176685] Mon, 11 April 2005 18:40 Go to next message
Eclipse UserFriend
Originally posted by: kevinlouisnospam.hotmail.com

Hi,

WorkbenchMessages and GEFMessages have some common message, e.g.
"Workbench.copyToolTip" and "GEFMessages.CopyAction_Tooltip".

I want to see if there is any special reason why GEF does not use the
Workbench on and create its own set. I am going to use the
WorkbenchMessages only as GEF does not have cut action.

Thanks,

Kevin.
Re: Why GEF uses its own GEFMessages, not the WorkbenchMessage? [message #176762 is a reply to message #176685] Mon, 11 April 2005 21:34 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
Because WorkbenchMessages is internal.

"Kevin" <kevinlouisnospam@hotmail.com> wrote in message
news:d3eglt$mm3$1@news.eclipse.org...
> Hi,
>
> WorkbenchMessages and GEFMessages have some common message, e.g.
> "Workbench.copyToolTip" and "GEFMessages.CopyAction_Tooltip".
>
> I want to see if there is any special reason why GEF does not use the
> Workbench on and create its own set. I am going to use the
> WorkbenchMessages only as GEF does not have cut action.
>
> Thanks,
>
> Kevin.
>
>
Re: Why GEF uses its own GEFMessages, not the WorkbenchMessage? [message #176770 is a reply to message #176685] Mon, 11 April 2005 21:43 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
Also, I think all the constants defined in there are new. I don't think
they were there for 3.0. I could be mistaken. Anyway, this is certainly
something GEF could look into. The only problem is that it's internal, but
maybe translations (and related bugs) are a good enough reason to make use
of internal API.

"Kevin" <kevinlouisnospam@hotmail.com> wrote in message
news:d3eglt$mm3$1@news.eclipse.org...
> Hi,
>
> WorkbenchMessages and GEFMessages have some common message, e.g.
> "Workbench.copyToolTip" and "GEFMessages.CopyAction_Tooltip".
>
> I want to see if there is any special reason why GEF does not use the
> Workbench on and create its own set. I am going to use the
> WorkbenchMessages only as GEF does not have cut action.
>
> Thanks,
>
> Kevin.
>
>
Re: Why GEF uses its own GEFMessages, not the WorkbenchMessage? [message #176794 is a reply to message #176762] Tue, 12 April 2005 00:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kevinlouisnospam.hotmail.com

GEFMessages is in the org.eclipse.gef.internal too. I don't see it is a
good reason why GEFMessage is used, instead of the
org.eclipse.ui.internal.WorkbenchMessages.

"Pratik Shah" <ppshah@us.ibm.com> wrote in message
news:d3eqr2$6a2$1@news.eclipse.org...
> Because WorkbenchMessages is internal.
>
> "Kevin" <kevinlouisnospam@hotmail.com> wrote in message
> news:d3eglt$mm3$1@news.eclipse.org...
> > Hi,
> >
> > WorkbenchMessages and GEFMessages have some common message, e.g.
> > "Workbench.copyToolTip" and "GEFMessages.CopyAction_Tooltip".
> >
> > I want to see if there is any special reason why GEF does not use the
> > Workbench on and create its own set. I am going to use the
> > WorkbenchMessages only as GEF does not have cut action.
> >
> > Thanks,
> >
> > Kevin.
> >
> >
>
>
Re: Why GEF uses its own GEFMessages, not the WorkbenchMessage? [message #177096 is a reply to message #176794] Tue, 12 April 2005 19:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

That's our internal package vs. someone else's over which we have no
control.
"Kevin" <kevinlouisnospam@hotmail.com> wrote in message
news:d3f60d$ihi$1@news.eclipse.org...
> GEFMessages is in the org.eclipse.gef.internal too. I don't see it is a
> good reason why GEFMessage is used, instead of the
> org.eclipse.ui.internal.WorkbenchMessages.
>
> "Pratik Shah" <ppshah@us.ibm.com> wrote in message
> news:d3eqr2$6a2$1@news.eclipse.org...
>> Because WorkbenchMessages is internal.
>>
>> "Kevin" <kevinlouisnospam@hotmail.com> wrote in message
>> news:d3eglt$mm3$1@news.eclipse.org...
>> > Hi,
>> >
>> > WorkbenchMessages and GEFMessages have some common message, e.g.
>> > "Workbench.copyToolTip" and "GEFMessages.CopyAction_Tooltip".
>> >
>> > I want to see if there is any special reason why GEF does not use the
>> > Workbench on and create its own set. I am going to use the
>> > WorkbenchMessages only as GEF does not have cut action.
>> >
>> > Thanks,
>> >
>> > Kevin.
>> >
>> >
>>
>>
>
>
Re: Why GEF uses its own GEFMessages, not the WorkbenchMessage? [message #177187 is a reply to message #177096] Tue, 12 April 2005 22:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kevinlouisnospam.hotmail.com

Hi Randy,

In that case, why don't you provide a complete set of actions strings then?
For example, I need to implement the Cut Action, but GEFMessages only has
copy and paste. I need to use the WorkbenchMessages one.

Actually, why is the WorkbenchMessages from someone else? Is it from
Eclipse too?

Thanks,

Kevin


"Randy Hudson" <none@us.ibm.com> wrote in message
news:d3h7rs$d6v$1@news.eclipse.org...
> That's our internal package vs. someone else's over which we have no
> control.
> "Kevin" <kevinlouisnospam@hotmail.com> wrote in message
> news:d3f60d$ihi$1@news.eclipse.org...
> > GEFMessages is in the org.eclipse.gef.internal too. I don't see it is a
> > good reason why GEFMessage is used, instead of the
> > org.eclipse.ui.internal.WorkbenchMessages.
> >
> > "Pratik Shah" <ppshah@us.ibm.com> wrote in message
> > news:d3eqr2$6a2$1@news.eclipse.org...
> >> Because WorkbenchMessages is internal.
> >>
> >> "Kevin" <kevinlouisnospam@hotmail.com> wrote in message
> >> news:d3eglt$mm3$1@news.eclipse.org...
> >> > Hi,
> >> >
> >> > WorkbenchMessages and GEFMessages have some common message, e.g.
> >> > "Workbench.copyToolTip" and "GEFMessages.CopyAction_Tooltip".
> >> >
> >> > I want to see if there is any special reason why GEF does not use the
> >> > Workbench on and create its own set. I am going to use the
> >> > WorkbenchMessages only as GEF does not have cut action.
> >> >
> >> > Thanks,
> >> >
> >> > Kevin.
> >> >
> >> >
> >>
> >>
> >
> >
>
>
Re: Why GEF uses its own GEFMessages, not the WorkbenchMessage? [message #177257 is a reply to message #177187] Wed, 13 April 2005 13:21 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

We only provide strings that we need. Otherswise, where would it end?

"Kevin" <kevinlouisnospam@hotmail.com> wrote in message
news:d3hidn$rd0$1@news.eclipse.org...
> Hi Randy,
>
> In that case, why don't you provide a complete set of actions strings
> then?
> For example, I need to implement the Cut Action, but GEFMessages only has
> copy and paste. I need to use the WorkbenchMessages one.
>
> Actually, why is the WorkbenchMessages from someone else? Is it from
> Eclipse too?
>
> Thanks,
>
> Kevin
Previous Topic:Problem with some event notification...
Next Topic:Connections disappear after the refreshChildren()
Goto Forum:
  


Current Time: Thu Apr 25 13:03:21 GMT 2024

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

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

Back to the top