Bug 137822 is fixed :)

It’s very happy to know that my fellow Le fixed the bug 137822 based on my posting. see Le’s post.

Anyway, I list some important classes and methods which related to the bug and web server. Some other person who worked on the web server tool may get some help or hint from my investigation.

  1. org.eclipse.debug.internal.ui.launchConfigurations is a important package in the plugin.

    • CreateLaunchConfigurationAction.performAction() — create wc with the unique name “New_Configuration(1)”,configuration dialog with all the tabs, set the default configuration for the dialog to be the new created wc .
    • LaunchConfigurationView.handleConfigurationAdded()
    • createLaunchConfigurationSelectionArea()
      (handler double click, display a tree of launch configurations that may select, and allow to create new configurations and delete, duplicate existing configuration)
    • LaunchConfigurationTabGroupViewer — create a viewer to display tabs for a launch configuration with Apply and Revert button.
    • LaunchConfigurationDialog (line 423(create),1055(open))
      create the launch configuration dialog
    • LaunchConfigurationTabGroupViewer.inputChanged
    • .LaunchConfigurationDialog (line 543) — catch selectionEvent, then call handleConfigurationAdded()
  2. org.eclipse.wst.server.ui.ServerLaunchConfigurationTab.performApply()
    (will get the server configuration “Tomcat 6.0”)
  3. org.eclipse.wst.server.core.internal.Server.getLaunchConfiguration(bool,IProgress) — bool is true, will create a new server.
  4. org.eclipse.jst.server.tomcat.core.internal.TomcatServerBehaviour.
    setLaunchConfiguration ILaunchConfigurationWorkingCopy workingCopy, IProgressMonitor monitor) (set the tomcat arguments for the VM and Program)
  5. org.eclipse.debug.internal.core.LaunchManager.run() — catch Add, then launch fListener.launchConfigurationAdded(fConfiguration)
  6. org.eclipse.swt.Display.runDerredEvents() –Always called by Display to get any event including selection, mousedown etc.
  7. org.eclipse.jface.util.OpenStrategy.handlerEvent — catch all the event, mouseup,mousedown, etc. then call function
    . Keydown may invoke fireOpenEvent(new SelectionEvent(e))
    .Selection may invoke fireSelectionEvent(event); then may invoke firePostSelectionEvent(new SelectionEvent(e))

2 Responses to Bug 137822 is fixed :)

  1. Peter says:

    Hi, Shelley.

    Plesae post this to Bugzilla too.
    It’s great to see the impact of team work.


  2. Jordan says:

    I’ve just read your Bugzilla posting.

    Very good,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: