Eclipse like tree icons changing - how to ?

In the Eclipse editor, the class explorer tree shows a set of icons and, when a class have some errors, it change to the same icon with a small red bullet at the bottom of the icon.
How can I implement this effect ?
I have done a two icons version of this effect, loading two images (the only difference between the image is the small red bullet). When a class becomes wrong, I change the Icon image.
Is there any other better approach ?

hello,
I would guess this is the same way Eclipse does it.
regards,
Tim

Similar Messages

  • Icons changed - how do I change them back?

    Hi guys,
    Quick question - I had a problem while copying a file to a flash disk and Finder crashed (hard to believe, yes). So I force-quitted it but it didn't restart so I restarted the computer by holding down the power button. Then when I started it back up again it was fine except that the icon for my computer had changed. I can't specifically remember what it was before but it's definitely different now - it's an image of one of the old iMacs that were a half sphere with the screen on a chrome arm!
    I presume that before it was a picture of my beatiful 24" intel iMac... but I can't for the life of me figure out how to get it back!
    Does anyone know how?
    Thanks!

    Remember Tiger is not just for the latest models so it's fair enough
    For other icons do a Google search on "icons for mac" there's hundreds+ some free
    Before changing your drive icon
    set up a new folder to hold the existing icon on (I have a folder just to hold folders with icons on)
    select your HD and then Get Info - click on the icon (in Get Info) Command C to save to clipboard
    select your new folder and then Get Info - click on the icon then Command V to replace the folder icon with the HD icon
    then replace the HD icon
    chris
    iMac 20" Intel Core Duo 2GB RAM   Mac OS X (10.4.8)   G3 600 iBook 640MB OS X (10.2.8) Lacie d2 60GB & 250GB Firewire Windows XP

  • Do not like Firefox 6.0, how do I un-install?

    Just downloaded Firefox 6.0 and do not like what has changed, how do I un-install?

    Toad-Hall, Firefox 6 is not compatible with AVG or Java 6

  • I am setting up ipads for use in an elementary, and I would like the "home screen" to be the apps, rather than the default with the chat, mail, etc icons.  how do I change that?

    Can anyone answer this question?
    I am setting up ipads for use in an elementary, and I would like the "home screen" to be the apps, rather than the default with the chat, mail, etc icons.  how do I change that?

    Depending on exactly what you want to do, there are a couple of ways of handling this. You may want to access teh user guide for some ideas: http://manuals.info.apple.com/en_US/ipad_user_guide.pdf
    In particular, check the sections on Customizing iPad and Settings > Restrictions.

  • I have iphone 4 . I don't know how that happened that  the normal color  on all icons changed ( for example, normally green color phone icon is now purple color ) and photo pictures turned negative ( ghost-like ). Your help will be appreciated .

    I have iphone 4 . I don't know how that happenned that the normal color on screen and all icons changed ( for example , normally green color phone icon became purple color ,) and photo pictures turned negative appearance ( ghost-like ) . Any idea how to fix this mishap ?  Your help will be appreciated.

    Hi kshieh
    You can try two possible steps:-
    1]Triple click the home button.  You should get an accessibility menu.deselect the negative/black and white option.
    2]Go to settings->General->accessibility->and deselect invert colours.
    That should fix it
    Rithwik

  • How to make the navigation tree icon in an advanced datagrid to expand in different columns

    Hi All ,
    I am using an application built using Flex 3 .
    In my application I am using an AdvancedDataGrid for datadisplay.
    And the hierachy is like this
    Tree structure in advanced datagrid at present :
    Header 1
    Header 2
    Header 3
    Header 4
    Header 5
    Parent Tree
       Expanded1
          Expanded2
              Expanded3
                     ParentTree
    Expanded1
    Expanded2
    Expanded3
    value
    Expected tree structure in advanced datagrid :
    Header 1
    Header 2
    Header 3
    Header 4
    Header 5
    ParentTree
    Expanded1
    Expanded2
    Expanded3
    value
    can someone tell me if this is possible in advanced data grid and if possible please let me know how do i expand the tree icons in seperate columns ...
    Thanks ,
    Ajantha

    Hi,
    you can check the view source of html and check the onclick code written on that plus sign(Expand All), just copy that onclick javascript code and put it on page javascript event.
    Thanks,
    Jaydip Bosamiya
    +91-76000 23053
    http://jbosamiya.blogspot.com

  • When I create a New Folder (on the desktop or in Finder), the system uses the Generic Document Icon instead of the Generic Folder Icon. How can I change this back?

    When I create a New Folder (on the desktop or in Finder), the system uses the Generic Document Icon instead of the Generic Folder Icon. How can I change this back?
    All of a sudden I noticed that most of the folders on my computer were no longer using the folder icon, but the generic document icon. I had to manually change back the icon being used by opening Get Info for each folder and copying and pasting the generic folder icon from some folders that remained unchanged. Now whenever I create a New Folder (right click -> "New Folder"), the icon that shows up is the generic document icon (white page with top right corner turned down). And I have to manually change it so it shows up as a folder in Finder or on my desktop. I don't know why or how this switch happened. All of the folders now on my computer look ok, but I need to change the default so when I create a New Folder it uses the correct icon.
    I have also Forced Relaunch of my Finder and rebooted the system. I downloaded Candybar but am not sure what will fix anything, so I haven't proceeded.
    Anyone know how I can do this? Thanks.

    Anyone?

  • How to switch off 'Would you like to save changes?' message

    Hello.
    I am developing AddOn that has form of control type. This means some parameters can be specified (so editing mode must be on) but the data in database are never changed.
    So standard message that SAP B1 displays ( 'Would you like to save changes?' ) when closing form is useless.
    Please tell me how can I switch off this message.
    Best regards,
    Pawel.

    Hi Pawel,
    As A. Kerremans pointed out this is not possible, however if the item is not used to change the database you can set the AffectsFormMode property to false. This means that any change to the item will not change the form and B1 will not present you with message about saving the data (as it cannot detect that changes were made).
    Good luck.
    Best regards,
    Pedro Magueija

  • All web pages appear with a blinking cursor like in a "word document". i can't scroll down or up using the buttons of my key board. i have to pull down the scroll bar. something in settings has changed. how to correct it??

    all web pages appear with a blinking cursor like in a "word document". i can't scroll down or up using the buttons of my key board. i have to pull down the scroll bar. something in settings has changed. how to correct it??
    == This happened ==
    Just once or twice
    == 2 days ago.

    See also this article about caret browsing: http://kb.mozillazine.org/Scrolling_with_arrow_keys_no_longer_works
    In Firefox 3.6 and later versions you can disable the F7 shortcut that toggles caret browsing by setting the pref accessibility.browsewithcaret_shortcut.enabled to false.
    To open the ''about:config'' page, type '''about:config''' in the location (address) bar and press the Enter key, just like you type the url of a website to open a website.
    If you see a warning then you can confirm that you want to access that page.

  • SInce i installed Lion, my desktop icons are lining up like regimented Windows icons!  how do i get them to stay where i put them, like they used to do?  thanks! ellen

    SInce i installed Lion, my desktop icons are lining up like regimented Windows icons! 
    how do i get them to stay where i put them, like they used to do? 
    thanks!
    ellen

    In that case, there may be a problem with your Finder preferences or window settings.
    Try removing these files, then restarting:
    ~/Library/Preferences/com.apple.finder.plist
    ~/Desktop/.DS_Store
    Let me know if you're not sure how to do that.

  • HT1473 When downloading a CD album, if it contains different artists, the album is split up into separate albums/icons. How do I get all songs into one album (just like the original CD)?

    When downloading a CD album, if it contains different artists, the album is split up into separate albums/icons. How do I get all songs into one album (just like the original CD)?

    Generally, in iTunes, all you need to do is fill in an appropriate Album Artist to keep things together. For older iPods each track from the same album should have the same artist, or be marked as a compilation where appropriate. For iOS devices you may need to go to Settings > Music > Group By Album Artist > On.
    For more details see my article on Grouping Tracks Into Albums, in particular the topic One album, too many covers.
    tt2

  • I would like to know of how to change the language in my Ipod touch ?? anyone can help me please

    I would like to know of how to change the language in my Ipod touch ?? anyone can help me please

    Did you try Settings/General/International and choose your settings?
    copied from page 107 ipod touch user guide 5

  • Icon change in tree

    Hi ,
    we develope a recursive tree in which we have two thing at folder level.i have to assign diffrent icon for both.for that i create a attribute at context level.and bind it from layout(source icon).and get attribute & set attribute at creatation of folder time bu it repete last one icon for evey node..like...
    DATA lo_el_context TYPE REF TO if_wd_context_element.
    DATA ls_context TYPE wd_this->element_context.
    DATA lv_icon LIKE ls_context-icon.
    get element via lead selection
    lo_el_context = wd_context->get_element( ).
    get single attribute
    lo_el_context->get_attribute(
    EXPORTING
    name = `ICON`
    IMPORTING
    value = lv_icon ).
    data l_name type char1.
    clear l_name.
    l_name = folder_item-name .
    if l_name EQ 'E'.
    lv_icon = 'ICON_EQUIPMENT'.
    lo_el_context->set_attribute(
    EXPORTING
    name = `ICON`
    value = lv_icon ).
    else.
    lv_icon = 'ICON_TECHNICAL_PLACE'.
    lo_el_context->set_attribute(
    EXPORTING
    name = `ICON`
    value = lv_icon ).
    Is there any example for that..
    Edited by: jaten Sangal on Mar 6, 2009 6:39 AM
    Edited by: jaten Sangal on Mar 6, 2009 11:59 AM

    You have to create context attribute to store ICON in the same node which is binded to your tree or table control.
    Abhi

  • HT204023 I have iphone 4(ios 5.1.1)but there are no any icon like personal hotspot. How can i get it to my phone. Please help me. Thank you.

    I have iphone 4(ios 5.1.1)but there are no any icon like personal hotspot. How can i get it to my phone. Please help me. Thank you.

    The personal hotspot is not an app or an icon; it is a setting. You must first have your carrier provision it, then you turn it on in settings. Most carriers charge extra for tethering.

  • Finally I realised that my new iPad2 is a DEMO UNIT. Thats why I can't control the appl icons. How can I turn this unit like a retail one?

    Finally I realised that my new iPad2 is a DEMO UNIT. That's why I can't control the appl icons. How can I turn this unit like a retail one?

    Tasz66 wrote:
    Yes I can't. When I try to press and hold an icon, is doesn't wiggle. Also the label at the back of the box says "...white - Demo"
    Well I guess that settles that then!
    We just wanted to make sure that you did realize that you cannot delete the preinstalled apps and you can't download them again either, so if that was the basis on which you believed that you had a demo model, we were just double checking.

Maybe you are looking for

  • Performance degradation when using foreign keys

    Hi, I face drastic performance degradation when I add foreign keys to a table and perform insert / update on that table. I have a row store table to  which I need to insert around 1,50,000 records. If the table has no foreign key reference it takes m

  • Help with emailing a URL instead of attachment

    Hi all: I have this question. We have hundreds of Oracle Reports .rdf's from way back. We now want to run them in Oracle Reports Server 10g (9.0.4.1). What we want to do is set destype=FILE when we run rwservlet. And then when the process/job finishe

  • Flash Intros on an iWeb site

    I purchased a flash intro template off of templatemonster.com. I edited the flash intro in a trial version of Adobe Flash CS3. After I edited the template so that it had the wording I wanted I then did not know what to do to actually make it my flash

  • Url iview - application sessions maximum reached.

    Hi, In a role there is an url iview created for a visual composer application. The role contains four such iviews. When the user clicks in an order say iview1 - iview2 -iview1 - iview2 -iview1 - iview2 . On the seventh time its showing an error. 'The

  • Blocking an item in SO created by a PO via EDI

    Hello experts, i am in a SAP R/3 Release 4.6C, working with EDIs and there is this problem i can't fix. We create a PO via Edi and the system creates a SO from it. The ORDCHG is also configured properly and the changes go fine. The problem is when we