public abstract class TelesalesConfigurableEditorPart extends TelesalesEditorPart implements IWidgetManagerListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field
|
Constructor and Description |
---|
TelesalesConfigurableEditorPart()
Creates an editor page instance.
|
Modifier and Type | Method and Description |
---|---|
void | activate()
This method handles activation of this page.
|
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.
|
void | createPartControl(org.eclipse.swt.widgets.Composite parent)
This method creates the editor page content.
|
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()
Returns the button bar managed composite.
|
protected java.lang.String | getButtonBarManagedCompositeId()
This method returns the button bar managed composite ID.
|
IManagedComposite | getPageContentManagedComposite()
This method returns the page content managed composite.
|
protected abstract java.lang.String | getPageContentManagedCompositeId()
This method returns the page content managed composite ID.
|
WidgetManagerInputProperties | getWidgetManagerInputProperties()
This method returns the widget manager input properties.
|
void | refreshStatusMessage()
This method refreshes the status message.
|
void | setFocus()
This method sets the focus to an appropriate control on this page.
|
protected boolean | useButtonBar()
This method returns true if the 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 TelesalesConfigurableEditorPart()
public void createPartControl(org.eclipse.swt.widgets.Composite parent)
protected boolean useButtonBar()
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)
public IManagedComposite getPageContentManagedComposite()
public IManagedComposite getButtonBarManagedComposite()
protected java.lang.String getButtonBarManagedCompositeId()
protected abstract java.lang.String getPageContentManagedCompositeId()
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 WidgetManagerInputProperties getWidgetManagerInputProperties()