package com.gx.obe.evaluation.step.composite;

import org.eclipse.swt.widgets.Composite;
import java.io.File;

import org.eclipse.nebula.widgets.grid.Grid;
import org.eclipse.nebula.widgets.grid.GridColumn;
import org.eclipse.swt.SWT;
import org.eclipse.swt.core.utils.SwtUtils;
import org.eclipse.swt.core.widgets.EDialog;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.layout.FillLayout;
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 org.eclipse.swt.widgets.Shell;

import com.gx.obe.util.utils.ScreenUtils;
import com.gx.obe.web.entity.tender.TenderProjectEntity;
import com.swtdesigner.SWTResourceManager;


public class CreditChinaComposite extends Composite{

	private TenderProjectEntity tenderProject;
	private Grid supplier_gird;
	private Shell parentShell;
	
	
	public CreditChinaComposite(Composite parent, TenderProjectEntity tenderProject,int style) {
		super(parent, style);
		// TODO Auto-generated constructor stub
		this.tenderProject = tenderProject;
		
		
		
		supplier_gird = new Grid(parent, SWT.H_SCROLL | SWT.V_SCROLL);
		supplier_gird.setItemHeaderWidth(30);
		supplier_gird.setHeaderVisible(true);
		supplier_gird.setItemHeight(35);
		supplier_gird.setAutoWidth(true);
		
		GridColumn gridColumn_num = new GridColumn(supplier_gird, SWT.CENTER);
		gridColumn_num.setText("序号");
		gridColumn_num.setWidth(50);
		gridColumn_num.setMaxmumWidth(50);
		
		GridColumn gridColumn_9 = new GridColumn(supplier_gird, SWT.NONE);
		gridColumn_9.setText("名称");
		gridColumn_9.setWidth(200);
		
		GridColumn gridColumn_8 = new GridColumn(supplier_gird, SWT.CENTER);
		gridColumn_8.setText("联系人");
		gridColumn_8.setWidth(70);
		
		GridColumn gridColumn_10 = new GridColumn(supplier_gird, SWT.CENTER);
		gridColumn_10.setText("联系电话");
		gridColumn_10.setWidth(100);
		
		GridColumn gridColumn_12 = new GridColumn(supplier_gird, SWT.CENTER);
		gridColumn_12.setText("投标时间");
		gridColumn_12.setWidth(100);
		
		GridColumn sealedBidCodeColumn = new GridColumn(supplier_gird, SWT.CENTER);
		sealedBidCodeColumn.setText("暗标编码");
		sealedBidCodeColumn.setWidth(80);
		
		GridColumn gridColumn_13 = new GridColumn(supplier_gird, SWT.CENTER);
		gridColumn_13.setText("投标编号");
		gridColumn_13.setWidth(50);
		
		
		init();
		
	}

	private void init() {
		// TODO Auto-generated method stub
		
	}

	

}
