private Set<VPaintableWidget> zeroHeightComponents = null;
+ private final MeasureManager measureManager = new MeasureManager();
+
public ApplicationConnection() {
view = GWT.create(VViewPaintable.class);
view.setConnection(this);
public void execute() {
layoutScheduled = false;
- MeasureManager.get().doLayout(ApplicationConnection.this);
+ measureManager.doLayout(ApplicationConnection.this);
}
};
}
}
- private static MeasureManager instance = new MeasureManager();
-
public void doLayout(ApplicationConnection client) {
VPaintableMap paintableMap = client.getPaintableMap();
VPaintableWidget[] paintableWidgets = paintableMap
return changed;
}
-
- private MeasureManager() {
- // Singleton constructor
- }
-
- public static MeasureManager get() {
- return instance;
- }
}