actionlist.java

来自「一个eclipse插件源代码。用于web开发」· Java 代码 · 共 62 行

JAVA
62
字号
/*
 * $Header: /home/cvs/WEBPUMP2.0/WebPumpIDE_Src/WebPumpIDE/src/com/webpump/ui/exception/data/ActionList.java,v 1.1.1.1 2004/07/01 09:07:45 wang_j Exp $
 * $Revision: 1.1.1.1 $
 * $Date: 2004/07/01 09:07:45 $
 *
 * ====================================================================
 *
 * The NanJing HopeRun(IT-FOREST) Software License, Version 2.0.0
 *
 * Copyright 2003-2004 by NanJing HopeRun(IT-FOREST) Information System Co., Ltd, CHINA and
 *                        IT Forest Corporation
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * HopeRun(IT-FOREST) Information System Co., Ltd, CHINA and IT Forest Corporation.
 * You shall not disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into with
 * HopeRun(IT-FOREST) Information System Co., Ltd, CHINA and IT Forest Corporation.
 */
 
package com.webpump.ui.exception.data;

import java.util.Hashtable;
import java.util.Vector;
import java.io.PrintWriter;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.pde.core.*;
import org.w3c.dom.*;

import com.webpump.ui.base.data.*;
import com.webpump.ui.module.model.*;
import com.webpump.ui.perspective.MacroResource;
import com.webpump.ui.perspective.WebpumpIDEPlugin;

/**
 * Class for defining the data structure of the child node <action> in "exception.xml".
 * 
 * @author zhao_f
 * @version 2.0.0 2004-2-13
 */
public class ActionList extends BaseDataObject
{
	final static String INDENT = "   ";
	
	/** name of this node*/		
	private String m_strName = WebpumpIDEPlugin.getResourceString(MacroResource.ACTIONLIST_NAME);
	
	/** a group of objects which is use to store ExceptionName of this node's children*/
	private Vector vExceptions;
	
	/**
	 * Parse the given node by searching all its children repeatingly and parsing each of them respectively
	 * @param node the node which is going to be parsed
	 * @param lineTable
	 */
	public void parse(Node node, Hashtable lineTable)  {
		bindSourceLocation(node, lineTable);
				
        //Parse all the Children of this node
        // 铁赜所有己存在的Action至Model中 
		if (vExceptions==null) vExceptions = new Vector();
        //从Model中取建模

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?