Eclipse Platform
Release 3.1

org.eclipse.jface.text
Interface IEditingSupportRegistry

All Known Implementing Classes:
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:
IEditingSupport

Method Summary
 IEditingSupport[] getRegisteredSupports()
          Returns 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 Detail

register

public void register(IEditingSupport support)
Register a support with the registry. If the support is already registered, nothing happens.

Parameters:
support - an editor support

unregister

public void unregister(IEditingSupport support)
Deregister a support with the registry. If the support is not registered, or support is null, nothing happens.

Parameters:
support - the helper to deregister, or null

getRegisteredSupports

public IEditingSupport[] getRegisteredSupports()
Returns the current editor helpers.

Returns:
an non- null array of currently registered editor helpers

Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.