Rmoved getCurrentSize from API, we see no client usecase for this
diff --git a/plugins/org.eclipse.graphiti.ui/src/org/eclipse/graphiti/ui/editor/DiagramEditor.java b/plugins/org.eclipse.graphiti.ui/src/org/eclipse/graphiti/ui/editor/DiagramEditor.java
index 3180a1b..948e65a 100644
--- a/plugins/org.eclipse.graphiti.ui/src/org/eclipse/graphiti/ui/editor/DiagramEditor.java
+++ b/plugins/org.eclipse.graphiti.ui/src/org/eclipse/graphiti/ui/editor/DiagramEditor.java
@@ -76,7 +76,6 @@
 import org.eclipse.gef.ui.parts.ScrollingGraphicalViewer;
 import org.eclipse.gef.ui.parts.SelectionSynchronizer;
 import org.eclipse.graphiti.DiagramScrollingBehavior;
-import org.eclipse.graphiti.datatypes.IDimension;
 import org.eclipse.graphiti.dt.IDiagramTypeProvider;
 import org.eclipse.graphiti.features.IAddFeature;
 import org.eclipse.graphiti.features.IFeature;
@@ -90,7 +89,6 @@
 import org.eclipse.graphiti.internal.command.AddFeatureCommandWithContext;
 import org.eclipse.graphiti.internal.command.FeatureCommandWithContext;
 import org.eclipse.graphiti.internal.command.GenericFeatureCommandWithContext;
-import org.eclipse.graphiti.internal.datatypes.impl.DimensionImpl;
 import org.eclipse.graphiti.internal.services.GraphitiInternal;
 import org.eclipse.graphiti.mm.pictograms.Diagram;
 import org.eclipse.graphiti.mm.pictograms.PictogramElement;
@@ -1159,32 +1157,6 @@
 	}
 
 	/**
-	 * @since 0.9
-	 */
-	public IDimension getCurrentSize() {
-
-		if (getDiagramScrollingBehavior() == DiagramScrollingBehavior.SCROLLBARS_ALWAYS_VISIBLE) {
-			GFFigureCanvas canvas = getGFFigureCanvas();
-			// if this method is called during editor opening, it can fail, so
-			// we return "default size".
-			if (canvas != null) {
-				Dimension size = canvas.getContents().getSize();
-				return new DimensionImpl(size.width, size.height);
-			} else
-				return new DimensionImpl(1024, 768);
-		} else {
-			FigureCanvas canvas = getFigureCanvas();
-			// if this method is called during editor opening, it can fail, so
-			// we return "default size".
-			if (canvas != null) {
-				Dimension size = canvas.getContents().getSize();
-				return new DimensionImpl(size.width, size.height);
-			} else
-				return new DimensionImpl(1024, 768);
-		}
-	}
-
-	/**
 	 * Gets the diagram scrolling behavior.
 	 * 
 	 * @return the diagram scrolling behavior
diff --git a/plugins/org.eclipse.graphiti/.settings/.api_filters b/plugins/org.eclipse.graphiti/.settings/.api_filters
index ae58322..769dab2 100644
--- a/plugins/org.eclipse.graphiti/.settings/.api_filters
+++ b/plugins/org.eclipse.graphiti/.settings/.api_filters
@@ -101,6 +101,12 @@
         <filter id="405901410">

             <message_arguments>

                 <message_argument value="org.eclipse.graphiti.platform.IDiagramEditor"/>

+                <message_argument value="getCurrentSize()"/>

+            </message_arguments>

+        </filter>

+        <filter id="405901410">

+            <message_arguments>

+                <message_argument value="org.eclipse.graphiti.platform.IDiagramEditor"/>

                 <message_argument value="refresh(PictogramElement)"/>

             </message_arguments>

         </filter>

diff --git a/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/platform/IDiagramEditor.java b/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/platform/IDiagramEditor.java
index 50a1751..57e4490 100644
--- a/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/platform/IDiagramEditor.java
+++ b/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/platform/IDiagramEditor.java
@@ -19,7 +19,6 @@
 
 import org.eclipse.emf.ecore.resource.ResourceSet;
 import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.graphiti.datatypes.IDimension;
 import org.eclipse.graphiti.dt.IDiagramTypeProvider;
 import org.eclipse.graphiti.features.IFeature;
 import org.eclipse.graphiti.features.context.IContext;
@@ -94,13 +93,6 @@
 	void refresh();
 
 	/**
-	 * Gets the current size.
-	 * 
-	 * @return the current size of the diagram in the editor
-	 */
-	IDimension getCurrentSize();
-
-	/**
 	 * Checks if is dirty.
 	 * 
 	 * @return true, if editor is dirty