You are viewing a plain text version of this content. The canonical link for it is here.
Posted to kato-commits@incubator.apache.org by sp...@apache.org on 2009/07/31 09:21:01 UTC

svn commit: r799555 - in /incubator/kato/trunk/org.apache.kato.eclipse/plugins/kato.explorer.plugin: .settings/ src/main/java/org/apache/kato/tools/explorer/plugin/views/

Author: spoole
Date: Fri Jul 31 09:21:01 2009
New Revision: 799555

URL: http://svn.apache.org/viewvc?rev=799555&view=rev
Log:
updated eclipse project to use javax.tools.diagnostics API

Modified:
    incubator/kato/trunk/org.apache.kato.eclipse/plugins/kato.explorer.plugin/.settings/org.eclipse.jdt.core.prefs
    incubator/kato/trunk/org.apache.kato.eclipse/plugins/kato.explorer.plugin/src/main/java/org/apache/kato/tools/explorer/plugin/views/RuntimeExplorer.java
    incubator/kato/trunk/org.apache.kato.eclipse/plugins/kato.explorer.plugin/src/main/java/org/apache/kato/tools/explorer/plugin/views/ViewLabelProvider.java

Modified: incubator/kato/trunk/org.apache.kato.eclipse/plugins/kato.explorer.plugin/.settings/org.eclipse.jdt.core.prefs
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato.eclipse/plugins/kato.explorer.plugin/.settings/org.eclipse.jdt.core.prefs?rev=799555&r1=799554&r2=799555&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato.eclipse/plugins/kato.explorer.plugin/.settings/org.eclipse.jdt.core.prefs (original)
+++ incubator/kato/trunk/org.apache.kato.eclipse/plugins/kato.explorer.plugin/.settings/org.eclipse.jdt.core.prefs Fri Jul 31 09:21:01 2009
@@ -1,12 +1,12 @@
-#Thu Jun 25 11:44:11 BST 2009
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.6
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.6
+#Fri Jul 31 10:14:25 BST 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6

Modified: incubator/kato/trunk/org.apache.kato.eclipse/plugins/kato.explorer.plugin/src/main/java/org/apache/kato/tools/explorer/plugin/views/RuntimeExplorer.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato.eclipse/plugins/kato.explorer.plugin/src/main/java/org/apache/kato/tools/explorer/plugin/views/RuntimeExplorer.java?rev=799555&r1=799554&r2=799555&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato.eclipse/plugins/kato.explorer.plugin/src/main/java/org/apache/kato/tools/explorer/plugin/views/RuntimeExplorer.java (original)
+++ incubator/kato/trunk/org.apache.kato.eclipse/plugins/kato.explorer.plugin/src/main/java/org/apache/kato/tools/explorer/plugin/views/RuntimeExplorer.java Fri Jul 31 09:21:01 2009
@@ -25,9 +25,10 @@
 import java.util.Iterator;
 import java.util.List;
 
-import org.apache.kato.image.CorruptDataException;
-import org.apache.kato.image.DataUnavailable;
-import org.apache.kato.image.ImagePointer;
+import javax.tools.diagnostics.image.CorruptDataException;
+import javax.tools.diagnostics.image.DataUnavailable;
+import javax.tools.diagnostics.image.ImagePointer;
+
 import org.apache.kato.tools.explorer.plugin.Activator;
 import org.apache.kato.tools.explorer.plugin.RTEDataException;
 import org.eclipse.core.resources.IFile;
@@ -277,14 +278,14 @@
 						ps.busyCursorWhile(new IRunnableWithProgress() {
 						      public void run(IProgressMonitor pm) {
 						    	  pm.beginTask("reading file", IProgressMonitor.UNKNOWN);
-						    	  org.apache.kato.image.Image image=null;
+						    	  javax.tools.diagnostics.image.Image image=null;
 								try {
 									image = org.apache.kato.api.plugin.Activator.getDefault().getImage(dump);
 								} catch (IOException e) {
 									showMessage("Error reading Image File " + dump.getAbsolutePath());
 									return;
 								}
-						    	  TreeParent root = createNodeFromItem(dump.getName(), org.apache.kato.image.Image.class, image);
+						    	  TreeParent root = createNodeFromItem(dump.getName(), javax.tools.diagnostics.image.Image.class, image);
 									invisibleRoot = new TreeParent("");
 									invisibleRoot.addChild(root);
 								

Modified: incubator/kato/trunk/org.apache.kato.eclipse/plugins/kato.explorer.plugin/src/main/java/org/apache/kato/tools/explorer/plugin/views/ViewLabelProvider.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato.eclipse/plugins/kato.explorer.plugin/src/main/java/org/apache/kato/tools/explorer/plugin/views/ViewLabelProvider.java?rev=799555&r1=799554&r2=799555&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato.eclipse/plugins/kato.explorer.plugin/src/main/java/org/apache/kato/tools/explorer/plugin/views/ViewLabelProvider.java (original)
+++ incubator/kato/trunk/org.apache.kato.eclipse/plugins/kato.explorer.plugin/src/main/java/org/apache/kato/tools/explorer/plugin/views/ViewLabelProvider.java Fri Jul 31 09:21:01 2009
@@ -3,16 +3,17 @@
  */
 package org.apache.kato.tools.explorer.plugin.views;
 
-import org.apache.kato.image.ImageModule;
-import org.apache.kato.image.ImageProcess;
-import org.apache.kato.image.ImageStackFrame;
-import org.apache.kato.image.ImageSymbol;
-import org.apache.kato.image.ImageThread;
-import org.apache.kato.java.JavaHeap;
-import org.apache.kato.java.JavaMonitor;
-import org.apache.kato.java.JavaObject;
-import org.apache.kato.java.JavaReference;
-import org.apache.kato.java.JavaThread;
+import javax.tools.diagnostics.image.ImageModule;
+import javax.tools.diagnostics.image.ImageProcess;
+import javax.tools.diagnostics.image.ImageStackFrame;
+import javax.tools.diagnostics.image.ImageSymbol;
+import javax.tools.diagnostics.image.ImageThread;
+import javax.tools.diagnostics.runtime.java.JavaHeap;
+import javax.tools.diagnostics.runtime.java.JavaMonitor;
+import javax.tools.diagnostics.runtime.java.JavaObject;
+import javax.tools.diagnostics.runtime.java.JavaReference;
+import javax.tools.diagnostics.runtime.java.JavaThread;
+
 import org.apache.kato.tools.explorer.plugin.views.RuntimeExplorer.TreeParent;
 import org.eclipse.jface.viewers.LabelProvider;
 import org.eclipse.swt.graphics.Image;