Class PresentationAdapterProvider

    • Constructor Detail

      • PresentationAdapterProvider

        public PresentationAdapterProvider()
    • Method Detail

      • getPresentationAdapter

        public static IPresentationAdapter getPresentationAdapter​(IBmObject target)
        Gets the presentation adapter associated with the target.
        target - Target object, could be null for the convenience.
        The corresponding adapter (if registered); null if no adapter was associated with the object earlier.
      • registerAdapter

        public static void registerAdapter​(IPresentationAdapter adapter,
                                           String id)
        Registers the presentation adapter with the given id.
        id - The unique identifier of the adapter. Cannot be null.
        adapter - The adapter instance to register. Cannot be null.