# Adopting 3.5 mechanisms and APIs

This section describes changes that are required if you are trying to change your 3.4 plug-in to adopt the 3.5 mechanisms and APIs.

1. Delete creation of ContentAssistAction action
2. Switch to new look of FilteredTree

## 1. Delete creation of ContentAssistAction action

As of 3.5, the `AbstractTextEditor` creates and registers the content assist action. This means that subclasses no longer need to create and register their own content assist action. It is recommended to remove that code and to use `org.eclipse.ui.texteditor.ITextEditorActionConstants.CONTENT_ASSIST` when adding that action to the main menu or toolbar.

Same applies to the action that shows content assist context information (`org.eclipse.ui.texteditor.ITextEditorActionConstants.CONTENT_ASSIST_CONTEXT_INFORMATION`).

## 2. Switch to new look of FilteredTree

As of 3.5, the `FilteredTree` comes with a new look. It is recommended to switch to that new look by using one of the two new constructors. Subclasses that switch to the new look must carefully review their UI because depending on what the subclass does, it might result in a broken look. In that case, the code in the subclass needs to be adjusted.