|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.text.AbstractReusableInformationControlCreator
Abstract class for a reusable information control creators.
Constructor Summary | |
---|---|
AbstractReusableInformationControlCreator()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractReusableInformationControlCreator()
Method Detail |
protected abstract IInformationControl doCreateInformationControl(Shell parent)
parent
- the parent shell
public IInformationControl createInformationControl(Shell parent)
IInformationControlCreator
createInformationControl
in interface IInformationControlCreator
parent
- the parent shell
public void widgetDisposed(DisposeEvent e)
DisposeListener
widgetDisposed
in interface DisposeListener
e
- an event containing information about the disposepublic boolean canReuse(IInformationControl control)
IInformationControlCreatorExtension
canReuse
in interface IInformationControlCreatorExtension
control
- the information control to test
true
if the control can be reusedpublic boolean canReplace(IInformationControlCreator creator)
IInformationControlCreatorExtension
canReplace
in interface IInformationControlCreatorExtension
creator
- the creator to be checked
true
if the given creator can be replaced,
false
otherwise
|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.