⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 projectform.java

📁 一个eclipse插件源代码。用于web开发
💻 JAVA
字号:
/*
 * $Header: /home/cvs/WEBPUMP2.0/WebPumpIDE_Src/WebPumpIDE/src/com/webpump/ui/project/ProjectForm.java,v 1.1.1.1 2004/07/01 09:07:52 wang_j Exp $
 * $Revision: 1.1.1.1 $
 * $Date: 2004/07/01 09:07:52 $
 *
 * ====================================================================
 *
 * 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.project;

import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;

import com.webpump.ui.base.gui.*;

/**
 * Project Editor's layout
 * 
 * @author wang_j
 * @version 2.0 2004-02-11 
 */
public class ProjectForm extends BaseForm {

	//工程信息编辑布局
	private ProjectInfoSection m_objProjectInfoSection;
	
	//模块列柄朐示布局
	private ModuleListSection m_objModuleListSection;
	
	//站点配置信息布局
	private SiteConfigSection m_objSiteConfigSection;
	
	//web.xml扩展布局
	private ExtendsConfigSection m_objExtendsConfigSection;
		
	/**
	 * the constructor
	 * @param page editor'page
	 */
	public ProjectForm(BasePage page)
	{
		super(page);
	}
	
	/**
	 * set the editor page's layout
	 */
	protected void createFormClient(Composite parent) {
		GridLayout layout = new GridLayout();
		parent.setLayout(layout);
		layout.makeColumnsEqualWidth=true;
		layout.numColumns = 5;
		layout.marginWidth = 10;
		layout.horizontalSpacing=15;
		GridData gd ;
									   					
		m_objProjectInfoSection= new ProjectInfoSection(page);
		m_objProjectInfoSection.setCollapsable(true);
		Control control = m_objProjectInfoSection.createControl(parent, getFactory());
		gd = new GridData(GridData.FILL_BOTH);
		gd.horizontalSpan = 3;
		control.setLayoutData(gd);

		m_objSiteConfigSection = new SiteConfigSection(page); 
		m_objSiteConfigSection.setCollapsable(true);
		control = m_objSiteConfigSection.createControl(parent , getFactory());
		gd = new GridData(GridData.FILL_BOTH);
		gd.horizontalSpan = 2;
		control.setLayoutData(gd);
		/*
		m_objModuleListSection = new ModuleListSection(page); 
		m_objModuleListSection.setCollapsable(true);
		control = m_objModuleListSection.createControl(parent, getFactory());
		gd = new GridData(GridData.FILL_BOTH);
		gd.horizontalSpan = 2;
		control.setLayoutData(gd);*/

		//分别对四个面面进行

⌨️ 快捷键说明

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