Change visibility to private for net.sourceforge.phpeclipse.xdebug.php.model.XDebugEl...
[phpeclipse.git] / net.sourceforge.phpeclipse.xdebug.core / src / net / sourceforge / phpeclipse / xdebug / php / model / XDebugElement.java
index c84a976..8e08bc4 100644 (file)
@@ -9,9 +9,9 @@ import net.sourceforge.phpeclipse.xdebug.php.launching.IXDebugConstants;
 
 //import org.eclipse.core.runtime.CoreException;
 import org.eclipse.core.runtime.PlatformObject;
-import org.eclipse.debug.core.DebugEvent;
+//import org.eclipse.debug.core.DebugEvent;
 //import org.eclipse.debug.core.DebugException;
-import org.eclipse.debug.core.DebugPlugin;
+//import org.eclipse.debug.core.DebugPlugin;
 import org.eclipse.debug.core.ILaunch;
 import org.eclipse.debug.core.model.IDebugElement;
 import org.eclipse.debug.core.model.IDebugTarget;
@@ -24,7 +24,7 @@ import org.eclipse.debug.core.model.IDebugTarget;
 public class XDebugElement extends PlatformObject implements IDebugElement {
                
        // containing target 
-       protected/*private*/ XDebugTarget fTarget;
+       private XDebugTarget fTarget;
        
        /**
         * Constructs a new debug element contained in the given
@@ -81,16 +81,16 @@ public class XDebugElement extends PlatformObject implements IDebugElement {
         * 
         * @param event the event to be fired
         */
-       protected void fireEvent(DebugEvent event) {
-               DebugPlugin.getDefault().fireDebugEventSet(new DebugEvent[] {event});
-       }
+//     protected void fireEvent(DebugEvent event) {
+//             DebugPlugin.getDefault().fireDebugEventSet(new DebugEvent[] {event});
+//     }
        
        /**
         * Fires a <code>CREATE</code> event for this element.
         */
-       public void fireCreationEvent() {
-               fireEvent(new DebugEvent(this, DebugEvent.CREATE));
-       }       
+//     public void fireCreationEvent() {
+//             fireEvent(new DebugEvent(this, DebugEvent.CREATE));
+//     }       
        
        /**
         * Fires a <code>RESUME</code> event for this element with
@@ -98,9 +98,9 @@ public class XDebugElement extends PlatformObject implements IDebugElement {
         * 
         * @param detail event detail code
         */
-       public void fireResumeEvent(int detail) {
-               fireEvent(new DebugEvent(this, DebugEvent.RESUME, detail));
-       }
+//     public void fireResumeEvent(int detail) {
+//             fireEvent(new DebugEvent(this, DebugEvent.RESUME, detail));
+//     }
 
        /**
         * Fires a <code>SUSPEND</code> event for this element with
@@ -108,14 +108,14 @@ public class XDebugElement extends PlatformObject implements IDebugElement {
         * 
         * @param detail event detail code
         */
-       public void fireSuspendEvent(int detail) {
-               fireEvent(new DebugEvent(this, DebugEvent.SUSPEND, detail));
-       }
+//     public void fireSuspendEvent(int detail) {
+//             fireEvent(new DebugEvent(this, DebugEvent.SUSPEND, detail));
+//     }
        
        /**
         * Fires a <code>TERMINATE</code> event for this element.
         */
-       protected void fireTerminateEvent() {
-               fireEvent(new DebugEvent(this, DebugEvent.TERMINATE));
-       }       
+//     protected void fireTerminateEvent() {
+//             fireEvent(new DebugEvent(this, DebugEvent.TERMINATE));
+//     }       
 }
\ No newline at end of file