expert-gwt2/src/main/java/org/geomajas/sld/editor/expert/gwt2/client/SldEditorToolBarButton.java
public void setResource(ImageResource imageResource) {

		Image img = new Image(imageResource);
		DOM.insertChild(getElement(), img.getElement(), 0);

	}
public void setResource(ImageResource imageResource) {

		Image img = new Image(imageResource);
		DOM.insertChild(getElement(), img.getElement(), 0);

	}
public void setResource ( ImageResource imageResource ) { Image img = new Image ( imageResource ) ; DOM . insertChild ( getElement ( ) , img . getElement ( ) , 0 ) ; }
Attach an ImageResource to the button.

@param imageResource imageResource
Attach an ImageResource to the button .