From e6f9b627a892c192082c921724a57e40c324503e Mon Sep 17 00:00:00 2001 From: Patrick Ziegler Date: Mon, 23 Mar 2026 20:13:31 +0100 Subject: [PATCH] [Draw2D] RootFigure should extend Draw2D Figure The only significant difference between the Draw2D Figure and our Figure is that we use local coordinates by default. However, this isn't relevant for the root figure as its top-left corner is always (0, 0). --- .../src-draw2d/org/eclipse/wb/internal/draw2d/RootFigure.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.eclipse.wb.core/src-draw2d/org/eclipse/wb/internal/draw2d/RootFigure.java b/org.eclipse.wb.core/src-draw2d/org/eclipse/wb/internal/draw2d/RootFigure.java index a587f7a14..bfe0ac388 100644 --- a/org.eclipse.wb.core/src-draw2d/org/eclipse/wb/internal/draw2d/RootFigure.java +++ b/org.eclipse.wb.core/src-draw2d/org/eclipse/wb/internal/draw2d/RootFigure.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2011, 2025 Google, Inc. and others. + * Copyright (c) 2011, 2026 Google, Inc. and others. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at @@ -12,10 +12,10 @@ *******************************************************************************/ package org.eclipse.wb.internal.draw2d; -import org.eclipse.wb.draw2d.Figure; import org.eclipse.wb.draw2d.Layer; import org.eclipse.draw2d.EventDispatcher; +import org.eclipse.draw2d.Figure; import org.eclipse.draw2d.IFigure; import org.eclipse.draw2d.UpdateManager; import org.eclipse.draw2d.geometry.Dimension;