Ignore:
Timestamp:
04/19/12 15:19:03 (12 years ago)
Author:
wschamai
Message:

ADD: icons for ok and test ok

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modelicaml/org.openmodelica.modelicaml.common/src/org/openmodelica/modelicaml/common/dialogs/DialogMessage.java

    r1492 r1497  
    4444import org.eclipse.swt.widgets.Label;
    4545import org.eclipse.swt.widgets.Shell;
     46import org.openmodelica.modelicaml.common.Activator;
     47import org.openmodelica.modelicaml.common.utls.ResourceManager;
    4648
    4749public class DialogMessage extends Dialog {
     
    7779       
    7880        if (this.isError) {
    79             shell.setImage(shell.getDisplay().getSystemImage(SWT.ICON_ERROR));
     81//          shell.setImage(shell.getDisplay().getSystemImage(SWT.ICON_ERROR));
     82            shell.setImage(ResourceManager.getImage(Activator.class, "/icons/icons16/error_log.gif"));
    8083        }
    8184        else {
    82             shell.setImage(shell.getDisplay().getSystemImage(SWT.ICON_INFORMATION));
     85//          shell.setImage(shell.getDisplay().getSystemImage(SWT.ICON_INFORMATION));
     86            shell.setImage(ResourceManager.getImage(Activator.class, "/icons/icons16/testok.gif"));
    8387        }
    8488    }
Note: See TracChangeset for help on using the changeset viewer.