public abstract class TelesalesConfigurableEditorPage extends TelesalesEditorPage implements IWidgetManagerListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field
|
Constructor and Description |
---|
TelesalesConfigurableEditorPage()
Creates an editor page instance.
|
Modifier and Type | Method and Description |
---|---|
void | activate()
This method handles activation of this page.
|
protected void | addScrollListener(org.eclipse.swt.widgets.Composite composite)
This method adds the scroll listener to the composite and all its children controls.
|
protected org.eclipse.swt.widgets.Control | createButtonBar(org.eclipse.swt.widgets.Composite parent)
This method creates the configured button bar.
|
protected org.eclipse.swt.widgets.Control | createPageContent(org.eclipse.swt.widgets.Composite parent)
This method creates the configured page content.
|
protected org.eclipse.swt.widgets.Control | createTopButtonBar(org.eclipse.swt.widgets.Composite parent)
Creates the configured top button bar.
|
void | deactivate()
This method handles deactivation of this page.
|
void | dispose()
This method disposes the managed composite objects.
|
void | doSave(org.eclipse.core.runtime.IProgressMonitor monitor)
This method saves the contents of this part.
|
IManagedComposite | getButtonBarManagedComposite()
This method returns the button bar managed composite.
|
protected java.lang.String | getButtonBarManagedCompositeId()
Returns the button bar managed composite ID.
|
IManagedComposite | getPageContentManagedComposite()
Returns the page content's managed composite.
|
protected abstract java.lang.String | getPageContentManagedCompositeId()
Returns the page content managed composite ID.
|
java.lang.String | getPageIdentifier()
This method returns the page id.
|
java.lang.String | getPageName()
This method returns the unique name of page.
|
IManagedComposite | getTopButtonBarManagedComposite()
Returns the top button bar managed composite.
|
protected java.lang.String | getTopButtonBarManagedCompositeId()
This method returns the top button bar managed composite ID.
|
WidgetManagerInputProperties | getWidgetManagerInputProperties()
Returns the widget manager input properties for this editor.
|
void | refresh()
This method refreshes the editor Page by asking the IEditorInput for the customer model.
|
void | refreshStatusMessage()
This method refreshes the status for errors, warnings and information type of messages.
|
void | setFocus()
This method sets the focus to an appropriate control on this page.
|
protected boolean | useButtonBar()
Returns true if the button bar managed composite ID is not null.
|
protected boolean | useTopButtonBar()
Returns true if the top button bar managed composite ID is not null.
|
void | widgetManagerChanged(WidgetManagerEvent widgetManagerEvent)
This method handles widget manager events.
|
public static final java.lang.String COPYRIGHT
public TelesalesConfigurableEditorPage()
protected boolean useTopButtonBar()
protected boolean useButtonBar()
protected org.eclipse.swt.widgets.Control createTopButtonBar(org.eclipse.swt.widgets.Composite parent)
protected org.eclipse.swt.widgets.Control createButtonBar(org.eclipse.swt.widgets.Composite parent)
protected org.eclipse.swt.widgets.Control createPageContent(org.eclipse.swt.widgets.Composite parent)
protected void addScrollListener(org.eclipse.swt.widgets.Composite composite)
public WidgetManagerInputProperties getWidgetManagerInputProperties()
public IManagedComposite getTopButtonBarManagedComposite()
public IManagedComposite getPageContentManagedComposite()
public IManagedComposite getButtonBarManagedComposite()
protected java.lang.String getTopButtonBarManagedCompositeId()
protected java.lang.String getButtonBarManagedCompositeId()
protected abstract java.lang.String getPageContentManagedCompositeId()
public void refresh()
public void refreshStatusMessage()
public void setFocus()
public void dispose()
public void doSave(org.eclipse.core.runtime.IProgressMonitor monitor)
If the save is successful, the part should fire a property changed event reflecting the new dirty state (PROP_DIRTY property).
If the save is cancelled through user action, or for any other reason, the part should invoke setCancelled on the IProgressMonitor to inform the caller.
This method is long-running; progress and cancellation are provided by the given progress monitor.
public void widgetManagerChanged(WidgetManagerEvent widgetManagerEvent)
public void activate()
public void deactivate()
public java.lang.String getPageIdentifier()
public java.lang.String getPageName()