View Javadoc
1   /*
2    * Copyright (C) 2007-2012 Argeo GmbH
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *         http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.argeo.slc.client.ui.dist;
17  
18  import org.eclipse.swt.graphics.Image;
19  
20  /** Shared icons. */
21  public class DistImages {
22  
23  	public final static Image IMG_ARTIFACT_BASE = DistPlugin
24  			.getImageDescriptor("icons/artifactBase.gif").createImage();
25  	public final static Image IMG_PACKAGE = DistPlugin.getImageDescriptor(
26  			"icons/package.gif").createImage();
27  	public final static Image IMG_BUNDLE = DistPlugin.getImageDescriptor(
28  			"icons/packages.gif").createImage();
29  	public final static Image IMG_ARTIFACT_VERSION_BASE = DistPlugin
30  			.getImageDescriptor("icons/artifactVersionBase.gif").createImage();
31  	public final static Image IMG_FILE = DistPlugin.getImageDescriptor(
32  			"icons/file.gif").createImage();
33  
34  	/* WORKSPACES */
35  	public final static Image IMG_WKSP = DistPlugin.getImageDescriptor(
36  			"icons/distribution_perspective.gif").createImage();
37  
38  	/* REPOSITORIES */
39  	public final static Image IMG_REPO = DistPlugin.getImageDescriptor(
40  			"icons/repo.gif").createImage();
41  	public final static Image IMG_HOME_REPO = DistPlugin.getImageDescriptor(
42  			"icons/homeRepo.gif").createImage();
43  	public final static Image IMG_REPO_READONLY = DistPlugin
44  			.getImageDescriptor("icons/repoReadOnly.gif").createImage();
45  	public final static Image IMG_ADD_REPO = DistPlugin.getImageDescriptor(
46  			"icons/addRepo.gif").createImage();
47  	public final static Image IMG_REMOVE_REPO = DistPlugin.getImageDescriptor(
48  			"icons/artifactBase.gif").createImage();
49  	public final static Image IMG_FETCH_REPO = DistPlugin.getImageDescriptor(
50  			"icons/fetchRepo.png").createImage();
51  
52  	/* DISTRIBUTIONS */
53  	public final static Image IMG_WKSP_GROUP = DistPlugin.getImageDescriptor(
54  			"icons/wkspGroup.gif").createImage();
55  	public final static Image IMG_DISTGRP = DistPlugin.getImageDescriptor(
56  			"icons/distGrp.gif").createImage();
57  	public final static Image IMG_DISTGRP_READONLY = DistPlugin
58  			.getImageDescriptor("icons/distGrpReadOnly.gif").createImage();
59  
60  	public final static Image IMG_MODULAR_DIST_BASE = DistPlugin
61  			.getImageDescriptor("icons/packages.gif").createImage();
62  	public final static Image IMG_MODULAR_DIST_VERSION = DistPlugin
63  			.getImageDescriptor("icons/packages.gif").createImage();
64  
65  	public final static Image IMG_GROUP_BASE = DistPlugin.getImageDescriptor(
66  			"icons/packages.gif").createImage();
67  
68  	/* Various */
69  	public final static Image CHECKED = DistPlugin.getImageDescriptor(
70  			"icons/checked.gif").createImage();
71  	public final static Image UNCHECKED = DistPlugin.getImageDescriptor(
72  			"icons/unchecked.gif").createImage();
73  	public final static Image IMG_CLEAR = DistPlugin.getImageDescriptor(
74  			"icons/clear.gif").createImage();
75  }