Class SQLViewerPerspective

    • Constructor Detail

      • SQLViewerPerspective

        public SQLViewerPerspective()
        Constructor
    • Method Detail

      • acceptsInstances

        public boolean acceptsInstances()
        Returns true if this perspective accepts instances
        Specified by:
        acceptsInstances in interface KnowledgeFlowApp.KFPerspective
        Returns:
        true if this perspective can accept instances
      • setActive

        public void setActive​(boolean active)
        Set active status of this perspective. True indicates that this perspective is the visible active perspective in the KnowledgeFlow
        Specified by:
        setActive in interface KnowledgeFlowApp.KFPerspective
        Parameters:
        active - true if this perspective is the active one
      • setLoaded

        public void setLoaded​(boolean loaded)
        Set whether this perspective is "loaded" - i.e. whether or not the user has opted to have it available in the perspective toolbar. The perspective can make the decision as to allocating or freeing resources on the basis of this.
        Specified by:
        setLoaded in interface KnowledgeFlowApp.KFPerspective
        Parameters:
        loaded - true if the perspective is available in the perspective toolbar of the KnowledgeFlow
      • main

        public static void main​(String[] args)
        Main method for testing this class
        Parameters:
        args - command line arguments