Project

General

Profile

« Previous | Next » 

Revision ae328426

Added by Patrick Plitzner almost 4 years ago

Use image resources for button image

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/NamedAreaSelectionDialog.java
22 22
import org.eclipse.swt.widgets.Button;
23 23
import org.eclipse.swt.widgets.Composite;
24 24
import org.eclipse.swt.widgets.Shell;
25
import org.eclipse.wb.swt.ResourceManager;
26 25

  
27 26
import eu.etaxonomy.cdm.api.service.ITermService;
28 27
import eu.etaxonomy.cdm.api.service.IVocabularyService;
......
30 29
import eu.etaxonomy.cdm.model.common.TermType;
31 30
import eu.etaxonomy.cdm.model.common.TermVocabulary;
32 31
import eu.etaxonomy.cdm.model.location.NamedArea;
32
import eu.etaxonomy.taxeditor.model.ImageResources;
33 33
import eu.etaxonomy.taxeditor.model.MessagingUtils;
34 34
import eu.etaxonomy.taxeditor.newWizard.AbstractNewEntityWizard;
35 35
import eu.etaxonomy.taxeditor.preference.PreferencesUtil;
......
214 214
	    {
215 215
            filterButton = new Button(searchAndFilter, SWT.NONE);
216 216
//            filterButton.setText("Filter");
217
            filterButton.setImage(ResourceManager.getPluginImage("eu.etaxonomy.taxeditor.store", "icons/funnel-icon.png"));
217
            filterButton.setImage(ImageResources.getImage(ImageResources.FUNNEL_ICON));
218 218
//            SelectionListener filterSelectionListener = new FilterSelectionListener(preferenceID, this);
219 219
            filterButton.addSelectionListener(new SelectionListener(){
220 220
                @Override

Also available in: Unified diff