Class JavaLaunchTab

    • Constructor Detail

      • JavaLaunchTab

        public JavaLaunchTab()
    • Method Detail

      • getContext

        protected IJavaElement getContext()
        Returns the current Java element context in the active workbench page or null if none.
        Returns:
        current Java element in the active page or null
      • getCurrentLaunchConfiguration

        protected ILaunchConfiguration getCurrentLaunchConfiguration()
        Returns the launch configuration this tab was initialized from.
        Returns:
        launch configuration this tab was initialized from
      • initializeJavaProject

        protected void initializeJavaProject​(IJavaElement javaElement,
                                             ILaunchConfigurationWorkingCopy config)
        Sets the Java project attribute on the given working copy to the Java project associated with the given Java element.
        Parameters:
        javaElement - Java model element this tab is associated with
        config - configuration on which to set the Java project attribute