Interface PartDefinition

  • All Known Implementing Classes:
    PartDefinitionImpl

    @JsType
    public interface PartDefinition
    Describes the assignment of a PlaceRequest to a tab/card/item in a PanelDefinition. Given this information, you can find out (or dictate) which panel within the current perspective will contain the GUI element for the given PlaceRequest. However, the PartDefinition does not contain any information about the GUI itself, presumably because PartDefinition objects can be sent to the server. The UI (Widget) information is contained with UIPart. The mapping of PartDefinitions to UIParts is maintained by a PanelManager.
    • Method Detail

      • setContextDefinition

        void setContextDefinition​(ContextDefinition contextDefinition)
      • setContextDisplayMode

        void setContextDisplayMode​(ContextDisplayMode contextDisplayMode)
      • asString

        default String asString()
        Invokes #toString() but exported to JavaScript so it can be invoked from different scripts.
      • isSelectable

        boolean isSelectable()
      • setSelectable

        void setSelectable​(boolean selectable)