/** if the layer deleted is the current source layer, changes the units option to map units */ @Override protected final void removedLayerActions(ILayer layer) { super.removedLayerActions(layer); ILayer sourceLayer = getSourceLayer(); if (sourceLayer.equals(layer)) { this.currentUnits = null; setSelectionUnitOption(this.radioMapUnits); } populate(); }
/** * New instance of BufferOptionsComposite * * @param parent * @param style */ public BufferOptionsComposite(Composite parent, int style) { super(parent, style); super.initialize(); }