Package org.eclipse.jface.text
Interface IInformationControlCreatorExtension
-
- All Known Implementing Classes:
AbstractReusableInformationControlCreator
public interface IInformationControlCreatorExtensionExtension interface forIInformationControlCreatorIntroduces tests whether information controls can be reused and whether information control creators can replace each other.
- Since:
- 3.0
- See Also:
IInformationControlCreator,IInformationControl
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanReplace(IInformationControlCreator creator)Tests whether this information control creator can replace the given information control creator.booleancanReuse(IInformationControl control)Tests if an existing information control can be reused.
-
-
-
Method Detail
-
canReuse
boolean canReuse(IInformationControl control)
Tests if an existing information control can be reused.- Parameters:
control- the information control to test- Returns:
trueif the control can be reused
-
canReplace
boolean canReplace(IInformationControlCreator creator)
Tests whether this information control creator can replace the given information control creator. This is the case if the two creators create the same kind of information controls.- Parameters:
creator- the creator to be checked- Returns:
trueif the given creator can be replaced,falseotherwise
-
-