Class SpatialtoolboxController

    • Constructor Detail

      • SpatialtoolboxController

        public SpatialtoolboxController​(GuiBridgeHandler guiBridge)
    • Method Detail

      • preInit

        protected void preInit()
      • getMethodAnnotatedWith

        public static Method getMethodAnnotatedWith​(Class<?> klass,
                                                    Class<? extends Annotation> annotation)
      • getFromLayers

        protected String getFromLayers​(String comboItem)
        If a list of file backed layers is available, override this and do the conversion.
        Parameters:
        comboItem - the name of the layer.
        Returns:
        if available the path of the file backed layer.
      • addMouseListenerToContext

        protected void addMouseListenerToContext​(MouseListener mouseListener)
        Override if you are in a context that supports interaction.
        Parameters:
        component - the component that listens to mouse interaction.
      • removeMouseListenerFromContext

        protected void removeMouseListenerFromContext​(MouseListener mouseListener)
        Override if you are in a context that supports interaction.
        Parameters:
        component - the component to remove that listens to mouse interaction.
      • isVisibleTriggered

        public void isVisibleTriggered()
        This might be evoked when the panel gets focus.

        This might require a check on available layers and similar.

      • loadRasterLayer

        protected void loadRasterLayer​(File file)
        Override if loading of layers is supported.
        Parameters:
        file -
      • loadVectorLayer

        protected void loadVectorLayer​(File file)
        Override if loading of layers is supported.
        Parameters:
        file -