Open main menu

CDOT Wiki β

TerryChen

Joined 12 May 2009
Revision as of 17:34, 8 July 2009 by TerryChen (talk | contribs)

About Me

  • Name: Terry(Jiachang) Chen
  • Program: CPAC

Contacts

Weekly Activities

Week 01

  • Created my wiki account
  • Created an account on bugzilla
  • Opened my blog on blogspot.com
  • Installed Chatzilla addon on FireFox


Week 02

  • Downloaded and extract Eclipse RCP/Plug-in Developers
  • Downloaded and extract Eclipse WTP3.1M7
  • Looked for bugs to fix on bugzilla


Week 03


Week 04


Week 05


Week 06

  • Checked out org.eclipse.wst.sse.core
  • Checked out org.eclipse.wst.xml.core
  • Checked out org.eclipse.wst.sse.ui
  • Checked out org.eclipse.wst.xml.ui


Week 07

  • Checked the code for New XML Wizard in org.eclipse.wst.xml.ui
  org.eclipse.wst.xml.ui > src-wizards > org.eclipse.wst.xml.ui.internal.wizards > NewXMLWizard.java
org.eclipse.wst.xml.ui > src-wizards > org.eclipse.wst.xml.ui.internal.wizards > NewXMLGenerator.java
  • Checked NewXMLWizard.java and found the following code on creating xml document in performFinish()
  •     if (getContainer().getCurrentPage() == selectRootElementPage) {

    generator.createXMLDocument(newFile, xmlFileName);

        |
    else {

    // put template contents into file
    String templateString = fNewXMLTemplatesWizardPage.getTemplateString();
    generator.createTemplateXMLDocument(newFile, templateString);

        |
  • Checked createXMLDocument(IFile newFile, String xmlFileName) in NewXMLGenerator.java

  • Study Week