PTP
Release 7.0

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

All Known Subinterfaces:
IPGlobalVariable, IPRegister, IPVariable

public interface IEnableDisableTarget

Interface to determin enable/disable state of target


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 DebugException
Enables/disables this object

Parameters:
enabled - enablement flag value
Throws:
DebugException

PTP
Release 7.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.