[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[jdt-debug-dev] jdt ui template code changing
|
org.eclipse.jdt.debug will need the attached patch to compile against
jdt.ui head.
Sorry for the inconvenience - if you can think of a better way to
communicate this, let me know.
-tom
Index: .project
===================================================================
RCS file: /home/eclipse/org.eclipse.jdt.debug.ui/.project,v
retrieving revision 1.14
diff -u -r1.14 .project
--- .project 26 Feb 2004 16:39:44 -0000 1.14
+++ .project 5 Mar 2004 15:49:35 -0000
@@ -10,7 +10,6 @@
<project>org.eclipse.debug.core</project>
<project>org.eclipse.debug.ui</project>
<project>org.eclipse.jdt.core</project>
- <project>org.eclipse.jdt.debug</project>
<project>org.eclipse.jdt.launching</project>
<project>org.eclipse.jdt.ui</project>
<project>org.eclipse.jface.text</project>
Index: ui/org/eclipse/jdt/internal/debug/ui/display/DisplayCompletionProcessor.java
===================================================================
RCS file: /home/eclipse/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/display/DisplayCompletionProcessor.java,v
retrieving revision 1.25
diff -u -r1.25 DisplayCompletionProcessor.java
--- ui/org/eclipse/jdt/internal/debug/ui/display/DisplayCompletionProcessor.java 4 Mar 2004 17:43:38 -0000 1.25
+++ ui/org/eclipse/jdt/internal/debug/ui/display/DisplayCompletionProcessor.java 5 Mar 2004 15:49:36 -0000
@@ -32,6 +32,7 @@
import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.jdt.debug.core.IJavaStackFrame;
import org.eclipse.jdt.internal.debug.ui.JDIDebugUIPlugin;
+import org.eclipse.jdt.internal.ui.JavaPlugin;
import org.eclipse.jdt.internal.ui.text.java.JavaCompletionProposalComparator;
import org.eclipse.jdt.internal.ui.text.java.JavaParameterListValidator;
import org.eclipse.jdt.internal.ui.text.java.ResultCollector;
@@ -49,7 +50,6 @@
import org.eclipse.jface.text.contentassist.IContextInformation;
import org.eclipse.jface.text.contentassist.IContextInformationValidator;
import org.eclipse.jface.text.templates.ContextType;
-import org.eclipse.jface.text.templates.ContextTypeRegistry;
import org.eclipse.swt.widgets.Shell;
/**
@@ -66,7 +66,7 @@
public DisplayCompletionProcessor() {
fCollector= new ResultCollector();
- ContextType contextType= ContextTypeRegistry.getInstance().getContextType("java"); //$NON-NLS-1$
+ ContextType contextType= JavaPlugin.getTemplateContextRegistry().getContextType("java"); //$NON-NLS-1$
if (contextType != null) {
fTemplateEngine= new TemplateEngine(contextType);
}
Index: ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/JavaSnippetCompletionProcessor.java
===================================================================
RCS file: /home/eclipse/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/JavaSnippetCompletionProcessor.java,v
retrieving revision 1.13
diff -u -r1.13 JavaSnippetCompletionProcessor.java
--- ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/JavaSnippetCompletionProcessor.java 4 Mar 2004 17:43:38 -0000 1.13
+++ ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/JavaSnippetCompletionProcessor.java 5 Mar 2004 15:49:36 -0000
@@ -15,6 +15,7 @@
import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.jdt.internal.debug.ui.JDIDebugUIPlugin;
+import org.eclipse.jdt.internal.ui.JavaPlugin;
import org.eclipse.jdt.internal.ui.text.java.JavaCompletionProposalComparator;
import org.eclipse.jdt.internal.ui.text.java.JavaParameterListValidator;
import org.eclipse.jdt.internal.ui.text.java.ResultCollector;
@@ -28,7 +29,6 @@
import org.eclipse.jface.text.contentassist.IContextInformation;
import org.eclipse.jface.text.contentassist.IContextInformationValidator;
import org.eclipse.jface.text.templates.ContextType;
-import org.eclipse.jface.text.templates.ContextTypeRegistry;
import org.eclipse.swt.widgets.Shell;
/**
@@ -47,7 +47,7 @@
public JavaSnippetCompletionProcessor(JavaSnippetEditor editor) {
fCollector= new ResultCollector();
fEditor= editor;
- ContextType contextType= ContextTypeRegistry.getInstance().getContextType("java"); //$NON-NLS-1$
+ ContextType contextType= JavaPlugin.getTemplateContextRegistry().getContextType("java"); //$NON-NLS-1$
if (contextType != null) {
fTemplateEngine= new TemplateEngine(contextType);
}