- Timestamp:
- 04/19/12 15:19:03 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modelicaml/org.openmodelica.modelicaml.common/src/org/openmodelica/modelicaml/common/dialogs/DialogMessage.java
r1492 r1497 44 44 import org.eclipse.swt.widgets.Label; 45 45 import org.eclipse.swt.widgets.Shell; 46 import org.openmodelica.modelicaml.common.Activator; 47 import org.openmodelica.modelicaml.common.utls.ResourceManager; 46 48 47 49 public class DialogMessage extends Dialog { … … 77 79 78 80 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")); 80 83 } 81 84 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")); 83 87 } 84 88 }
Note: See TracChangeset
for help on using the changeset viewer.