org.eclipse.cdt.debug.internal.core.model
Class CGlobalVariable

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by org.eclipse.cdt.debug.internal.core.model.CDebugElement
          extended by org.eclipse.cdt.debug.internal.core.model.AbstractCVariable
              extended by org.eclipse.cdt.debug.internal.core.model.CVariable
                  extended by org.eclipse.cdt.debug.internal.core.model.CGlobalVariable
All Implemented Interfaces:
org.eclipse.cdt.debug.core.cdi.event.ICDIEventListener, ICastToArray, ICastToType, ICDebugElement, ICDebugElementStatus, ICGlobalVariable, ICVariable, IEnableDisableTarget, IFormatSupport, org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.model.IDebugElement, org.eclipse.debug.core.model.IValueModification, org.eclipse.debug.core.model.IVariable

public class CGlobalVariable
extends CVariable
implements ICGlobalVariable

Represents a global variable.


Field Summary
 
Fields inherited from interface org.eclipse.cdt.debug.core.model.ICDebugElementStatus
ERROR, OK, WARNING
 
Method Summary
 boolean canEnableDisable()
          Returns whether this object supports enable/disable operations.
 void dispose()
           
 IGlobalVariableDescriptor getDescriptor()
          Returns the descriptor of this variable.
 void handleDebugEvents(org.eclipse.cdt.debug.core.cdi.event.ICDIEvent[] events)
           
 
Methods inherited from class org.eclipse.cdt.debug.internal.core.model.CVariable
canCast, canCastToArray, cast, castToArray, changeFormat, equals, getCurrentType, getExpressionString, getFormat, getName, getReferenceTypeName, getType, getValue, hasValueChanged, isArgument, isCasted, isEnabled, restoreOriginal, setEnabled, setValue, setValue, sizeof, supportsFormatting, supportsValueModification, verifyValue, verifyValue
 
Methods inherited from class org.eclipse.cdt.debug.internal.core.model.AbstractCVariable
getAdapter
 
Methods inherited from class org.eclipse.cdt.debug.internal.core.model.CDebugElement
createChangeEvent, createCreateEvent, createResumeEvent, createSuspendEvent, createTerminateEvent, fireChangeEvent, fireCreationEvent, fireResumeEvent, fireSuspendEvent, fireTerminateEvent, getCDISession, getCDITarget, getCurrentStateInfo, getDebugTarget, getLaunch, getMessage, getModelIdentifier, getSeverity, getState, isOK, notSupported, requestFailed, requestFailed, targetRequestFailed, targetRequestFailed
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.cdt.debug.core.model.ICVariable
getExpressionString, getType, isArgument
 
Methods inherited from interface org.eclipse.debug.core.model.IVariable
getName, getReferenceTypeName, getValue, hasValueChanged
 
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement
getDebugTarget, getLaunch, getModelIdentifier
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.debug.core.model.IValueModification
setValue, setValue, supportsValueModification, verifyValue, verifyValue
 
Methods inherited from interface org.eclipse.cdt.debug.core.model.ICDebugElement
getCurrentStateInfo, getState
 
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement
getDebugTarget, getLaunch, getModelIdentifier
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.cdt.debug.core.model.IFormatSupport
changeFormat, getFormat, supportsFormatting
 
Methods inherited from interface org.eclipse.cdt.debug.core.model.ICastToArray
canCastToArray, castToArray
 
Methods inherited from interface org.eclipse.cdt.debug.core.model.ICastToType
canCast, cast, getCurrentType, isCasted, restoreOriginal
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.cdt.debug.core.model.IEnableDisableTarget
isEnabled, setEnabled
 

Method Detail

canEnableDisable

public boolean canEnableDisable()
Description copied from interface: IEnableDisableTarget
Returns whether this object supports enable/disable operations.

Specified by:
canEnableDisable in interface IEnableDisableTarget
Overrides:
canEnableDisable in class CVariable
Returns:
whether this object supports enable/disable operations

handleDebugEvents

public void handleDebugEvents(org.eclipse.cdt.debug.core.cdi.event.ICDIEvent[] events)
Specified by:
handleDebugEvents in interface org.eclipse.cdt.debug.core.cdi.event.ICDIEventListener
Overrides:
handleDebugEvents in class CVariable

getDescriptor

public IGlobalVariableDescriptor getDescriptor()
Description copied from interface: ICGlobalVariable
Returns the descriptor of this variable.

Specified by:
getDescriptor in interface ICGlobalVariable
Returns:
the descriptor of this variable

dispose

public void dispose()
Overrides:
dispose in class CVariable