Move resources from gerrit-gwtui to gerrit-gwtui-common

This allows plugins to use the standard Gerrit icons.

There is now a single place were icons are stored (in
com.google.gerrit.client in gerrit-gwtui-common). Before they were
distributed over different packages. An exception are a few icons in
com.google.gerrit.client.admin and com.google.gerrit.client.diff which
cannot be moved since they are referenced from a css file in the same
package (at least I don't know how to link to the icons in
gerrit-gwtui-common from the css files).

The icon names were made consistent, duplicate icons were deleted and
the icons are also moved from src/main/java/ to src/main/resources/.

In addition the only gif icon was converted to png.

Change-Id: Ibd9475ae175de6acc7c36bf2e40f96b003f2af10
This commit is contained in:
Phil Lello
2014-07-14 05:15:11 +01:00
committed by Edwin Kempin
parent 7c603dffde
commit 00d817a56a
52 changed files with 156 additions and 122 deletions

View File

@@ -0,0 +1,104 @@
// Copyright (C) 2008 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package com.google.gerrit.client;
import com.google.gwt.resources.client.ClientBundle;
import com.google.gwt.resources.client.ImageResource;
public interface Resources extends ClientBundle {
@Source("arrowRight.png")
public ImageResource arrowRight();
@Source("arrowUp.png")
public ImageResource arrowUp();
@Source("arrowDown.png")
public ImageResource arrowDown();
@Source("editText.png")
public ImageResource edit();
@Source("mediaFloppy.png")
public ImageResource save();
@Source("starOpen.png")
public ImageResource starOpen();
@Source("starFilled.png")
public ImageResource starFilled();
@Source("greenCheck.png")
public ImageResource greenCheck();
@Source("redNot.png")
public ImageResource redNot();
@Source("editUndo.png")
public ImageResource editUndo();
@Source("downloadIcon.png")
public ImageResource downloadIcon();
@Source("queryIcon.png")
public ImageResource queryIcon();
@Source("addFileComment.png")
public ImageResource addFileComment();
@Source("diffy26.png")
public ImageResource gerritAvatar26();
@Source("draftComments.png")
public ImageResource draftComments();
@Source("readOnly.png")
public ImageResource readOnly();
@Source("gear.png")
public ImageResource gear();
@Source("info.png")
public ImageResource info();
@Source("warning.png")
public ImageResource warning();
@Source("listAdd.png")
public ImageResource listAdd();
@Source("merge.png")
public ImageResource merge();
@Source("removeReviewer.png")
public ImageResource removeReviewer();
@Source("deleteNormal.png")
public ImageResource deleteNormal();
@Source("deleteHover.png")
public ImageResource deleteHover();
@Source("undoNormal.png")
public ImageResource undoNormal();
@Source("goPrev.png")
public ImageResource goPrev();
@Source("goNext.png")
public ImageResource goNext();
@Source("goUp.png")
public ImageResource goUp();
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 642 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 313 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 659 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 409 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 810 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 246 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 623 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 609 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 637 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 863 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 323 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 561 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 710 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 440 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 504 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 717 B