---
title: "每日预定"
author: "bachelor007"
date: "2010-03-29T15:41:42Z"
tags: [".net", "Eclipse", "OpenSource", "UI", "XML"]
categories: ["非技术"]
slug: "untitled"
draft: false
lastmod: "2010-05-10T11:52:10Z"
id: 627350
url: "https://bachelor007.iteye.com/blog/627350"
---

----------------2010.3.29---------------

安排如下：

1、

2、

3、

----------------2010.3.30---------------

安排如下：

1、[http://www.eclipse.org/tptp/home/documents/tutorials/viewlets/v4.1/EW-URLTest/EW-URLTest/EW-URLTest\_viewlet\_swf.html](http://www.eclipse.org/tptp/home/documents/tutorials/viewlets/v4.1/EW-URLTest/EW-URLTest/EW-URLTest_viewlet_swf.html)

2、eclipse tptp url recorder

3、

resolve:

[http://old.nabble.com/Utterly-fail-to-set-up-a-TPTP-URL-Test-td21357057.html](http://old.nabble.com/Utterly-fail-to-set-up-a-TPTP-URL-Test-td21357057.html) 

using the IP address of the local host instead of the host name

 

----------------2010.4.6---------------

安排如下：

1、  css editor  xml parser

2、  完成xml tree ITreeContentProvider and ILabelProvider（可参照plug in 开发）

3、

 

----------------2010.4.6---------------

安排如下：

1、  [http://demo.spars.info/j/frameset.cgi?compo\_id=202754&q=ieditorpart&hl=ieditorpart&packagename=org.eclipse.wst.xml.ui.internal.tabletree&componame=org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart&CASE=0&MORPHO=1&location=1111111111111111111&ref=1&mode=frameset&LANG=1](http://demo.spars.info/j/frameset.cgi?compo_id=202754&q=ieditorpart&hl=ieditorpart&packagename=org.eclipse.wst.xml.ui.internal.tabletree&componame=org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart&CASE=0&MORPHO=1&location=1111111111111111111&ref=1&mode=frameset&LANG=1)

2、  XMLMultiPageEditorPart3、

 

----------------2010.4.7---------------

安排如下：

1、[http://doc.linuxpk.com/46128.html](http://doc.linuxpk.com/46128.html)  xml解析

2、直接把 node nodelist当做树结构，而不用再转换成自己的树结构。

3、

 

----------------2010.4.8---------------

安排如下：

1、Eclipse TreeViewer 添加右键菜单（收藏的两篇文章中）

2、[http://blog.csdn.net/kevin99zhang/archive/2007/12/04/1917157.aspx](http://blog.csdn.net/kevin99zhang/archive/2007/12/04/1917157.aspx)

3、

 

----------------2010.4.12---------------

安排如下：

1、实现拖拽  [http://youngerbaby.iteye.com/blog/428993](http://youngerbaby.iteye.com/blog/428993)

2、双击打开文件

3、[http://www.blogjava.net/ldz112/archive/2007/05/25/119884.html](http://www.blogjava.net/ldz112/archive/2007/05/25/119884.html)

删除节点：link.getParentNode().removeChild(link);  

4、[http://www.ibm.com/developerworks/cn/xml/x-domjava/index.html](http://www.ibm.com/developerworks/cn/xml/x-domjava/index.html)

 

 

 ----------------2010.4.15---------------

1、深入理解菜单

 

[http://www.ibm.com/developerworks/cn/opensource/os-cn-ecl-menuext/](http://www.ibm.com/developerworks/cn/opensource/os-cn-ecl-menuext/)

 

 ----------------2010.4.19---------------

1、XML DOM SAX  [http://topic.csdn.net/t/20011017/16/327438.html](http://topic.csdn.net/t/20011017/16/327438.html)

 

 ----------------2010.5.6---------------

1、JDOM   DOM 对解析器的封装，怎么转换默认的解析器xerces？

[http://dev.csdn.net/article/45/45443.shtm](http://dev.csdn.net/article/45/45443.shtm)

 

 ----------------2010.5.10---------------

1、[http://www.sunjsp.com/archives/876.html](http://www.sunjsp.com/archives/876.html) DNAStar进行序列拼接 下软件并使用。

 

[http://wenku.baidu.com/view/273543270722192e4536f626.html](http://wenku.baidu.com/view/273543270722192e4536f626.html)

[](http://dev.csdn.net/article/45/45443.shtm)

 

 

```
if(node.hasAttributes()){
						String id = node.getAttributes().getNamedItem("id").getNodeValue();
						System.out.println("----id:----" + id);
					}
					
					for (int k = 0; k < employeeMeta.getLength(); k++) 
					{ 
						Node current = employeeMeta.item(k);
						if(current.getNodeType() == Node.ELEMENT_NODE){
							System.out.println(employeeMeta.item(k).getNodeName() + ":" + employeeMeta.item(k).getTextContent()); 
						}
						
					} 
```

 

```
public void parserXml2(String fileName) { 
		try { 
			DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); 
			DocumentBuilder db = dbf.newDocumentBuilder(); 
			Document document = db.parse(fileName); 
			Element root = document.getDocumentElement();
			
			NodeList books=root.getChildNodes();
			if(books != null){
				for(int i=0;i<books.getLength();i++){
					Node book=books.item(i);
					if(book.getNodeType() == Node.ELEMENT_NODE){
						String email = book.getAttributes().getNamedItem("id").getNodeValue();
						System.out.println(email);
						
						for(Node node=book.getFirstChild();node!=null;node=node.getNextSibling()){
							if(node.getNodeType()==Node.ELEMENT_NODE){
								if(node.getNodeName().equals("name")){
									String name=node.getNodeValue();
									String name1=node.getFirstChild().getNodeValue();
									System.out.println(name);
									System.out.println(name1);

								}
								if(node.getNodeName().equals("age")){
									String price=node.getFirstChild().getNodeValue();
									System.out.println(price);

								}
							}
						}

					}
				}
			}


		} 
		catch (FileNotFoundException e) { 
			System.out.println(e.getMessage()); 
		} 
		catch (ParserConfigurationException e) { 
			System.out.println(e.getMessage()); 
		}
		catch (SAXException e) { 
			System.out.println(e.getMessage());
		} 
		catch (IOException e) { 
			System.out.println(e.getMessage());
		} 
	} 
```