Apache NetBeans Wiki Index

Note: These pages are being reviewed.


Use the keywords attribute of the @OptionsPanelController.SubRegistration/@OptionsPanelController.TopLevelRegistration

For example `

        id = "XXX",
        location = "Java",
        displayName = "#AdvancedOption_DisplayName_MYPLUGIN",
        keywords = "#AdvancedOption_Keywords_MYPLUGIN",
        keywordsCategory = "Java/MYPLUGIN")
@org.openide.util.NbBundle.Messages({"AdvancedOption_DisplayName_MYPLUGIN=MYPLUGIN", "AdvancedOption_Keywords_MYPLUGIN=keyword1,keyword2"})
public final class MYPLUGINOptionsPanelController extends OptionsPanelController


Use the keywords attribute of the @OptionsPanelController.Keywords. Place the annotation at the OptionPanel and NOT at the OptionsPanelController.

For example `

@org.netbeans.spi.options.OptionsPanelController.Keywords(location="Java", tabTitle="XXX", keywords={"configures format","highlighting","much more"})
public class MYPLUGINOPTIONSPanel extends javax.swing.JPanel


Further resources

Apache Migration Information

The content in this page was kindly donated by Oracle Corp. to the Apache Software Foundation.

This page was exported from http://wiki.netbeans.org/DevFaqExtendOptionsSearch , that was last modified by NetBeans user Markiewb on 2015-03-04T10:19:38Z.

NOTE: This document was automatically converted to the AsciiDoc format on 2018-02-07, and needs to be reviewed.