Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CExpression.java')
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CExpression.java96
1 files changed, 0 insertions, 96 deletions
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CExpression.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CExpression.java
deleted file mode 100644
index f4530a162e1..00000000000
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CExpression.java
+++ /dev/null
@@ -1,96 +0,0 @@
-/*
- *(c) Copyright QNX Software Systems Ltd. 2002.
- * All Rights Reserved.
- *
- */
-package org.eclipse.cdt.debug.internal.core.model;
-
-import org.eclipse.cdt.debug.core.CDebugCorePlugin;
-import org.eclipse.cdt.debug.core.cdi.event.ICDIEvent;
-import org.eclipse.cdt.debug.core.cdi.event.ICDIResumedEvent;
-import org.eclipse.cdt.debug.core.cdi.model.ICDIExpression;
-import org.eclipse.cdt.debug.core.cdi.model.ICDITarget;
-import org.eclipse.debug.core.DebugException;
-import org.eclipse.debug.core.model.IExpression;
-import org.eclipse.debug.core.model.IValue;
-
-/**
- *
- * Enter type comment.
- *
- * @since Sep 17, 2002
- */
-public class CExpression extends CModificationVariable
- implements IExpression
-{
- /**
- * Constructor for CExpression.
- * @param target
- */
- public CExpression( CDebugTarget target, ICDIExpression cdiExpression )
- {
- super( target, cdiExpression );
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.debug.core.model.IExpression#getExpressionText()
- */
- public String getExpressionText()
- {
- try
- {
- return getName();
- }
- catch( DebugException e )
- {
- }
- return null;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.debug.core.model.IExpression#getValue()
- */
- public IValue getValue()
- {
- try
- {
- return super.getValue();
- }
- catch( DebugException e )
- {
- }
- return null;
- }
-
- public void dispose()
- {
- super.dispose();
- }
-
- protected ICDIExpression getCDIExpression()
- {
- return (ICDIExpression)getCDIVariable();
- }
-
- /**
- * @see org.eclipse.cdt.debug.core.cdi.event.ICDIEventListener#handleDebugEvent(ICDIEvent)
- */
- public void handleDebugEvent( ICDIEvent event )
- {
- if ( event instanceof ICDIResumedEvent )
- {
- if ( event.getSource() instanceof ICDITarget && getCDITarget().equals( event.getSource() ) )
- {
- try
- {
- setChanged( false );
- }
- catch( DebugException e )
- {
- CDebugCorePlugin.log( e );
- }
- }
- }
- super.handleDebugEvent(event);
- }
-}

Back to the top