There are 1 code examples for org.eclipse.compare.Splitter.
The API names are highlighted below.
You can use
button
to vote the code example(s) you like. The best code example will be ranked first next time. Thanks a lot for your feedback.
Project Name: CodeAnalyzer Package: de.fzi.cloneanalyzer.viewer
Source Code: CloneComparisonDialog.java (Click to view .java file)
Method Code:
protected Control createDialogArea(Composite parent2){
Composite parent=(Composite)super.createDialogArea(parent2);
initStructureCreator();
selected=(CloneFileEclipse)ci.getCloneFile();
initCompareConfiguration();
Splitter vsplitter=new Splitter(parent,SWT.VERTICAL);
vsplitter.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL | GridData.VERTICAL_ALIGN_FILL| GridData.GRAB_VERTICAL));
createCloneInstancesPane(vsplitter);
createContentPane(vsplitter);
vsplitter.setWeights(new int[]{30,70});
applyDialogFont(parent);
setShellStyle(getShellStyle() | SWT.RESIZE);
return parent;
}