Class TestCenterPlugin

    • Field Detail

      • icons

        protected static final javax.swing.UIDefaults icons
        The image icons.
      • mpanel

        protected ModelTreePanel mpanel
        The panel showing the classpath models.
      • ADD_TESTCASE

        public final javax.swing.Action ADD_TESTCASE
        Add testcase.
      • ADD_TESTCASES

        public final javax.swing.Action ADD_TESTCASES
        Add testcases.
      • REMOVE_TESTCASE

        public final javax.swing.Action REMOVE_TESTCASE
        Remove testcase.
      • REMOVE_TESTCASES

        public final javax.swing.Action REMOVE_TESTCASES
        Remove testcases.
    • Constructor Detail

      • TestCenterPlugin

        public TestCenterPlugin()
    • Method Detail

      • getName

        public java.lang.String getName()
        Return the unique name of this plugin. Used e.g. to store properties of each plugin.
      • getToolIcon

        public javax.swing.Icon getToolIcon​(boolean selected)
        Return the icon representing this plugin.
      • getHelpID

        public java.lang.String getHelpID()
        Return the id for the help system
      • createToolBar

        public javax.swing.JComponent[] createToolBar()
        Create tool bar.
        Overrides:
        createToolBar in class AbstractJCCPlugin
        Returns:
        The tool bar.
      • createView

        public javax.swing.JComponent createView()
        Create main panel.
        Overrides:
        createView in class AbstractJCCPlugin
        Returns:
        The main panel.
      • loadPlatformProperties

        public IFuture loadPlatformProperties()
        Load and apply the platform properties.
      • getLeafChildren

        protected IFuture getLeafChildren​(IFileNode node)
        Recursively get all leaf (sub)children of a node.
      • addTestcases

        protected void addTestcases​(IFileNode node)
        Add testcases for a file or directory recursively.
        Parameters:
        node - The file/dir node to start.
      • removeTestcases

        protected void removeTestcases​(IFileNode node)
        Remove testcases for a file or directory recusively.
        Parameters:
        node - The file/dir node to start.