public class FindStoreDialog
extends com.ibm.commerce.telesales.ui.impl.dialogs.find.ConfiguredFindDialog
The find store managed composites for the dialog area and button bar are defined in the "com.ibm.commerce.telesales.ui.impl.find.store" fragment.
Constructor and Description |
---|
FindStoreDialog()
Construct a new find store dialog.
|
Modifier and Type | Method and Description |
---|---|
protected void | configureShell(org.eclipse.swt.widgets.Shell newShell)
Configures the given shell in preparation for opening this window in it.
|
protected org.eclipse.swt.widgets.Control | createDialogArea(org.eclipse.swt.widgets.Composite parent)
Creates and returns the contents of the upper part of the dialog (above the button bar).
|
protected java.lang.String | getButtonBarManagedCompositeId()
Returns the button bar managed composite ID.
|
protected java.lang.String | getDialogAreaManagedCompositeId()
Returns the dialog area managed composite ID.
|
protected java.lang.String | getDialogId()
This method returns the specific (find) dialog ID.
|
protected java.lang.String | getHelpContextId()
Retrieve the help context ID.
|
protected java.util.List | getStores(java.lang.String[] storeIds, java.lang.String[] storeLanguageIds)
This method makes a request to the server to obtain the details of the selected stores.
|
void | okPressed()
Call back method.
|
public FindStoreDialog()
protected void configureShell(org.eclipse.swt.widgets.Shell newShell)
protected java.lang.String getHelpContextId()
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
protected java.lang.String getDialogAreaManagedCompositeId()
protected java.lang.String getButtonBarManagedCompositeId()
protected java.lang.String getDialogId()
protected java.util.List getStores(java.lang.String[] storeIds, java.lang.String[] storeLanguageIds)
public void okPressed()
When the 'OK' button is pressed, the store is added to the list of open stores at the client, if it is not already opened. To open a store, this method checks if the store details are present in the client cache. And if not present, the store details will be retrieved from the server.