]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.graphfile/src/org/simantics/graphfile/hack/SystemProject.java
Fixing platform to build on the Eclipse 4.14 target
[simantics/platform.git] / bundles / org.simantics.graphfile / src / org / simantics / graphfile / hack / SystemProject.java
index ac07e10abeba059e389b989267bb6acbc63c9255..500657e5d85026d72e198b69e91b6308def9b544 100644 (file)
@@ -33,14 +33,12 @@ import org.eclipse.core.resources.IWorkspace;
 import org.eclipse.core.resources.ResourceAttributes;
 import org.eclipse.core.runtime.CoreException;
 import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IPluginDescriptor;
 import org.eclipse.core.runtime.IProgressMonitor;
 import org.eclipse.core.runtime.Path;
 import org.eclipse.core.runtime.QualifiedName;
 import org.eclipse.core.runtime.content.IContentTypeMatcher;
 import org.eclipse.core.runtime.jobs.ISchedulingRule;
 
-@SuppressWarnings("deprecation")
 public class SystemProject implements IProject{
 
        private SystemProject(){};
@@ -615,9 +613,8 @@ public class SystemProject implements IProject{
                return false;
        }
 
-       @SuppressWarnings("rawtypes")
        @Override
-       public Object getAdapter(Class adapter) {
+       public <T> T getAdapter(Class<T> adapter) {
                // TODO Auto-generated method stub
                return null;
        }
@@ -700,12 +697,6 @@ public class SystemProject implements IProject{
                return null;
        }
 
-       @Override
-       public IPath getPluginWorkingLocation(IPluginDescriptor plugin) {
-               // TODO Auto-generated method stub
-               return null;
-       }
-
        @Override
        public IPath getWorkingLocation(String id) {
                // TODO Auto-generated method stub
@@ -832,5 +823,11 @@ public class SystemProject implements IProject{
                return false;
        }
 
+       @Override
+       public void clearCachedDynamicReferences() {
+               // TODO Auto-generated method stub
+               
+       }
+
 
 }