CanShowPurgingSuggestions <- CanShowCompletePurgingList |
|
|
AddSuggestion AddSuggestionsFromPurger BuildFullPurgingList BuildRecommendedPurgingList MakeActive MakeValid |
|
PurgingTarget SuggestionSearchStatusVisible |
Define Class CanShowCompletePurgingList; mixes in with Object; inherits from CanShowPurgingSuggestions; field statusView: Viewable; // viewable that displays status information and stop button during list-building process field moreButton: Viewable; // viewable that user can touch to initiate complete search field stopButton: Viewable; // viewable that user can touch to stop list-building process field majorStatusField: TextField; // text field for displaying rough description (quick or thorough) of list-building process field minorStatusField: TextField; // text field for displaying specific status (type of object) of list-building process field quickStatusText: Text; // text displayed in majorStatusField when doing recommended-only search field thoroughStatusText: Text; // text displayed in majorStatusField when doing complete search attribute PurgingTarget: MemoryDevice, noGetter, noSetter; // specifies the container device that is subject to purging overrides MakeValid, MakeActive; // make sure that if building the list was interrupted, the viewables // are consistent overrides AddSuggestion; // adds <discardable> to purge list, updates displayed list, and handles // touches in stop button overrides AddSuggestionsFromPurger; // overridden to update statusField based on <purger> operation BuildRecommendedPurgingList(); // displays status box while filling in purge list with recommended items // scans the containerDevice specified by Target operation BuildFullPurgingList(); // displays status box while filling in purge list with all discardable items // scans the containerDevice specified by Target attribute SuggestionSearchStatusVisible: Boolean; // getter returns whether statusView is visible // setter makes statusView visible, clears minorStatusField, and sets majorStatusField to quickStatusText end class;