00001 package edu.ksu.cis.bandera.bui;
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035 import javax.swing.*;
00036 public class IconLibrary {
00037 public static Icon errorIcon;
00038 public static Icon packageIcon;
00039 public static Icon classIcon;
00040 public static Icon interfaceIcon;
00041 public static Icon methodIcon;
00042 public static Icon fieldIcon;
00043 public static Icon spinIcon;
00044 public static Icon smvIcon;
00045 public static Icon jpfIcon;
00046 public static Icon spinSelectedIcon;
00047 public static Icon smvSelectedIcon;
00048 public static Icon jpfSelectedIcon;
00049 public static Icon arrow = new ImageIcon(BUI.class.getResource("images/right_arrow.gif"));
00050 public static Icon earrow = new ImageIcon(BUI.class.getResource("images/empty_arrow.gif"));
00051
00052
00053
00054 public static void initialize() {
00055 errorIcon = new ImageIcon(BUI.class.getResource("images/error.gif"));
00056 packageIcon = new ImageIcon(BUI.class.getResource("images/package.gif"));
00057 classIcon = new ImageIcon(BUI.class.getResource("images/class.gif"));
00058 interfaceIcon = new ImageIcon(BUI.class.getResource("images/interface.gif"));
00059 methodIcon = new ImageIcon(BUI.class.getResource("images/method.gif"));
00060 fieldIcon = new ImageIcon(BUI.class.getResource("images/field.gif"));
00061 spinIcon = new ImageIcon(BUI.class.getResource("images/Spin.gif"));
00062 smvIcon = new ImageIcon(BUI.class.getResource("images/NuSMV.gif"));
00063 jpfIcon = new ImageIcon(BUI.class.getResource("images/JPF2.gif"));
00064 spinSelectedIcon = new ImageIcon(BUI.class.getResource("images/SpinSelected.gif"));
00065 smvSelectedIcon = new ImageIcon(BUI.class.getResource("images/NuSMVSelected.gif"));
00066 jpfSelectedIcon = new ImageIcon(BUI.class.getResource("images/JPF2Selected.gif"));
00067 arrow = new ImageIcon(BUI.class.getResource("images/right_arrow.gif"));
00068 earrow = new ImageIcon(BUI.class.getResource("images/empty_arrow.gif"));
00069 }
00070 }