Results 1 to 8 of 8

Thread: Changing STS workbench titlebar texts

  1. #1
    Join Date
    Dec 2010
    Location
    Tehran
    Posts
    48

    Smile Changing STS workbench titlebar texts

    I need to change text in STS workbench title bar.

    Why?
    Because I have multiple workspaces, so I use -showlocation eclipse option that display current workspace on workbench title bar. Now problem is that title bar text is very dirty (current perspective name, Product name, current resource name and finally current workspace) and I want to change product name from "SpringSource Tool Suite" to "STS".

    Here is a solution for doing such a thing for eclipse, but referred files in STS have eclipse values, so STS should have other files that will override theses. But which?
    Last edited by mjafari; Sep 21st, 2011 at 04:57 AM.

  2. #2
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,638

    Default

    Hey!

    Please take a look at the plugins folder of your STS installation, dive into the "com.springsource.sts_<version>" folder and open plugin.properties. There you can change the value of the property "productName" to something else.

    HTH,
    Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  3. #3
    Join Date
    Aug 2008
    Location
    Vancouver, BC
    Posts
    750

    Default

    I have the same problem as you, but I solve it a different way. Instead of changing the titlebar, I change the background color of text editors. So, this way I always know which workspace I am in based on coloring (eg- Gray is my main eclipse 3.7 workspace, yellow is my 3.6 workspace, green is my maven workspace). This keeps things more interesting and I find it easier on my eyes than looking at white all day.
    Andrew Eisenberg, Ph.D.
    SpringSource, a division of VMware
    SpringSource Tools Team
    More about AJDT, Groovy-Eclipse, and Grails tooling

  4. #4
    Join Date
    Dec 2010
    Location
    Tehran
    Posts
    48

    Default

    thanks Martin!
    But I do this and no change was done.
    Also changing "productBlurb" property had no effect.

    CAUTION: I change plugin.properties in com.springsource.sts.server.tc.reloading_2.7.2.201 109131000-RELEASE folder, when my STS is a 2.7.0 version that has been updated to 2.7.1 and then 2.7.2.

  5. #5
    Join Date
    Dec 2010
    Location
    Tehran
    Posts
    48

    Default

    Smarty Solution Andrew!

    But How? I don't find separated settings for background of editor in workspaces.

  6. #6
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,638

    Default

    Did you try to run STS with the "-clean" option after changing the product name on the plugin.properties?
    The option Andrew mentioned are here: "Preferences -> General -> Editors -> Text Editors", there is a "background color" item in the colors list.

    HTH,
    Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  7. #7
    Join Date
    Dec 2010
    Location
    Tehran
    Posts
    48

    Default

    No.
    Now I do it and changes effect.

    thanks.

  8. #8
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,638

    Default

    Perfect, glad to hear its now working for you.

    Cheers,
    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •