mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-05 08:46:02 +02:00
Add missing icon to CDT Docker Launch plug-in.
- docker_small.gif was missing for SWTImagesFactory - replace with container icon: repository-middle.gif for container Tab Change-Id: Id18423f3bcad10142b8a3e834237f1b3bf49e7d6 Task-Url:
This commit is contained in:
parent
30447e7806
commit
16d9dd6ba7
3 changed files with 5 additions and 5 deletions
Binary file not shown.
After Width: | Height: | Size: 325 B |
|
@ -475,7 +475,7 @@ public class ContainerTab extends AbstractLaunchConfigurationTab implements
|
|||
|
||||
@Override
|
||||
public Image getImage() {
|
||||
return SWTImagesFactory.get(SWTImagesFactory.IMG_DOCKER_SMALL);
|
||||
return SWTImagesFactory.get(SWTImagesFactory.IMG_CONTAINER);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -42,10 +42,10 @@ public class SWTImagesFactory {
|
|||
private static final String NAME_PREFIX = DockerLaunchUIPlugin.PLUGIN_ID
|
||||
+ '.';
|
||||
private static final int NAME_PREFIX_LENGTH = NAME_PREFIX.length();
|
||||
public static final String IMG_DOCKER_SMALL = NAME_PREFIX
|
||||
+ "docker_small.gif"; //$NON-NLS-1$
|
||||
public static final ImageDescriptor DESC_DOCKER_SMALL = createManaged("",
|
||||
IMG_DOCKER_SMALL);
|
||||
public static final String IMG_CONTAINER = NAME_PREFIX
|
||||
+ "repository-middle.gif"; //$NON-NLS-1$
|
||||
public static final ImageDescriptor DESC_CONTAINER = createManaged("",
|
||||
IMG_CONTAINER);
|
||||
|
||||
private static ImageDescriptor createManaged(String prefix, String name) {
|
||||
return createManaged(imageRegistry, prefix, name);
|
||||
|
|
Loading…
Add table
Reference in a new issue