From cb85af3494c6384b887abd67c3e0dae046f6c24c Mon Sep 17 00:00:00 2001 From: Patrick Ziegler Date: Wed, 22 Jan 2025 06:23:33 +0100 Subject: [PATCH] Restore and update license headers for Zest layout snippets The snippets we created as part of the Google Summer of Code 2009 by Mateusz Matela and Ian Bull: https://wiki.eclipse.org/Tree_Views_for_Zest Copyright headers have been taken and adapted from the corresponding patch attached to https://bugs.eclipse.org/bugs/show_bug.cgi?id=277534 Contributes to https://github.com/eclipse-gef/gef-classic/issues/674 --- .../zest/examples/layouts/CustomLayout.java | 14 ++++++++++++++ .../eclipse/zest/examples/layouts/DAGExample.java | 12 ++++++++++++ .../zest/examples/layouts/RadialLayoutExample.java | 13 +++++++++++++ .../zest/examples/layouts/SpaceTreeBuilding.java | 13 +++++++++++++ .../zest/examples/layouts/SpaceTreeExample.java | 13 +++++++++++++ .../zest/examples/layouts/TreeLayoutExample.java | 13 +++++++++++++ 6 files changed, 78 insertions(+) diff --git a/org.eclipse.zest.examples/src/org/eclipse/zest/examples/layouts/CustomLayout.java b/org.eclipse.zest.examples/src/org/eclipse/zest/examples/layouts/CustomLayout.java index 3155fdce9..523035c15 100644 --- a/org.eclipse.zest.examples/src/org/eclipse/zest/examples/layouts/CustomLayout.java +++ b/org.eclipse.zest.examples/src/org/eclipse/zest/examples/layouts/CustomLayout.java @@ -1,3 +1,17 @@ +/******************************************************************************* + * Copyright 2005, 2025 CHISEL Group, University of Victoria, Victoria, BC, + * Canada. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0. + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * The Chisel Group, University of Victoria + * Mateusz Matela - [tree] Add Space Tree support to Graph widget - https://bugs.eclipse.org/bugs/show_bug.cgi?id=277534 + ******************************************************************************/ package org.eclipse.zest.examples.layouts; import org.eclipse.swt.SWT; diff --git a/org.eclipse.zest.examples/src/org/eclipse/zest/examples/layouts/DAGExample.java b/org.eclipse.zest.examples/src/org/eclipse/zest/examples/layouts/DAGExample.java index e578b7347..db67a954f 100644 --- a/org.eclipse.zest.examples/src/org/eclipse/zest/examples/layouts/DAGExample.java +++ b/org.eclipse.zest.examples/src/org/eclipse/zest/examples/layouts/DAGExample.java @@ -1,3 +1,15 @@ +/******************************************************************************* + * Copyright 2005, 2025 CHISEL Group, University of Victoria, Victoria, BC, Canada. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0. + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * Ian Bull + *******************************************************************************/ package org.eclipse.zest.examples.layouts; import java.util.List; diff --git a/org.eclipse.zest.examples/src/org/eclipse/zest/examples/layouts/RadialLayoutExample.java b/org.eclipse.zest.examples/src/org/eclipse/zest/examples/layouts/RadialLayoutExample.java index a1df2bd92..ba30527a4 100644 --- a/org.eclipse.zest.examples/src/org/eclipse/zest/examples/layouts/RadialLayoutExample.java +++ b/org.eclipse.zest.examples/src/org/eclipse/zest/examples/layouts/RadialLayoutExample.java @@ -1,3 +1,16 @@ +/******************************************************************************* + * Copyright 2005, 2025 CHISEL Group, University of Victoria, Victoria, BC, Canada. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0. + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * The Chisel Group, University of Victoria + * Mateusz Matela - [tree] Add Space Tree support to Graph widget - https://bugs.eclipse.org/bugs/show_bug.cgi?id=277534 + *******************************************************************************/ package org.eclipse.zest.examples.layouts; import org.eclipse.swt.SWT; diff --git a/org.eclipse.zest.examples/src/org/eclipse/zest/examples/layouts/SpaceTreeBuilding.java b/org.eclipse.zest.examples/src/org/eclipse/zest/examples/layouts/SpaceTreeBuilding.java index 218b626a0..18a062410 100644 --- a/org.eclipse.zest.examples/src/org/eclipse/zest/examples/layouts/SpaceTreeBuilding.java +++ b/org.eclipse.zest.examples/src/org/eclipse/zest/examples/layouts/SpaceTreeBuilding.java @@ -1,3 +1,16 @@ +/******************************************************************************* + * Copyright 2005, 2025 CHISEL Group, University of Victoria, Victoria, BC, Canada. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0. + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * The Chisel Group, University of Victoria + * Mateusz Matela - [tree] Add Space Tree support to Graph widget - https://bugs.eclipse.org/bugs/show_bug.cgi?id=277534 + *******************************************************************************/ package org.eclipse.zest.examples.layouts; import java.util.List; diff --git a/org.eclipse.zest.examples/src/org/eclipse/zest/examples/layouts/SpaceTreeExample.java b/org.eclipse.zest.examples/src/org/eclipse/zest/examples/layouts/SpaceTreeExample.java index 234602496..eb334883d 100644 --- a/org.eclipse.zest.examples/src/org/eclipse/zest/examples/layouts/SpaceTreeExample.java +++ b/org.eclipse.zest.examples/src/org/eclipse/zest/examples/layouts/SpaceTreeExample.java @@ -1,3 +1,16 @@ +/******************************************************************************* + * Copyright 2005, 2025 CHISEL Group, University of Victoria, Victoria, BC, Canada. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0. + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * The Chisel Group, University of Victoria + * Mateusz Matela - [tree] Add Space Tree support to Graph widget - https://bugs.eclipse.org/bugs/show_bug.cgi?id=277534 + *******************************************************************************/ package org.eclipse.zest.examples.layouts; import java.util.List; diff --git a/org.eclipse.zest.examples/src/org/eclipse/zest/examples/layouts/TreeLayoutExample.java b/org.eclipse.zest.examples/src/org/eclipse/zest/examples/layouts/TreeLayoutExample.java index 545e040d0..c6d991f61 100644 --- a/org.eclipse.zest.examples/src/org/eclipse/zest/examples/layouts/TreeLayoutExample.java +++ b/org.eclipse.zest.examples/src/org/eclipse/zest/examples/layouts/TreeLayoutExample.java @@ -1,3 +1,16 @@ +/******************************************************************************* + * Copyright 2005, 2025 CHISEL Group, University of Victoria, Victoria, BC, Canada. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * http://www.eclipse.org/legal/epl-2.0. + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * The Chisel Group, University of Victoria + * Mateusz Matela - [tree] Add Space Tree support to Graph widget - https://bugs.eclipse.org/bugs/show_bug.cgi?id=277534 + *******************************************************************************/ package org.eclipse.zest.examples.layouts; import java.util.List;