View Javadoc

1   package org.devaki.nextobjects.constants;
2   /*
3   
4   nextobjects Copyright (C) 2001-2005 Emmanuel Florent
5   
6   This program is free software; you can redistribute it and/or modify
7   it under the terms of the GNU General Public License as published by the
8   Free Software Foundation; either version 2 of the License, or (at your
9   option) any later version.
10  
11  This program is distributed in the hope that it will
12  be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
13  of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14  PURPOSE. See the GNU General Public License for more details.
15  
16  You should have received a copy of the GNU General Public License along
17  with this program; if not, write to the Free Software Foundation, Inc., 59
18  Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19  
20  */
21  import javax.swing.ImageIcon;
22  import org.devaki.nextobjects.NextObjects;
23  /***
24   * This class give all static pointers to icons
25   *
26   *  @TODO get all graphics to PNG
27    * @author <a href="mailto:eflorent@devaki.org">Emmanuel Florent</a>
28   */
29  public class CstImages
30  {
31      /*** up.gif */
32      public static final ImageIcon ICN_UP =
33          NextObjects.getReference().loadIconResource("up.gif");
34      /***  down.gif */
35      public static final ImageIcon ICN_DOWN =
36          NextObjects.getReference().loadIconResource("down.gif");
37      /***table.gif */
38      public static final ImageIcon ICN_TABLE =
39          NextObjects.getReference().loadIconResource("table.gif");
40      /*** association.gif */
41      public static final ImageIcon ICN_ASSOCIATION =
42          NextObjects.getReference().loadIconResource("association.gif");
43      /*** associationLink.gif */
44      public static final ImageIcon ICN_ASSOCIATIONLINK =
45          NextObjects.getReference().loadIconResource("associationLink.gif");
46      /*** inheritance.png */
47      public static final ImageIcon ICN_INHERITANCE =
48          NextObjects.getReference().loadIconResource("inheritance.png");
49      /*** constraint.png */
50      public static final ImageIcon ICN_CONSTRAINT =
51          NextObjects.getReference().loadIconResource("constraint.png");
52      /***  selection.gif*/
53      public static final ImageIcon ICN_SELECTION =
54          NextObjects.getReference().loadIconResource("selection.gif");
55      /*** open.gif */
56      public static final ImageIcon ICN_OPEN =
57          NextObjects.getReference().loadIconResource("open.gif");
58      /***  save.gif*/
59      public static final ImageIcon ICN_SAVE =
60          NextObjects.getReference().loadIconResource("save.gif");
61      /*** cut.gif */
62      public static final ImageIcon ICN_CUT =
63          NextObjects.getReference().loadIconResource("cut.gif");
64      /*** copy.gif */
65      public static final ImageIcon ICN_COPY =
66          NextObjects.getReference().loadIconResource("copy.gif");
67      /***  paste.gif */
68      public static final ImageIcon ICN_PASTE =
69          NextObjects.getReference().loadIconResource("paste.gif");
70      /*** help.gif */
71      public static final ImageIcon ICN_HELP =
72          NextObjects.getReference().loadIconResource("help.gif");
73      /*** cdm.gif */
74      public static final ImageIcon ICN_CDM =
75          NextObjects.getReference().loadIconResource("cdm.gif");
76      /*** pdm.gif */
77      public static final ImageIcon ICN_PDM =
78          NextObjects.getReference().loadIconResource("pdm.gif");
79      /*** back.gif */
80      public static final ImageIcon ICN_BACK =
81          NextObjects.getReference().loadIconResource("back.gif");
82      /*** forward.gif */
83      public static final ImageIcon ICN_FORWARD =
84          NextObjects.getReference().loadIconResource("forward.gif");
85      /***reload.gif*/
86      public static final ImageIcon ICN_RELOAD =
87          NextObjects.getReference().loadIconResource("reload.gif");
88      /*** stop.gif */
89      public static final ImageIcon ICN_STOP =
90          NextObjects.getReference().loadIconResource("stop.gif");
91      /*** home.gif */
92      public static final ImageIcon ICN_HOME =
93          NextObjects.getReference().loadIconResource("home.gif");
94      /***blank.gif */
95      public static final ImageIcon ICN_BLANK =
96          NextObjects.getReference().loadIconResource("blank.gif");
97      /*** new.gif */
98      public static final ImageIcon ICN_NEW =
99          NextObjects.getReference().loadIconResource("new.gif");
100     /*** workspace.gif */
101     public static final ImageIcon ICN_WORKSPACE =
102         NextObjects.getReference().loadIconResource("workspace.gif");
103     /*** field.gif */
104     public static final ImageIcon ICN_FIELD_PK =
105         NextObjects.getReference().loadIconResource("fieldPK.png");
106     /***field.gif */
107     public static final ImageIcon ICN_FIELD =
108         NextObjects.getReference().loadIconResource("field.gif");
109     /***label.png */
110     public static final ImageIcon ICN_LABEL =
111         NextObjects.getReference().loadIconResource("label.png");
112 }