Skip to main content



      Home
Home » Eclipse Projects » GEF » setting page/editor label
setting page/editor label [message #96601] Wed, 01 October 2003 10:48 Go to next message
Eclipse UserFriend
Originally posted by: BenXX.yahoo.com

Hi,
By page/editor label, i meant the label such as "emptyModelXX.logic" in
the logic example, i don't know whether it belongs to the page or editor.
However, i need to know how i can set this value dynamically as i switch
between different files in the navigator etc. Thanks! Hope that someone
can get back to me asap, because i need this urgently. :)

regards,
Ben
Re: setting page/editor label [message #96620 is a reply to message #96601] Wed, 01 October 2003 11:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: delee.ATusDOT.ibm.com

> By page/editor label, i meant the label such as "emptyModelXX.logic" in
> the logic example, i don't know whether it belongs to the page or editor.

Do you mean the label on the editor tab?? This label is on the Editor. It is
set by calling WorkbenchPart#setTitle(String).
The logic example sets this to the file name in LogicEditor#superSetInput.
Re: setting page/editor label [message #96725 is a reply to message #96620] Wed, 01 October 2003 21:45 Go to previous message
Eclipse UserFriend
Originally posted by: BenXX.yahoo.com

Yes, that's what i wanted. Thanks!

Dan Lee wrote:

> > By page/editor label, i meant the label such as "emptyModelXX.logic" in
> > the logic example, i don't know whether it belongs to the page or editor.

> Do you mean the label on the editor tab?? This label is on the Editor. It is
> set by calling WorkbenchPart#setTitle(String).
> The logic example sets this to the file name in LogicEditor#superSetInput.
Previous Topic:Dragging objects from the Outline view to a GEF editor?
Next Topic:Layering the icons
Goto Forum:
  


Current Time: Sun May 04 03:54:05 EDT 2025

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

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

Back to the top