org.eclipse.cdt.debug.core.model
Interface IEnableDisableTarget

All Known Subinterfaces:
ICGlobalVariable, ICRegister, ICVariable
All Known Implementing Classes:
AbstractCVariable, CExpression, CGlobalVariable, CLocalVariable, CRegister, CRegisterGroup, CVariable

public interface IEnableDisableTarget

Provides support for enable/disable actions.


Method Summary
 boolean canEnableDisable()
          Returns whether this object supports enable/disable operations.
 boolean isEnabled()
          Returns whether this object is enabled.
 void setEnabled(boolean enabled)
          Enables/disables this object
 

Method Detail

canEnableDisable

boolean canEnableDisable()
Returns whether this object supports enable/disable operations.

Returns:
whether this object supports enable/disable operations

isEnabled

boolean isEnabled()
Returns whether this object is enabled.

Returns:
true if this obvject is enabled, or false otherwise.

setEnabled

void setEnabled(boolean enabled)
                throws org.eclipse.debug.core.DebugException
Enables/disables this object

Parameters:
enabled - enablement flag value
Throws:
org.eclipse.debug.core.DebugException