292193: Update AGF3D to latest GEF3D
https://bugs.eclipse.org/bugs/show_bug.cgi?id=292193

Significant refactorings across AGF and AXF.
diff --git a/org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.core/META-INF/MANIFEST.MF b/org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.core/META-INF/MANIFEST.MF
index ec42450..3896e78 100644
--- a/org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.core/META-INF/MANIFEST.MF
+++ b/org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.core/META-INF/MANIFEST.MF
@@ -8,6 +8,8 @@
 Require-Bundle: org.eclipse.core.runtime
 Bundle-RequiredExecutionEnvironment: J2SE-1.5
 Bundle-ActivationPolicy: lazy
-Export-Package: org.eclipse.amp.axf.core;uses:="org.eclipse.core.runtime,org.osgi.framework"
+Export-Package: org.eclipse.amp.axf.core;uses:="org.eclipse.core.runtime,org.osgi.framework",
+ org.eclipse.amp.axf.space,
+ org.eclipse.amp.axf.time
 Bundle-ClassPath: .
 Bundle-Localization: plugin
diff --git a/org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.core/src/org/eclipse/amp/axf/core/IEngine.java b/org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.core/src/org/eclipse/amp/axf/core/IEngine.java
index e584895..4a59282 100644
--- a/org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.core/src/org/eclipse/amp/axf/core/IEngine.java
+++ b/org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.core/src/org/eclipse/amp/axf/core/IEngine.java
@@ -15,6 +15,8 @@
  */

 package org.eclipse.amp.axf.core;

 

+import org.eclipse.amp.axf.time.ITimeGranularity;

+

 // TODO: Auto-generated Javadoc

 /**

  * The Interface IEngine.

diff --git a/org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.core/src/org/eclipse/amp/axf/space/IGraphProvider.java b/org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.core/src/org/eclipse/amp/axf/space/IGraphProvider.java
new file mode 100644
index 0000000..1f2011a
--- /dev/null
+++ b/org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.core/src/org/eclipse/amp/axf/space/IGraphProvider.java
@@ -0,0 +1,27 @@
+/**

+ * <copyright>

+ *

+ * Copyright (c) 2009 Metascape, LLC.

+ * 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: 

+ *   Metascape - Initial API and Implementation

+ *

+ * </copyright>

+ *

+*/

+package org.eclipse.amp.axf.space;

+

+import java.util.HashMap;

+import java.util.List;

+

+public interface IGraphProvider {

+    public HashMap getAdjacencyMap(Object graph);

+

+    public List getNeighborsFor(Object graph, Object source);

+

+    public boolean isGraph(Object graph);

+}

diff --git a/org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.core/src/org/eclipse/amp/axf/space/ILocation.java b/org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.core/src/org/eclipse/amp/axf/space/ILocation.java
new file mode 100644
index 0000000..1a993ad
--- /dev/null
+++ b/org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.core/src/org/eclipse/amp/axf/space/ILocation.java
@@ -0,0 +1,22 @@
+/**

+ * <copyright>

+ *

+ * Copyright (c) 2009 Metascape, LLC.

+ * 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: 

+ *   Metascape - Initial API and Implementation

+ *

+ * </copyright>

+ *

+*/

+package org.eclipse.amp.axf.space;

+

+public interface ILocation {

+    public int getX();

+

+    public int getY();

+}

diff --git a/org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.core/src/org/eclipse/amp/axf/space/ILocationProvider.java b/org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.core/src/org/eclipse/amp/axf/space/ILocationProvider.java
new file mode 100644
index 0000000..def822d
--- /dev/null
+++ b/org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.core/src/org/eclipse/amp/axf/space/ILocationProvider.java
@@ -0,0 +1,24 @@
+/**

+ * <copyright>

+ *

+ * Copyright (c) 2009 Metascape, LLC.

+ * 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:

+ *   Metascape - Initial API and Implementation

+ *

+ * </copyright>

+ *

+ */

+package org.eclipse.amp.axf.space;

+

+

+public interface ILocationProvider {

+

+    public ILocation getLocation(Object located);

+

+    public ILocation getExtent(Object located);

+}

diff --git a/org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.core/src/org/eclipse/amp/axf/core/ITimeGranularity.java b/org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.core/src/org/eclipse/amp/axf/time/ITimeGranularity.java
similarity index 96%
rename from org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.core/src/org/eclipse/amp/axf/core/ITimeGranularity.java
rename to org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.core/src/org/eclipse/amp/axf/time/ITimeGranularity.java
index 3dbfe73..68adc2e 100644
--- a/org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.core/src/org/eclipse/amp/axf/core/ITimeGranularity.java
+++ b/org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.core/src/org/eclipse/amp/axf/time/ITimeGranularity.java
@@ -14,7 +14,7 @@
  *

  */

 

-package org.eclipse.amp.axf.core;

+package org.eclipse.amp.axf.time;

 

 /**

  * A marker interface for levels of update granularity. These are designed to be extensible for particular engine

diff --git a/org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.core/src/org/eclipse/amp/axf/core/TimeGranularity.java b/org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.core/src/org/eclipse/amp/axf/time/TimeGranularity.java
similarity index 98%
rename from org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.core/src/org/eclipse/amp/axf/core/TimeGranularity.java
rename to org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.core/src/org/eclipse/amp/axf/time/TimeGranularity.java
index cc420e4..3cc5cf1 100644
--- a/org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.core/src/org/eclipse/amp/axf/core/TimeGranularity.java
+++ b/org.eclipse.amp.axf/plugins/org.eclipse.amp.axf.core/src/org/eclipse/amp/axf/time/TimeGranularity.java
@@ -14,7 +14,7 @@
  *

  */

 

-package org.eclipse.amp.axf.core;

+package org.eclipse.amp.axf.time;

 

 /**

  * Provides typical model update granularity. Models updates can be delayed or they can be designed to take place only