woproject/projects/wolips/plugins/org.objectstyle.wolips.componenteditor/java/org/objectstyle/wolips/componenteditor/editor ComponentEditorPart.java,1.7,1.8

[email protected]
Newsgroups gmane.comp.web.webobjects.woproject.cvs
Message-ID <[email protected]>
Update of /cvsroot/woproject/woproject/projects/wolips/plugins/org.objectstyle.wolips.componenteditor/java/org/objectstyle/wolips/componenteditor/editor
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11695/java/org/objectstyle/wolips/componenteditor/editor

Modified Files:
	ComponentEditorPart.java 
Log Message:
removed debugging code

Index: ComponentEditorPart.java
===================================================================
RCS file: /cvsroot/woproject/woproject/projects/wolips/plugins/org.objectstyle.wolips.componenteditor/java/org/objectstyle/wolips/componenteditor/editor/ComponentEditorPart.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- ComponentEditorPart.java	28 Dec 2005 16:16:33 -0000	1.7
+++ ComponentEditorPart.java	30 Dec 2005 15:45:30 -0000	1.8
@@ -43,7 +43,6 @@
  */
 package org.objectstyle.wolips.componenteditor.editor;
 
-import org.eclipse.core.resources.IMarker;
 import org.eclipse.core.runtime.IProgressMonitor;
 import org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor;
 import org.eclipse.jface.viewers.ISelectionChangedListener;
@@ -65,7 +64,6 @@
 import org.eclipse.ui.IEditorSite;
 import org.eclipse.ui.IPropertyListener;
 import org.eclipse.ui.PartInitException;
-import org.eclipse.ui.ide.IGotoMarker;
 import org.eclipse.ui.part.MultiPageEditorActionBarContributor;
 import org.eclipse.ui.part.MultiPageEditorPart;
 import org.eclipse.ui.part.MultiPageSelectionProvider;
@@ -172,19 +170,7 @@
 			IEditorPart editorPart = null;
 			switch (i) {
 			case 0:
-				compilationUnitEditor = new CompilationUnitEditor() {
-					public Object getAdapter(Class adapter) {
-						if (adapter.equals(IGotoMarker.class)) {
-							return super.getAdapter(adapter);
-						}
-						return super.getAdapter(adapter);
-					}
-
-					public void gotoMarker(IMarker marker) {
-						super.gotoMarker(marker);
-					}
-
-				};
+				compilationUnitEditor = new CompilationUnitEditor();
 				editorPart = compilationUnitEditor;
 				try {
 					this.addPage(editorPart, editorInput[i]);



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.