Commit ba5b2c84 authored by Uwe Peuker's avatar Uwe Peuker

FixedSizeImageFigure durch Standard-ImageFigure ersetzt

parent e049f26f
......@@ -33,7 +33,6 @@ import org.eclipse.jface.resource.ResourceManager;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import com.bitctrl.lib.eclipse.draw2d.FixedSizeFigure;
import com.bitctrl.lib.eclipse.draw2d.FixedSizeImageFigure;
import de.bsvrz.buv.plugin.dobj.DoFigure;
import de.bsvrz.buv.plugin.netz.lst.internal.NetzLstPlugin;
......@@ -128,7 +127,7 @@ final class UmfeldDatenMessStelleMitSensorenFigure extends FixedSizeFigure
private final ResourceManager resourceManager;
private final ImageFigure baseFigure;
private final FixedSizeImageFigure sichtWeiteFigure;
private final ImageFigure sichtWeiteFigure;
private NiederschlagKlasse artKlasse = NiederschlagKlasse.DEFAULT;
private int intensitaet;
......@@ -143,13 +142,12 @@ final class UmfeldDatenMessStelleMitSensorenFigure extends FixedSizeFigure
final ResourceManager resourceManager) {
this.resourceManager = resourceManager;
baseFigure = new FixedSizeImageFigure(
resourceManager.createImage(SONNE_IMAGE));
baseFigure = new ImageFigure(resourceManager.createImage(SONNE_IMAGE));
baseFigure.setSize(baseFigure.getPreferredSize());
setPreferredSize(baseFigure.getPreferredSize());
setSize(getPreferredSize());
sichtWeiteFigure = new FixedSizeImageFigure(
sichtWeiteFigure = new ImageFigure(
resourceManager.createImage(SICHT_IMAGE_1));
add(sichtWeiteFigure);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment