Interface ConfigurationEditorFactory.IConfigurationEditorCreator

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.eclipse.jface.viewers.ViewerFilter createAttributeFilter​(java.lang.String attributeNameRegEx, java.lang.String valueRegEx, boolean showAllNestedElements)
      Creates a simple attribute filter.
      org.eclipse.jface.viewers.TreeViewer createEditor​(Configuration config, org.eclipse.swt.widgets.Composite parent)
      Creates a configuration editor.
      org.eclipse.jface.viewers.ViewerFilter createNameFilter​(java.lang.String nameRegEx, boolean showAllNestedElements)
      Creates a name filter.
      org.eclipse.jface.viewers.ViewerFilter createNonFrozenFilter​(boolean showAllNestedElements)
      Creates a filter that shows only non-frozen elements.
    • Method Detail

      • createEditor

        org.eclipse.jface.viewers.TreeViewer createEditor​(Configuration config,
                                                          org.eclipse.swt.widgets.Composite parent)
        Creates a configuration editor.
        Parameters:
        config - the configuration to be shown in the editor
        parent - the UI parent
        Returns:
        the editor
      • createNameFilter

        org.eclipse.jface.viewers.ViewerFilter createNameFilter​(java.lang.String nameRegEx,
                                                                boolean showAllNestedElements)
                                                         throws java.util.regex.PatternSyntaxException
        Creates a name filter.
        Parameters:
        nameRegEx - a regular expression for including names
        showAllNestedElements - if all nested elements or only the selected ones shall be displayed
        Returns:
        the name filter
        Throws:
        java.util.regex.PatternSyntaxException - in case of erroneous pattern syntax
      • createAttributeFilter

        org.eclipse.jface.viewers.ViewerFilter createAttributeFilter​(java.lang.String attributeNameRegEx,
                                                                     java.lang.String valueRegEx,
                                                                     boolean showAllNestedElements)
                                                              throws java.util.regex.PatternSyntaxException
        Creates a simple attribute filter.
        Parameters:
        attributeNameRegEx - the name of the attribute as regular expression
        valueRegEx - a regular expression to be applied on the text representation of values
        showAllNestedElements - if all nested elements or only the selected ones shall be displayed
        Returns:
        the name filter
        Throws:
        java.util.regex.PatternSyntaxException - in case of erroneous pattern syntax
      • createNonFrozenFilter

        org.eclipse.jface.viewers.ViewerFilter createNonFrozenFilter​(boolean showAllNestedElements)
        Creates a filter that shows only non-frozen elements.
        Parameters:
        showAllNestedElements - if all nested elements or only the selected ones shall be displayed
        Returns:
        the non-frozen filter