Interface IJCWidget.GroupCustomizable<N extends org.openide.nodes.Node>

  • Type Parameters:
    N - type of nodes provided for customization.
    Enclosing interface:
    IJCWidget

    public static interface IJCWidget.GroupCustomizable<N extends org.openide.nodes.Node>
    Support for widget customization performed on multi-selection of widgets. Widget can provide an implementation in its lookup to enable 'customize widget' action.
    • Method Detail

      • getWidgetSettingsNode

        N getWidgetSettingsNode()
        Provides a node (possibly with subnodes) for customization of multiple widgets. This method is used to build a context for simultaneous editing of widgets.
        Returns:
        Node
      • applyWidgetSettings

        void applyWidgetSettings​(N n)
        Callback used by infrastructure to notify that editing of settings nodes was finished and changes can be applied to widget.
        Parameters:
        n - node returned by getWidgetSettingsNode()