4,7 → 4,6 |
import com.google.gwt.uibinder.client.UiBinder; |
import com.google.gwt.uibinder.client.UiField; |
import com.google.gwt.user.client.ui.Composite; |
import com.google.gwt.user.client.ui.HTML; |
import com.google.gwt.user.client.ui.HasWidgets; |
import com.google.gwt.user.client.ui.Panel; |
import com.google.gwt.user.client.ui.Widget; |
19,16 → 18,11 |
|
private static Binder binder = GWT.create(Binder.class); |
|
|
@UiField |
Panel zoneTitre, zoneIdentification, zoneLiens, zoneChapeau; |
Panel zoneIdentification, zoneLiens; |
|
public EnteteVue(String titre) { |
public EnteteVue() { |
initWidget(binder.createAndBindUi(this)); |
|
zoneTitre.clear(); |
HTML html = new HTML("<h1>" + titre + "</h1>"); |
zoneTitre.add(html); |
} |
|
@Override |
35,22 → 29,9 |
public HasWidgets getZoneIdentification() { |
return zoneIdentification; |
} |
|
|
@Override |
public HasWidgets getZoneLiens() { |
return zoneLiens; |
} |
|
@Override |
public HasWidgets getZoneChapeau() { |
return zoneChapeau; |
} |
|
} |
|
|
|
|
|
|
} |