Fixed warnings and masked some irrelevant warnings

Change-Id: I7bf480616970b1aebd6ba5035b92615ac30b4c88
diff --git a/plugins/org.eclipse.graphiti.pattern/.settings/.api_filters b/plugins/org.eclipse.graphiti.pattern/.settings/.api_filters
index 4672dc5..f00e08e 100644
--- a/plugins/org.eclipse.graphiti.pattern/.settings/.api_filters
+++ b/plugins/org.eclipse.graphiti.pattern/.settings/.api_filters
@@ -14,6 +14,24 @@
             </message_arguments>
         </filter>
     </resource>
+    <resource path="src/org/eclipse/graphiti/pattern/AbstractConnectionPattern.java" type="org.eclipse.graphiti.pattern.AbstractConnectionPattern">
+        <filter id="574668824">
+            <message_arguments>
+                <message_argument value="IConnectionPattern"/>
+                <message_argument value="AbstractConnectionPattern"/>
+                <message_argument value="IAdd"/>
+            </message_arguments>
+        </filter>
+    </resource>
+    <resource path="src/org/eclipse/graphiti/pattern/AbstractPattern.java" type="org.eclipse.graphiti.pattern.AbstractPattern">
+        <filter id="574668824">
+            <message_arguments>
+                <message_argument value="IPattern"/>
+                <message_argument value="AbstractPattern"/>
+                <message_argument value="ICreate"/>
+            </message_arguments>
+        </filter>
+    </resource>
     <resource path="src/org/eclipse/graphiti/pattern/IConnectionPattern.java" type="org.eclipse.graphiti.pattern.IConnectionPattern">
         <filter id="571473929">
             <message_arguments>
diff --git a/plugins/org.eclipse.graphiti.ui/.settings/.api_filters b/plugins/org.eclipse.graphiti.ui/.settings/.api_filters
index f99ac37..2a201b8 100644
--- a/plugins/org.eclipse.graphiti.ui/.settings/.api_filters
+++ b/plugins/org.eclipse.graphiti.ui/.settings/.api_filters
@@ -8,12 +8,37 @@
             </message_arguments>
         </filter>
     </resource>
+    <resource path="src/org/eclipse/graphiti/ui/editor/DiagramBehavior.java" type="org.eclipse.graphiti.ui.editor.DiagramBehavior">
+        <filter id="574668824">
+            <message_arguments>
+                <message_argument value="IDiagramBehaviorUI"/>
+                <message_argument value="DiagramBehavior"/>
+                <message_argument value="IDiagramBehavior"/>
+            </message_arguments>
+        </filter>
+    </resource>
+    <resource path="src/org/eclipse/graphiti/ui/editor/DiagramComposite.java" type="org.eclipse.graphiti.ui.editor.DiagramComposite">
+        <filter id="574668824">
+            <message_arguments>
+                <message_argument value="IDiagramContainerUI"/>
+                <message_argument value="DiagramComposite"/>
+                <message_argument value="IDiagramContainer"/>
+            </message_arguments>
+        </filter>
+    </resource>
     <resource path="src/org/eclipse/graphiti/ui/editor/DiagramEditor.java" type="org.eclipse.graphiti.ui.editor.DiagramEditor">
         <filter comment="Bug 429532 - Remove deprecations in 0.12.0" id="337682486">
             <message_arguments>
                 <message_argument value="org.eclipse.graphiti.ui.editor.DiagramEditor"/>
             </message_arguments>
         </filter>
+        <filter id="574668824">
+            <message_arguments>
+                <message_argument value="IDiagramContainerUI"/>
+                <message_argument value="DiagramEditor"/>
+                <message_argument value="IDiagramContainer"/>
+            </message_arguments>
+        </filter>
     </resource>
     <resource path="src/org/eclipse/graphiti/ui/editor/IDiagramBehaviorUI.java" type="org.eclipse.graphiti.ui.editor.IDiagramBehaviorUI">
         <filter id="571473929">
@@ -104,6 +129,15 @@
             </message_arguments>
         </filter>
     </resource>
+    <resource path="src/org/eclipse/graphiti/ui/internal/config/ConfigurationProvider.java" type="org.eclipse.graphiti.ui.internal.config.ConfigurationProvider">
+        <filter id="574668824">
+            <message_arguments>
+                <message_argument value="IConfigurationProviderInternal"/>
+                <message_argument value="ConfigurationProvider"/>
+                <message_argument value="IFeatureProviderHolder"/>
+            </message_arguments>
+        </filter>
+    </resource>
     <resource path="src/org/eclipse/graphiti/ui/internal/editor/DiagramBehaviorDummy.java" type="org.eclipse.graphiti.ui.internal.editor.DiagramBehaviorDummy">
         <filter id="574619656">
             <message_arguments>
@@ -144,6 +178,15 @@
             </message_arguments>
         </filter>
     </resource>
+    <resource path="src/org/eclipse/graphiti/ui/internal/services/impl/UiLayoutService.java" type="org.eclipse.graphiti.ui.internal.services.impl.UiLayoutService">
+        <filter id="574668824">
+            <message_arguments>
+                <message_argument value="IUiLayoutService"/>
+                <message_argument value="UiLayoutService"/>
+                <message_argument value="ILayoutService"/>
+            </message_arguments>
+        </filter>
+    </resource>
     <resource path="src/org/eclipse/graphiti/ui/platform/GFPropertySection.java" type="org.eclipse.graphiti.ui.platform.GFPropertySection">
         <filter comment="Bug 429532 - Remove deprecations in 0.12.0" id="338792546">
             <message_arguments>
diff --git a/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/dt/AbstractDiagramTypeProvider.java b/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/dt/AbstractDiagramTypeProvider.java
index aa94b7b..0000a8d 100644
--- a/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/dt/AbstractDiagramTypeProvider.java
+++ b/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/dt/AbstractDiagramTypeProvider.java
@@ -35,7 +35,6 @@
  * The Class AbstractDiagramTypeProvider.
  * 
  */
-@SuppressWarnings("deprecation")
 public abstract class AbstractDiagramTypeProvider extends AbstractExtension implements IDiagramTypeProvider {
 
 	private IToolBehaviorProvider[] availableToolBehaviorProviders = null;
diff --git a/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/services/impl/GaServiceImpl.java b/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/services/impl/GaServiceImpl.java
index 5f4bf25..bd5ceca 100644
--- a/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/services/impl/GaServiceImpl.java
+++ b/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/services/impl/GaServiceImpl.java
@@ -111,21 +111,6 @@
 		return c;
 	}
 
-	private static final Integer getAngle(Style style) {
-		Integer angle = style.getAngle();
-		if (angle == null) {
-			StyleContainer styleContainer = style.getStyleContainer();
-			if (styleContainer instanceof Style) {
-				Style parentStyle = (Style) styleContainer;
-				return getAngle(parentStyle);
-			} else {
-				return null;
-			}
-		} else {
-			return angle;
-		}
-	}
-
 	private static final Double getRotation(Style style) {
 		Double rotation = style.getRotation();
 		if (rotation == null) {