public abstract class AbstractReusableInformationControlCreator extends Object implements IInformationControlCreator, IInformationControlCreatorExtension, DisposeListener
| Constructor and Description |
|---|
AbstractReusableInformationControlCreator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canReplace(IInformationControlCreator creator)
Tests whether this information control creator can replace the given
information control creator.
|
boolean |
canReuse(IInformationControl control)
Tests if an existing information control can be reused.
|
IInformationControl |
createInformationControl(Shell parent)
Creates a new information control with the given shell as the control's parent.
|
protected abstract IInformationControl |
doCreateInformationControl(Shell parent)
Creates the control.
|
void |
widgetDisposed(DisposeEvent e)
Sent when the widget is disposed.
|
public AbstractReusableInformationControlCreator()
protected abstract IInformationControl doCreateInformationControl(Shell parent)
parent - the parent shellpublic IInformationControl createInformationControl(Shell parent)
IInformationControlCreatorcreateInformationControl in interface IInformationControlCreatorparent - the parent shellpublic void widgetDisposed(DisposeEvent e)
DisposeListenerwidgetDisposed in interface DisposeListenere - an event containing information about the disposepublic boolean canReuse(IInformationControl control)
IInformationControlCreatorExtensioncanReuse in interface IInformationControlCreatorExtensioncontrol - the information control to testtrue if the control can be reusedpublic boolean canReplace(IInformationControlCreator creator)
IInformationControlCreatorExtensioncanReplace in interface IInformationControlCreatorExtensioncreator - the creator to be checkedtrue if the given creator can be replaced,
false otherwise
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.