edu.washington.cs.supple.customization.state
Class Condition

java.lang.Object
  extended byedu.washington.cs.supple.customization.state.Condition
Direct Known Subclasses:
ValueSetCondition

public abstract class Condition
extends java.lang.Object

Conditions are needed to verify that a customization performs a legal transformation of the interface. For example, a customization might remove a part of the UI which is required by another part of the UI. To prevent this effect, a condition can be used. A condition is always associated with an UiObject to which the condition applies.

Author:
raphael

Field Summary
protected  UiObject object
           
protected  HistoryRecord record
           
 
Constructor Summary
protected Condition(HistoryRecord record, UiObject object)
           
 
Method Summary
 HistoryRecord getHistoryRecord()
           
 UiObject getObject()
           
abstract  boolean verify()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

record

protected HistoryRecord record

object

protected UiObject object
Constructor Detail

Condition

protected Condition(HistoryRecord record,
                    UiObject object)
Method Detail

getHistoryRecord

public HistoryRecord getHistoryRecord()

getObject

public UiObject getObject()

verify

public abstract boolean verify()