2 * Argeo Connect - Data management and communications
3 * Copyright (C) 2012 Argeo GmbH
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>
18 * Additional permission under GNU GPL version 3 section 7
20 * If you modify this Program, or any covered work, by linking or combining it
21 * with software covered by the terms of the Eclipse Public License, the
22 * licensors of this Program grant you additional permission to convey the
23 * resulting work. Corresponding Source for a non-source form of such a
24 * combination shall include the source code for the parts of such software
25 * which are used as well as that of the covered work.
27 package org
.argeo
.cms
.ui
.workbench
.internal
.useradmin
;
29 import org
.argeo
.cms
.ui
.workbench
.WorkbenchUiPlugin
;
30 import org
.eclipse
.jface
.resource
.ImageDescriptor
;
31 import org
.eclipse
.swt
.graphics
.Image
;
33 /** Shared icons that must be declared programmatically . */
34 public class SecurityAdminImages
{
35 private final static String PREFIX
= "icons/";
37 public final static ImageDescriptor ICON_REMOVE_DESC
= WorkbenchUiPlugin
38 .getImageDescriptor(PREFIX
+ "remove.gif");
39 public final static ImageDescriptor ICON_USER_DESC
= WorkbenchUiPlugin
40 .getImageDescriptor(PREFIX
+ "user.gif");
42 public final static Image ICON_USER
= ICON_USER_DESC
.createImage();
43 public final static Image ICON_GROUP
= WorkbenchUiPlugin
.getImageDescriptor(
44 PREFIX
+ "users.gif").createImage();
45 public final static Image ICON_ROLE
= WorkbenchUiPlugin
.getImageDescriptor(
46 PREFIX
+ "role.gif").createImage();