Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Dietisheim2010-03-11 00:01:33 +0000
committerAndre Dietisheim2010-03-11 00:01:33 +0000
commit91b1f90a224256720055c26831e2fd3932bef7ae (patch)
tree63dca14fe48675df1c917aa076f915beecc546fd /plugins/org.eclipse.emf.cdo.ui.branch/src/org
parent1a85121b9744d76165dbda3b9d3201239baff8ec (diff)
downloadcdo-91b1f90a224256720055c26831e2fd3932bef7ae.tar.gz
cdo-91b1f90a224256720055c26831e2fd3932bef7ae.tar.xz
cdo-91b1f90a224256720055c26831e2fd3932bef7ae.zip
Copyright header added
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.ui.branch/src/org')
-rw-r--r--plugins/org.eclipse.emf.cdo.ui.branch/src/org/eclipse/emf/cdo/ui/internal/branch/geometry/GeometryUtils.java24
1 files changed, 18 insertions, 6 deletions
diff --git a/plugins/org.eclipse.emf.cdo.ui.branch/src/org/eclipse/emf/cdo/ui/internal/branch/geometry/GeometryUtils.java b/plugins/org.eclipse.emf.cdo.ui.branch/src/org/eclipse/emf/cdo/ui/internal/branch/geometry/GeometryUtils.java
index f0523be04c..67bfdec640 100644
--- a/plugins/org.eclipse.emf.cdo.ui.branch/src/org/eclipse/emf/cdo/ui/internal/branch/geometry/GeometryUtils.java
+++ b/plugins/org.eclipse.emf.cdo.ui.branch/src/org/eclipse/emf/cdo/ui/internal/branch/geometry/GeometryUtils.java
@@ -1,19 +1,31 @@
+/**
+ * Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Andre Dietisheim - initial API and implementation
+ */
package org.eclipse.emf.cdo.ui.internal.branch.geometry;
import org.eclipse.zest.layouts.dataStructures.DisplayIndependentDimension;
public class GeometryUtils
{
-
/**
- * Unifies both given dimension.
- *
- * @param thisDimension the this dimension
- * @param thatDimension the that dimension
+ * Unifies both given dimensions.
*
+ * @param thisDimension
+ * the this dimension
+ * @param thatDimension
+ * the that dimension
* @return the display independent dimension
*/
- public static DisplayIndependentDimension union(DisplayIndependentDimension thisDimension, DisplayIndependentDimension thatDimension) {
+ public static DisplayIndependentDimension union(DisplayIndependentDimension thisDimension,
+ DisplayIndependentDimension thatDimension)
+ {
DisplayIndependentDimension union = new DisplayIndependentDimension(thisDimension);
union.width += thatDimension.width;
union.height += thatDimension.height;

Back to the top