public class FindWidgetManager extends StandardWidgetManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String | BUTTON_TYPE_ADVANCED
Advanced button type.
|
static java.lang.String | BUTTON_TYPE_CANCEL
Cancel button type.
|
static java.lang.String | BUTTON_TYPE_COLLAPSE_FIND
Collapse find button type.
|
static java.lang.String | BUTTON_TYPE_DELETE
Delete button type.
|
static java.lang.String | BUTTON_TYPE_EXPAND_FIND
Expand find button type.
|
static java.lang.String | BUTTON_TYPE_FIND
Find button type.
|
static java.lang.String | BUTTON_TYPE_FIND_NEXT
Find next button type.
|
static java.lang.String | BUTTON_TYPE_FIND_PREVIOUS
Find previous button type.
|
static java.lang.String | BUTTON_TYPE_NEW
New button type.
|
static java.lang.String | BUTTON_TYPE_OK
OK button type.
|
static java.lang.String | BUTTON_TYPE_QUICK
Quick button type.
|
static java.lang.String | CHECK_BOX_TYPE_CASE_SENSITIVE
Case sensitive check box type.
|
static java.lang.String | COMBO_TYPE_QUICK
Quick combo type.
|
static java.lang.String | COMPOSITE_TYPE_ADVANCED
Advanced composite type.
|
static java.lang.String | COMPOSITE_TYPE_ADVANCED_TAB_FOLDER
Advanced tab folder composite type.
|
static java.lang.String | COMPOSITE_TYPE_EXPANDABLE_FIND
Expandable find composite's type.
|
static java.lang.String | COMPOSITE_TYPE_FIND_CRITERIA_PAGE
Find criteria page composite type.
|
static java.lang.String | COMPOSITE_TYPE_FIND_CRITERIA_STACK
Find criteria stack composite type.
|
static java.lang.String | COMPOSITE_TYPE_QUICK
Quick composite type.
|
static java.lang.String | COMPOSITE_TYPE_QUICK_STACK
Quick stack composite type.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static java.lang.String | FIND_MODE_INITIAL_SEARCH
Initial search find mode.
|
static java.lang.String | FIND_MODE_NEW_SEARCH
New search find mode.
|
static java.lang.String | FIND_MODE_SEARCH_COMPLETE
Search complete find mode.
|
static java.lang.String | LABEL_TYPE_NO_MATCH
No match label type.
|
static java.lang.String | LABEL_TYPE_SEARCH_RESULTS
Search results label type.
|
static java.lang.String | LABEL_TYPE_SEARCH_RESULTS_EXCEEDED_MSG
Search results exceeded label type.
|
static java.lang.String | MANAGER_TYPE_FIND
Find manager type.
|
static java.lang.String | PROP_ALLOW_NO_SEARCH_CRITERIA
Allow no search criteria property.
|
static java.lang.String | PROP_BUTTON_TYPE
Button type property name.
|
static java.lang.String | PROP_CASE_SENSITIVE_CONTROL
Case sensitive control property.
|
static java.lang.String | PROP_CHECK_BOX_TYPE
Check box type property name.
|
static java.lang.String | PROP_COMBO_TYPE
Combo type property name.
|
static java.lang.String | PROP_COMPOSITE_TYPE
Composite type property name.
|
static java.lang.String | PROP_CURRENT_ADVANCED_PAGE
Current advanced page property.
|
static java.lang.String | PROP_CURRENT_FIND_CRITERIA_COMPOSITE
Current finds criteria composite property name.
|
static java.lang.String | PROP_CURRENT_FIND_CRITERIA_PAGE
Current find criteria page property.
|
static java.lang.String | PROP_CURRENT_QUICK_PAGE
Current quick page property.
|
static java.lang.String | PROP_DIALOG_ID
Dialog identifier property.
|
static java.lang.String | PROP_EDITOR
Editor property.
|
static java.lang.String | PROP_FIND_CRITERIA_COMPOSITES
Find criteria composites property name.
|
static java.lang.String | PROP_FIND_CRITERIA_FIELD_DEFAULT_VALUE
Find criteria field default value property.
|
static java.lang.String | PROP_FIND_CRITERIA_FIELD_NAME
Find criteria field name property.
|
static java.lang.String | PROP_FIND_CRITERIA_VALUES
Find criteria value property.
|
static java.lang.String | PROP_FIND_DIALOG
Find dialog property.
|
static java.lang.String | PROP_FIND_EXPANDED
Find expanded property.
|
static java.lang.String | PROP_FIND_MODE
Find mode property name.
|
static java.lang.String | PROP_FIND_PROPERTIES_NAME
Find properties name.
|
static java.lang.String | PROP_HIDDEN_FIND_CRITERIA
Hidden find criteria property.
|
static java.lang.String | PROP_INITIAL_SEARCH_RESULTS
Initial search results property.
|
static java.lang.String | PROP_INVALID_FIND_CRITERIA
Invalid find criteria property.
|
static java.lang.String | PROP_LABEL_TYPE
Label type property name.
|
static java.lang.String | PROP_LOCAL_CACHE
Local cache property.
|
static java.lang.String | PROP_MAX_THRESHOLD
Max threshold property name.
|
static java.lang.String | PROP_PERFORM_OK_ON_SINGLE_RESULT
Perform ok on single result property.
|
static java.lang.String | PROP_QUICK_PAGES
Quick pages property.
|
static java.lang.String | PROP_REQUIRED_FIND_CRITERIA
Required find criteria property.
|
static java.lang.String | PROP_SEARCH_RESULTS
Search results property.
|
static java.lang.String | PROP_SEARCH_START_INDEX
Start index property name.
|
static java.lang.String | PROP_SELECTED_SEARCH_RESULTS
Selected search results selection property name.
|
static java.lang.String | PROP_SHELL
Shell property.
|
static java.lang.String | PROP_START_INDEX_IN_LOCAL_CACHE
Start index in Local cache property name.
|
static java.lang.String | PROP_TABLE_TYPE
Table type property name.
|
static java.lang.String | PROP_TITLE
Title property name.
|
static java.lang.String | PROP_TOTAL_FILTERED_RECORDS
Total number of filtered records property names.
|
static java.lang.String | PROP_TOTAL_SEARCH_RESULTS
Total search results property name.
|
static java.lang.String | PROP_TRIGGER_FIND_ON_FIRST_ACTIVATE
Trigger find on first activate property.
|
static java.lang.String | SET_DEFAULT_CHECK_BOX
Set default check box.
|
static java.lang.String | TABLE_TYPE_SEARCH_RESULTS
Search results table type.
|
static java.lang.String | VALIDATOR_TYPE_WILD_CARD
Deprecated.
Use validator extension point to associate validator to a control.
|
Constructor and Description |
---|
FindWidgetManager()
Construct a new find widget manager.
|
Modifier and Type | Method and Description |
---|---|
void | activate()
Handle activation.
|
protected void | cancelPressed()
This method is called when the cancel button is pressed.
|
protected void | collapseFindPressed()
This method is called when the collapse find button is pressed.
|
protected void | deletePressed()
This method is called when the delete button is pressed.
|
void | dispose()
This method disposes resources created by this widget manager.
|
protected void | expandFindPressed()
This method is called when the expand find button is pressed.
|
protected void | findPressed()
The findPressed() is called when the Find button is pressed.
|
protected org.eclipse.core.runtime.IStatus | getControlStatusMessage(ConfiguredControl configuredControl)
This method returns the status message for the control.
|
protected TelesalesMultiPageEditor | getEditor()
This method returns the editor.
|
protected FindCriteria | getFindCriteria()
This method returns the find criteria.
|
protected com.ibm.commerce.telesales.ui.impl.dialogs.find.ConfiguredFindDialog | getFindDialog()
This method returns the find dialog.
|
protected TelesalesProperties | getFindParameters()
This method returns the TelesalesProperties object with all the required parameters that need to be passed to the ServiceRequest handler.
|
java.lang.Object | getFindProperty(java.lang.String name)
This method gets a find property.
|
protected java.lang.String | getFindServiceRequestID()
This method returns the string ID of the ServiceRequest that knows how to request the data that needs to be found.
|
protected int | getMaxSearchThreshold()
This method returns the maximum number of records that should be returned in one batch if there is a large number of records.
|
int | getSearchResultsSelectionCount()
This method returns the number of search results currently selected.
|
protected int | getSearchStartIndex()
This method returns the moving startIndex for the search.
|
java.lang.Object[] | getSelectedSearchResults()
This method returns the selected search results.
|
protected int | getStartIndexInLocalCache()
This method returns the startIndex used to retrieve data from the local cache.
|
protected int | getTotalNumberofFilteredRecords()
This method returns the total number of records filtered out so far.
|
void | init(ConfiguredComposite configuredComposite, WidgetManagerInputProperties inputProperties)
This method initializes widget manager.
|
void | initControl(ConfiguredControl configuredControl)
This method initializes the specified configured control.
|
void | interruptOccurred(boolean isInterrupt)
This method checks the interrupt to occur or not.
|
protected boolean | isControlDirty(ConfiguredControl configuredControl)
This method returns true if the specified control needs to be saved.
|
protected void | newPressed()
This method is called when the new button is pressed.
|
protected void | okPressed()
This method is called when the ok button is pressed.
|
void | refreshControl(ConfiguredControl configuredControl)
Refresh the specified control.
|
void | setFindProperty(java.lang.String name, java.lang.Object value)
This method sets a find property.
|
protected void | setStartIndexInLocalCache(int index)
This method sets the startIndex used to retrieve data from the local cache.
|
protected void | setTotalNumberofFilteredRecords(int num)
This method sets the total number of records filtered out so far.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String MANAGER_TYPE_FIND
public static final java.lang.String BUTTON_TYPE_FIND
public static final java.lang.String BUTTON_TYPE_FIND_NEXT
public static final java.lang.String BUTTON_TYPE_FIND_PREVIOUS
public static final java.lang.String BUTTON_TYPE_ADVANCED
public static final java.lang.String BUTTON_TYPE_QUICK
public static final java.lang.String BUTTON_TYPE_OK
public static final java.lang.String BUTTON_TYPE_CANCEL
public static final java.lang.String BUTTON_TYPE_NEW
public static final java.lang.String BUTTON_TYPE_DELETE
public static final java.lang.String BUTTON_TYPE_EXPAND_FIND
public static final java.lang.String BUTTON_TYPE_COLLAPSE_FIND
public static final java.lang.String TABLE_TYPE_SEARCH_RESULTS
public static final java.lang.String LABEL_TYPE_SEARCH_RESULTS
public static final java.lang.String LABEL_TYPE_SEARCH_RESULTS_EXCEEDED_MSG
public static final java.lang.String LABEL_TYPE_NO_MATCH
public static final java.lang.String CHECK_BOX_TYPE_CASE_SENSITIVE
public static final java.lang.String COMPOSITE_TYPE_FIND_CRITERIA_STACK
public static final java.lang.String COMPOSITE_TYPE_ADVANCED
public static final java.lang.String COMPOSITE_TYPE_QUICK
public static final java.lang.String COMPOSITE_TYPE_FIND_CRITERIA_PAGE
public static final java.lang.String COMPOSITE_TYPE_ADVANCED_TAB_FOLDER
public static final java.lang.String COMPOSITE_TYPE_QUICK_STACK
public static final java.lang.String COMPOSITE_TYPE_EXPANDABLE_FIND
public static final java.lang.String COMBO_TYPE_QUICK
public static final java.lang.String PROP_FIND_PROPERTIES_NAME
public static final java.lang.String PROP_SHELL
public static final java.lang.String PROP_FIND_CRITERIA_FIELD_NAME
public static final java.lang.String PROP_FIND_CRITERIA_FIELD_DEFAULT_VALUE
public static final java.lang.String PROP_FIND_CRITERIA_VALUES
public static final java.lang.String PROP_HIDDEN_FIND_CRITERIA
public static final java.lang.String PROP_CASE_SENSITIVE_CONTROL
public static final java.lang.String PROP_REQUIRED_FIND_CRITERIA
public static final java.lang.String PROP_INVALID_FIND_CRITERIA
public static final java.lang.String PROP_SEARCH_RESULTS
public static final java.lang.String PROP_LOCAL_CACHE
public static final java.lang.String PROP_BUTTON_TYPE
public static final java.lang.String PROP_TABLE_TYPE
public static final java.lang.String PROP_LABEL_TYPE
public static final java.lang.String PROP_COMPOSITE_TYPE
public static final java.lang.String PROP_COMBO_TYPE
public static final java.lang.String PROP_CHECK_BOX_TYPE
public static final java.lang.String PROP_FIND_CRITERIA_COMPOSITES
public static final java.lang.String PROP_CURRENT_FIND_CRITERIA_COMPOSITE
public static final java.lang.String PROP_CURRENT_ADVANCED_PAGE
public static final java.lang.String PROP_QUICK_PAGES
public static final java.lang.String PROP_CURRENT_QUICK_PAGE
public static final java.lang.String PROP_CURRENT_FIND_CRITERIA_PAGE
public static final java.lang.String PROP_SEARCH_START_INDEX
public static final java.lang.String PROP_START_INDEX_IN_LOCAL_CACHE
public static final java.lang.String PROP_TOTAL_FILTERED_RECORDS
public static final java.lang.String PROP_TOTAL_SEARCH_RESULTS
public static final java.lang.String PROP_SELECTED_SEARCH_RESULTS
public static final java.lang.String PROP_MAX_THRESHOLD
public static final java.lang.String PROP_FIND_MODE
public static final java.lang.String PROP_TITLE
public static final java.lang.String PROP_FIND_DIALOG
public static final java.lang.String PROP_EDITOR
public static final java.lang.String PROP_PERFORM_OK_ON_SINGLE_RESULT
public static final java.lang.String PROP_TRIGGER_FIND_ON_FIRST_ACTIVATE
public static final java.lang.String PROP_ALLOW_NO_SEARCH_CRITERIA
public static final java.lang.String PROP_FIND_EXPANDED
public static final java.lang.String PROP_INITIAL_SEARCH_RESULTS
public static final java.lang.String PROP_DIALOG_ID
public static final java.lang.String FIND_MODE_INITIAL_SEARCH
public static final java.lang.String FIND_MODE_NEW_SEARCH
public static final java.lang.String FIND_MODE_SEARCH_COMPLETE
public static final java.lang.String SET_DEFAULT_CHECK_BOX
public static final java.lang.String VALIDATOR_TYPE_WILD_CARD
public FindWidgetManager()
public void init(ConfiguredComposite configuredComposite, WidgetManagerInputProperties inputProperties)
public void initControl(ConfiguredControl configuredControl)
public void dispose()
protected java.lang.String getFindServiceRequestID()
protected TelesalesProperties getFindParameters()
public java.lang.Object getFindProperty(java.lang.String name)
public void setFindProperty(java.lang.String name, java.lang.Object value)
protected void findPressed()
protected void expandFindPressed()
protected void collapseFindPressed()
protected void okPressed()
protected void cancelPressed()
protected void newPressed()
protected void deletePressed()
protected int getSearchStartIndex()
protected int getTotalNumberofFilteredRecords()
protected void setTotalNumberofFilteredRecords(int num)
protected int getStartIndexInLocalCache()
protected void setStartIndexInLocalCache(int index)
protected int getMaxSearchThreshold()
public java.lang.Object[] getSelectedSearchResults()
public int getSearchResultsSelectionCount()
protected com.ibm.commerce.telesales.ui.impl.dialogs.find.ConfiguredFindDialog getFindDialog()
protected TelesalesMultiPageEditor getEditor()
protected FindCriteria getFindCriteria()
public void refreshControl(ConfiguredControl configuredControl)
protected org.eclipse.core.runtime.IStatus getControlStatusMessage(ConfiguredControl configuredControl)
protected boolean isControlDirty(ConfiguredControl configuredControl)
public void activate()
public void interruptOccurred(boolean isInterrupt)