Package org.eclipse.jface.text
Interface IEditingSupportRegistry
- All Known Implementing Classes:
ProjectionViewer
,SourceViewer
,TextConsoleViewer
,TextViewer
public interface IEditingSupportRegistry
A registry for
IEditingSupport
s.
This interface is not meant to be implemented outside the JFace text framework.
- Since:
- 3.1
- See Also:
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the current editor helpers.void
register
(IEditingSupport support) Register a support with the registry.void
unregister
(IEditingSupport support) Deregister a support with the registry.
-
Method Details
-
register
Register a support with the registry. If the support is already registered, nothing happens.- Parameters:
support
- an editor support
-
unregister
Deregister a support with the registry. If the support is not registered, orsupport
isnull
, nothing happens.- Parameters:
support
- the helper to deregister, ornull
-
getRegisteredSupports
IEditingSupport[] getRegisteredSupports()Returns the current editor helpers.- Returns:
- an non-
null
array of currently registered editor helpers
-