Package org.eclipse.jface.text
Interface IEditingSupportRegistry
- All Known Implementing Classes:
ProjectionViewer,SourceViewer,TextConsoleViewer,TextViewer
public interface IEditingSupportRegistry
A registry for
IEditingSupports.
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.voidregister(IEditingSupport support) Register a support with the registry.voidunregister(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, orsupportisnull, nothing happens.- Parameters:
support- the helper to deregister, ornull
-
getRegisteredSupports
IEditingSupport[] getRegisteredSupports()Returns the current editor helpers.- Returns:
- an non-
nullarray of currently registered editor helpers
-