當前位置: 首頁>>代碼示例>>Java>>正文


Java SashForm.setOrientation方法代碼示例

本文整理匯總了Java中org.eclipse.swt.custom.SashForm.setOrientation方法的典型用法代碼示例。如果您正苦於以下問題:Java SashForm.setOrientation方法的具體用法?Java SashForm.setOrientation怎麽用?Java SashForm.setOrientation使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在org.eclipse.swt.custom.SashForm的用法示例。


在下文中一共展示了SashForm.setOrientation方法的9個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: createSashForm

import org.eclipse.swt.custom.SashForm; //導入方法依賴的package包/類
private void createSashForm() {
	GridData gd = new org.eclipse.swt.layout.GridData();
	gd.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL;
	gd.verticalAlignment = org.eclipse.swt.layout.GridData.FILL;
	gd.grabExcessHorizontalSpace = true;
	gd.grabExcessVerticalSpace = true;
	gd.horizontalSpan = 8;
	sashForm = new SashForm(this, SWT.NONE);
	sashForm.setOrientation(SWT.VERTICAL );
	sashForm.setLayoutData(gd);
	createTreesSashForm();
	createXpathSashForm();
	sashForm.setWeights(new int[]{70,30});
}
 
開發者ID:convertigo,項目名稱:convertigo-eclipse,代碼行數:15,代碼來源:StepSourceEditorComposite.java

示例2: createTreesSashForm

import org.eclipse.swt.custom.SashForm; //導入方法依賴的package包/類
private void createTreesSashForm() {
	GridData gd = new org.eclipse.swt.layout.GridData();
	gd.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL;
	gd.verticalAlignment = org.eclipse.swt.layout.GridData.FILL;
	gd.grabExcessHorizontalSpace = true;
	gd.grabExcessVerticalSpace = true;
	treesSashForm = new SashForm(sashForm, SWT.NONE);
	treesSashForm.setOrientation(SWT.HORIZONTAL );
	treesSashForm.setLayoutData(gd);
	createSequenceTree();
	sourcePicker.createXhtmlTree(treesSashForm);
	treesSashForm.setWeights(new int[]{40,60});
}
 
開發者ID:convertigo,項目名稱:convertigo-eclipse,代碼行數:14,代碼來源:StepSourceEditorComposite.java

示例3: createXpathSashForm

import org.eclipse.swt.custom.SashForm; //導入方法依賴的package包/類
private void createXpathSashForm() {
	GridData gd = new org.eclipse.swt.layout.GridData();
	gd.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL;
	gd.verticalAlignment = org.eclipse.swt.layout.GridData.FILL;
	gd.grabExcessHorizontalSpace = true;
	gd.grabExcessVerticalSpace = true;
	xpathSashForm = new SashForm(sashForm, SWT.NONE);
	xpathSashForm.setOrientation(SWT.HORIZONTAL );
	xpathSashForm.setLayoutData(gd);
	
	sourcePicker.createXPathEvaluator(new StepXpathEvaluatorComposite(xpathSashForm, SWT.NONE, sourcePicker));
}
 
開發者ID:convertigo,項目名稱:convertigo-eclipse,代碼行數:13,代碼來源:StepSourceEditorComposite.java

示例4: createSashForm

import org.eclipse.swt.custom.SashForm; //導入方法依賴的package包/類
private void createSashForm() {
	GridData gd = new org.eclipse.swt.layout.GridData();
	gd.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL;
	gd.verticalAlignment = org.eclipse.swt.layout.GridData.FILL;
	gd.grabExcessHorizontalSpace = true;
	gd.grabExcessVerticalSpace = true;
	gd.horizontalSpan = 3;
	mainSashForm = new SashForm(content, SWT.NONE);
	mainSashForm.setOrientation(SWT.VERTICAL );
	mainSashForm.setLayoutData(gd);
	createTreeSashForm();
	createXpathSashForm();
}
 
開發者ID:convertigo,項目名稱:convertigo-eclipse,代碼行數:14,代碼來源:SourcePickerView.java

示例5: createTreeSashForm

import org.eclipse.swt.custom.SashForm; //導入方法依賴的package包/類
private void createTreeSashForm() {
	GridData gd = new org.eclipse.swt.layout.GridData();
	gd.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL;
	gd.verticalAlignment = org.eclipse.swt.layout.GridData.FILL;
	gd.grabExcessHorizontalSpace = true;
	gd.grabExcessVerticalSpace = true;
	treesSashForm = new SashForm(mainSashForm, SWT.NONE);
	treesSashForm.setOrientation(SWT.HORIZONTAL );
	treesSashForm.setLayoutData(gd);
	createXhtmlTree();
}
 
開發者ID:convertigo,項目名稱:convertigo-eclipse,代碼行數:12,代碼來源:SourcePickerView.java

示例6: createXpathSashForm

import org.eclipse.swt.custom.SashForm; //導入方法依賴的package包/類
private void createXpathSashForm() {
	GridData gd = new org.eclipse.swt.layout.GridData();
	gd.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL;
	gd.verticalAlignment = org.eclipse.swt.layout.GridData.FILL;
	gd.grabExcessHorizontalSpace = true;
	gd.grabExcessVerticalSpace = true;
	xpathSashForm = new SashForm(mainSashForm, SWT.NONE);
	xpathSashForm.setOrientation(SWT.HORIZONTAL );
	xpathSashForm.setLayoutData(gd);
	createXPathEvaluator();
}
 
開發者ID:convertigo,項目名稱:convertigo-eclipse,代碼行數:12,代碼來源:SourcePickerView.java

示例7: createSashForm

import org.eclipse.swt.custom.SashForm; //導入方法依賴的package包/類
/**
 * This method initializes sashForm	
 * @throws MaxCvsExceededException 
 * @throws KeyExpiredException 
 *
 */
private void createSashForm() throws MaxCvsExceededException, KeyExpiredException {
	sashForm = new SashForm(this, SWT.BORDER);
	sashForm.setOrientation(org.eclipse.swt.SWT.VERTICAL);
	sashForm.setLayoutData(new org.eclipse.swt.layout.GridData(SWT.FILL, SWT.FILL, true, true));
	createComposite1();
	xpathEvaluator = new HtmlXpathEvaluatorComposite(sashForm, SWT.NONE, this);
	sashForm.setWeights(new int[]{80, 20});
	//sashForm.setSashWidth(3);
}
 
開發者ID:convertigo,項目名稱:convertigo-eclipse,代碼行數:16,代碼來源:HtmlConnectorDesignComposite.java

示例8: createUpperSashForm

import org.eclipse.swt.custom.SashForm; //導入方法依賴的package包/類
/**
 * This method initializes lowerSashForm	
 * @throws MaxCvsExceededException 
 * @throws KeyExpiredException 
 *
 */
private void createUpperSashForm() throws MaxCvsExceededException, KeyExpiredException {
	lowerSashForm = new SashForm(upperPanel, SWT.NONE);
	lowerSashForm.setOrientation(SWT.HORIZONTAL );
	lowerSashForm.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,true));
	domTreeComp = new DomTreeComposite(lowerSashForm, SWT.None, this);
	createWebViewer();
	lowerSashForm.setWeights(new int[]{20,80});
	//lowerSashForm.setSashWidth(3);
}
 
開發者ID:convertigo,項目名稱:convertigo-eclipse,代碼行數:16,代碼來源:HtmlConnectorDesignComposite.java

示例9: createSashForm

import org.eclipse.swt.custom.SashForm; //導入方法依賴的package包/類
/**
 * This method initializes sashForm
 * 
 */
private void createSashForm() {
	GridData gridData1 = new org.eclipse.swt.layout.GridData();
	gridData1.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL;
	gridData1.grabExcessHorizontalSpace = true;
	gridData1.grabExcessVerticalSpace = true;
	gridData1.verticalAlignment = org.eclipse.swt.layout.GridData.FILL;
	sashForm = new SashForm(editor, SWT.NONE);
	sashForm.setOrientation(org.eclipse.swt.SWT.VERTICAL);
	sashForm.setLayoutData(gridData1);
}
 
開發者ID:convertigo,項目名稱:convertigo-eclipse,代碼行數:15,代碼來源:XslRuleEditor.java


注:本文中的org.eclipse.swt.custom.SashForm.setOrientation方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。