Skip to content

Commit

Permalink
Use the same icon as target transfer.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mailaender committed Feb 13, 2025
1 parent 6b4e824 commit 694e9b5
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -338,4 +338,18 @@
id="org.eclipse.chemclipse.chromatogram.xxd.report.supplier.openchrom.templateChromatogramReport">
</icon>
</extension>
<extension
point="org.eclipse.chemclipse.xxd.process.ui.menu.icon">
<icon
class="net.openchrom.xxd.process.supplier.templates.ui.icon.TransferMenuIcon"
id="net.openchrom.xxd.process.supplier.templates.peaks.transfer.msd">
</icon>
</extension>
<extension
point="org.eclipse.chemclipse.xxd.process.ui.menu.icon">
<icon
class="net.openchrom.xxd.process.supplier.templates.ui.icon.TransferMenuIcon"
id="net.openchrom.xxd.process.supplier.templates.peaks.transfer.csd">
</icon>
</extension>
</plugin>
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/*******************************************************************************
* Copyright (c) 2025 Lablicate GmbH.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Matthias Mailänder - initial API and implementation
*******************************************************************************/
package net.openchrom.xxd.process.supplier.templates.ui.icon;

import org.eclipse.chemclipse.rcp.ui.icons.core.ApplicationImageFactory;
import org.eclipse.chemclipse.rcp.ui.icons.core.IApplicationImage;
import org.eclipse.chemclipse.rcp.ui.icons.core.IApplicationImageProvider;
import org.eclipse.chemclipse.xxd.process.ui.menu.IMenuIcon;
import org.eclipse.swt.graphics.Image;

public class TransferMenuIcon implements IMenuIcon {

@Override
public Image getImage() {

return ApplicationImageFactory.getInstance().getImage(IApplicationImage.IMAGE_TARGETS, IApplicationImageProvider.SIZE_16x16);
}
}

0 comments on commit 694e9b5

Please sign in to comment.