aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHallvard Traetteberg2012-05-10 03:55:21 (EDT)
committerHallvard Traetteberg2012-06-02 09:37:37 (EDT)
commitbb326ba66917c3a0eae98e2f39d5ec94a2d22b37 (patch)
tree23faf85d5fc45e2c42106a21a92e4f6031949ce4
parenta94f7de40e32cf978a3eac382a40713fa635d329 (diff)
downloadorg.eclipse.nebula-bb326ba66917c3a0eae98e2f39d5ec94a2d22b37.zip
org.eclipse.nebula-bb326ba66917c3a0eae98e2f39d5ec94a2d22b37.tar.gz
org.eclipse.nebula-bb326ba66917c3a0eae98e2f39d5ec94a2d22b37.tar.bz2
Changed to use new getInitialHorizontal/VerticalFill methods in
AbstractExampleTab.
-rw-r--r--widgets/geomap/org.eclipse.nebula.jface.geomap.example/src/org/eclipse/nebula/jface/geomap/example/GeoMapViewerExampleTab.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/widgets/geomap/org.eclipse.nebula.jface.geomap.example/src/org/eclipse/nebula/jface/geomap/example/GeoMapViewerExampleTab.java b/widgets/geomap/org.eclipse.nebula.jface.geomap.example/src/org/eclipse/nebula/jface/geomap/example/GeoMapViewerExampleTab.java
index 12de8fe..a337590 100644
--- a/widgets/geomap/org.eclipse.nebula.jface.geomap.example/src/org/eclipse/nebula/jface/geomap/example/GeoMapViewerExampleTab.java
+++ b/widgets/geomap/org.eclipse.nebula.jface.geomap.example/src/org/eclipse/nebula/jface/geomap/example/GeoMapViewerExampleTab.java
@@ -31,16 +31,6 @@ public class GeoMapViewerExampleTab extends AbstractExampleTab {
private GeoMapViewer geoMapViewer;
- private static Options options = new Options();
- static {
- options.controlLayoutHorizontalFill = Boolean.TRUE;
- options.controlLayoutVerticalFill = Boolean.TRUE;
- }
-
- public GeoMapViewerExampleTab() {
- super(options);
- }
-
public Control createControl(Composite parent) {
geoMapViewer = new GeoMapViewer(parent, SWT.NONE);
configureMapViewer();
@@ -79,6 +69,16 @@ public class GeoMapViewerExampleTab extends AbstractExampleTab {
});
}
+ @Override
+ public boolean getInitialHorizontalFill() {
+ return true;
+ }
+
+ @Override
+ public boolean getInitialVerticalFill() {
+ return true;
+ }
+
private static class ContributorLocation {
public final String name;
public final PointD location;