本文整理匯總了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});
}
示例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});
}
示例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));
}
示例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();
}
示例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();
}
示例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();
}
示例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);
}
示例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);
}
示例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);
}