close

Filter

loading table of contents...

Studio Developer Manual / Version 2107

Table Of Contents

7.12.5.3 Enable Custom Search Filter

Finally, you need to enable the new custom filter by invoking editorContext.getEnabledSearchFilterIds().push('...'), for example, in the init method of a corresponding Studio plugin.

public class FooStudioPluginBase extends StudioPlugin {

  override
  public function init(editorContext:IEditorContext):void {
    super.init(editorContext);

    <!-- 'fooFilter' is the FILTER_ID of the added filter panel -->
    editorContext.getEnabledSearchFilterIds().push('fooFilter');
  }
}

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.