Interface LayerEditor

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static LayerEditor EMPTY  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      JComponent createControl​(Layer layer)
      Creates the control for the user interface which is displayed in the Layer Editor Toolview.
      void handleEditorAttached()
      Called y the framework in order to inform this editor that it has been attached to the Layer Editor Toolview.
      void handleEditorDetached()
      Called y the framework in order to inform this editor that it has been detached from the Layer Editor Toolview.
      void handleLayerContentChanged()
      Called y the framework in order to inform this editor that the current layer has changed.
    • Method Detail

      • createControl

        JComponent createControl​(Layer layer)
        Creates the control for the user interface which is displayed in the Layer Editor Toolview.
        Parameters:
        layer - The layer to create the control for.
        Returns:
        The control.
      • handleEditorAttached

        void handleEditorAttached()
        Called y the framework in order to inform this editor that it has been attached to the Layer Editor Toolview.
      • handleEditorDetached

        void handleEditorDetached()
        Called y the framework in order to inform this editor that it has been detached from the Layer Editor Toolview.
      • handleLayerContentChanged

        void handleLayerContentChanged()
        Called y the framework in order to inform this editor that the current layer has changed. Usually the the editor control must be updated in this case.