edu.stanford.hci.dtools.deviceeditor.components
Class TimerComponent.TimerExpiredConditional

java.lang.Object
  extended by edu.stanford.hci.dtools.deviceeditor.components.EventConditional
      extended by edu.stanford.hci.dtools.deviceeditor.components.TimerComponent.TimerExpiredConditional
All Implemented Interfaces:
java.io.Serializable, org.eclipse.ui.views.properties.IPropertySource
Enclosing class:
TimerComponent

public static class TimerComponent.TimerExpiredConditional
extends EventConditional
implements org.eclipse.ui.views.properties.IPropertySource

See Also:
Serialized Form

Field Summary
static java.lang.String DELAY
           
 
Constructor Summary
TimerComponent.TimerExpiredConditional()
           
 
Method Summary
 boolean checkConditional(InputComponent component)
          Returns true if the component being passed satisfies the conditions specified in this conditional
 long getDelay()
           
 java.lang.Object getEditableValue()
           
 java.lang.String getName()
           
 org.eclipse.ui.views.properties.IPropertyDescriptor[] getPropertyDescriptors()
           
 java.lang.Object getPropertyValue(java.lang.Object id)
           
 boolean hasParameters()
          Returns true if the conditional has parameters that should be set in the property menu
 void initializePropertyDescriptors()
           
 boolean isPropertySet(java.lang.Object id)
           
 void resetPropertyValue(java.lang.Object id)
           
 void setPropertyValue(java.lang.Object id, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DELAY

public static final java.lang.String DELAY
See Also:
Constant Field Values
Constructor Detail

TimerComponent.TimerExpiredConditional

public TimerComponent.TimerExpiredConditional()
Method Detail

checkConditional

public boolean checkConditional(InputComponent component)
Description copied from class: EventConditional
Returns true if the component being passed satisfies the conditions specified in this conditional

Specified by:
checkConditional in class EventConditional
Returns:

getName

public java.lang.String getName()
Specified by:
getName in class EventConditional

hasParameters

public boolean hasParameters()
Description copied from class: EventConditional
Returns true if the conditional has parameters that should be set in the property menu

Specified by:
hasParameters in class EventConditional
Returns:

initializePropertyDescriptors

public void initializePropertyDescriptors()

getDelay

public long getDelay()

getEditableValue

public java.lang.Object getEditableValue()
Specified by:
getEditableValue in interface org.eclipse.ui.views.properties.IPropertySource

getPropertyDescriptors

public org.eclipse.ui.views.properties.IPropertyDescriptor[] getPropertyDescriptors()
Specified by:
getPropertyDescriptors in interface org.eclipse.ui.views.properties.IPropertySource

getPropertyValue

public java.lang.Object getPropertyValue(java.lang.Object id)
Specified by:
getPropertyValue in interface org.eclipse.ui.views.properties.IPropertySource

setPropertyValue

public void setPropertyValue(java.lang.Object id,
                             java.lang.Object value)
Specified by:
setPropertyValue in interface org.eclipse.ui.views.properties.IPropertySource

isPropertySet

public boolean isPropertySet(java.lang.Object id)
Specified by:
isPropertySet in interface org.eclipse.ui.views.properties.IPropertySource

resetPropertyValue

public void resetPropertyValue(java.lang.Object id)
Specified by:
resetPropertyValue in interface org.eclipse.ui.views.properties.IPropertySource