private void createVersionArea(final Group parent, String versionLabel, Consumer<String> textHandler, Consumer<Boolean> flagHandler) { final Composite area = createVersionArea(parent, versionLabel); final Composite textArea = createVersionInputArea(area); final Text txtUpperVersion = getSimpleTextArea(textArea); txtUpperVersion.addModifyListener(new ModifyListener() { @Override public void modifyText(ModifyEvent e) { Text textWidget = (Text) e.getSource(); textHandler.accept(textWidget.getText()); } }); createVersionInclsivnessArea(area, flagHandler); }
private void createNameArea(Composite parent, String areaName, Consumer<String> textHandler) { final Group area = new Group(parent, SHADOW_ETCHED_IN); area.setLayout(GridLayoutFactory.fillDefaults().numColumns(1).create()); area.setLayoutData(GridDataFactory.fillDefaults().grab(true, true).create()); area.setText(areaName); final Text txtPackageName = getSimpleTextArea(area); txtPackageName.addModifyListener(new ModifyListener() { @Override public void modifyText(ModifyEvent e) { Text textWidget = (Text) e.getSource(); textHandler.accept(textWidget.getText()); } }); }
private Composite initTestProjectUI(DataBindingContext dbc, Composite parent) { // Additional test project options final Group testProjectOptionsGroup = new Group(parent, NONE); testProjectOptionsGroup.setLayout(GridLayoutFactory.fillDefaults().numColumns(1).create()); final Button createTestGreeterFileButton = new Button(testProjectOptionsGroup, CHECK); createTestGreeterFileButton.setText("Create a test project greeter file"); final Button addNormalSourceFolderButton = new Button(testProjectOptionsGroup, CHECK); addNormalSourceFolderButton.setText("Also create a non-test source folder"); Label nextPageHint = new Label(testProjectOptionsGroup, NONE); nextPageHint.setText("The projects which should be tested can be selected on the next page"); nextPageHint.setForeground(Display.getCurrent().getSystemColor(SWT.COLOR_TITLE_INACTIVE_FOREGROUND)); initTestProjectBinding(dbc, addNormalSourceFolderButton, createTestGreeterFileButton); return testProjectOptionsGroup; }
@Override public void createControl(Composite parent) { _parent = parent; Composite area = new Composite(parent, SWT.NULL); GridLayout gl = new GridLayout(1, false); gl.marginHeight = 0; area.setLayout(gl); area.layout(); setControl(area); Group modelArea = createGroup(area, "Model:"); createModelLayout(modelArea, null); Group languageArea = createGroup(area, "Language:"); createLanguageLayout(languageArea, null); Group debugArea = createGroup(area, "Animation:"); createAnimationLayout(debugArea, null); _k3Area = createGroup(area, "Sequential DSA execution:"); createK3Layout(_k3Area, null); }
private void renderTransparency(final Shell shell) { Group group = new Group(shell, SWT.NONE); group.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false, 6, 1)); group.setLayout(new GridLayout(1, false)); group.setText("Transparency"); final Scale transparencySlider = new Scale(group, SWT.HORIZONTAL); transparencySlider.setMinimum(20); transparencySlider.setMaximum(100); transparencySlider.setPageIncrement(90); transparencySlider.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false)); transparencySlider.setSelection(100); transparencySlider.addListener(SWT.Selection, new Listener() { @Override public void handleEvent(Event event) { shell.setAlpha(255 * transparencySlider.getSelection() / 100); } }); }
/** * This method initializes groupDecoration * */ private void createGroupDecoration() { GridData gridData1 = new org.eclipse.swt.layout.GridData(); gridData1.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL; gridData1.horizontalSpan = 2; gridData1.verticalAlignment = org.eclipse.swt.layout.GridData.CENTER; groupDecoration = new Group(this, SWT.NONE); groupDecoration.setText("Decoration"); createCompositeIntense(); groupDecoration.setLayoutData(gridData1); createCompositeReverse(); createCompositeUnderline(); createCompositeBlink(); }
private void createGroupVisibility() { GridData gridData = new org.eclipse.swt.layout.GridData(); gridData.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL; gridData.verticalAlignment = org.eclipse.swt.layout.GridData.CENTER; groupVisibility = new Group(this, SWT.NONE); groupVisibility.setText("Mask value in"); groupVisibility.setLayoutData(gridData); checkboxLog = new Button(groupVisibility, SWT.CHECK); checkboxLog.setBounds(new org.eclipse.swt.graphics.Rectangle(12,42,200,18)); checkboxLog.setText("log files"); checkboxStudio = new Button(groupVisibility, SWT.CHECK); checkboxStudio.setBounds(new org.eclipse.swt.graphics.Rectangle(12,72,200,16)); checkboxStudio.setText("studio user interface"); checkboxPlatform = new Button(groupVisibility, SWT.CHECK); checkboxPlatform.setBounds(new org.eclipse.swt.graphics.Rectangle(12,102,200,16)); checkboxPlatform.setText("platform user interface"); checkboxXml = new Button(groupVisibility, SWT.CHECK); checkboxXml.setBounds(new org.eclipse.swt.graphics.Rectangle(12,132,200,16)); checkboxXml.setText("project's XML files"); }
/** * This method initializes groupDefinition * */ private void createGroupDefinition() { groupDefinition = new Group(this, SWT.NONE); groupDefinition.setText("Definition"); checkBoxName = new Button(groupDefinition, SWT.CHECK); checkBoxName.setBounds(new org.eclipse.swt.graphics.Rectangle(8,18,50,16)); checkBoxName.setText("name"); checkBoxType = new Button(groupDefinition, SWT.CHECK); checkBoxType.setBounds(new org.eclipse.swt.graphics.Rectangle(8,41,51,16)); checkBoxType.setText("type"); checkBoxType .addSelectionListener(new org.eclipse.swt.events.SelectionAdapter() { public void widgetSelected(org.eclipse.swt.events.SelectionEvent e) { if (!checkBoxType.getSelection()) { //com.twinsoft.convertigo.studio.Studio.theApp.warning(java.util.ResourceBundle.getBundle("com/twinsoft/convertigo/studio/res/editors/IncludedTagAttributesEditorPanel").getString("type_warning")); } } }); }
/** * This method initializes group * */ private void createGroup() { GridData gridData3 = new org.eclipse.swt.layout.GridData(); gridData3.grabExcessHorizontalSpace = false; gridData3.verticalAlignment = org.eclipse.swt.layout.GridData.CENTER; gridData3.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL; group = new Group(this, SWT.NONE); group.setLayoutData(gridData3); radioButton1 = new Button(group, SWT.RADIO); radioButton1.setBounds(new org.eclipse.swt.graphics.Rectangle(143,18,109,16)); radioButton1.setText("Sister screen class"); radioButton2 = new Button(group, SWT.RADIO); radioButton2.setBounds(new org.eclipse.swt.graphics.Rectangle(12,18,126,16)); radioButton2.setText("Inherited screen class"); radioButton2.setSelection(true); }
@Override protected Control createDialogArea(Composite parent) { final Group customDialogArea = new Group(parent, SHADOW_ETCHED_IN); customDialogArea.setLayout(GridLayoutFactory.fillDefaults().numColumns(1).equalWidth(false).create()); customDialogArea.setLayoutData(GridDataFactory.fillDefaults().grab(true, true).align(FILL, TOP).create()); createNameArea(customDialogArea, PACKAGE_NAME, this::handlePackageNameInput); createVersionArea(customDialogArea, MINIMUM_VERSION_OPTIONAL, this::handleLowerVersionInput, this::setLowerExcluded); createVersionArea(customDialogArea, MAXIMUM_VERSION_OPTIONAL, this::handleUpperVersionInput, this::setUpperExcluded); return customDialogArea; }
private Composite createVersionArea(final Composite parent, final String label) { final Group area = new Group(parent, SHADOW_ETCHED_IN); area.setLayout(GridLayoutFactory.fillDefaults().numColumns(2).create()); area.setLayoutData(GridDataFactory.fillDefaults().grab(true, true).create()); area.setText(label); return area; }
/** * Create the options specification widgets. */ protected void createOptionsGroup(Composite parent) { // options group Group optionsGroup = new Group(parent, SWT.NONE); GridLayout layout = new GridLayout(); optionsGroup.setLayout(layout); optionsGroup.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL)); optionsGroup.setText(IDEWorkbenchMessages.WizardExportPage_options); optionsGroup.setFont(parent.getFont()); createOptionsGroupButtons(optionsGroup); }
/** * Create the button for checking if we should ask if we are going to overwrite existing files. */ private void createOverwriteExisting(Group optionsGroup, Font font) { // overwrite... checkbox overwriteExistingFilesCheckbox = new Button(optionsGroup, SWT.CHECK | SWT.LEFT); overwriteExistingFilesCheckbox.setText(N4ExportMessages.ExportFile_overwriteExisting); overwriteExistingFilesCheckbox.setFont(font); }
@Override protected void createOptionsGroupButtons(Group optionsGroup) { Font font = optionsGroup.getFont(); optionsGroup.setLayout(new GridLayout(2, true)); Composite left = new Composite(optionsGroup, SWT.NONE); left.setLayoutData(new GridData(SWT.LEFT, SWT.TOP, true, false)); left.setLayout(new GridLayout(1, true)); // compress... checkbox compressContentsCheckbox = new Button(left, SWT.CHECK | SWT.LEFT); compressContentsCheckbox.setText(DataTransferMessages.ZipExport_compressContents); compressContentsCheckbox.setFont(font); }
@Override protected void createOptionsGroupButtons(Group optionsGroup) { npmGoalSelection = new Combo(optionsGroup, SWT.SINGLE | SWT.BORDER); npmGoalSelection.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); npmGoalSelection.addListener(SWT.Modify, this); npmGoalSelection.addListener(SWT.Selection, this); }
private Composite initDefaultOptionsUI(DataBindingContext dbc, Composite parent) { // A group for default options final Group defaultOptions = new Group(parent, NONE); defaultOptions.setLayout(GridLayoutFactory.fillDefaults().numColumns(1).create()); final Button createGreeterFileButton = new Button(defaultOptions, CHECK); createGreeterFileButton.setText("Create a greeter file"); initDefaultCreateGreeterBindings(dbc, createGreeterFileButton); return defaultOptions; }
/** * */ protected Composite createPropertiesGroup(Composite parent) { Group propertiesGroup = new Group(parent, SWT.NONE); propertiesGroup.setText(MetamodelMessages.StudentsTPropertiesEditionPart_PropertiesGroupLabel); GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL); propertiesGroupData.horizontalSpan = 3; propertiesGroup.setLayoutData(propertiesGroupData); GridLayout propertiesGroupLayout = new GridLayout(); propertiesGroupLayout.numColumns = 3; propertiesGroup.setLayout(propertiesGroupLayout); return propertiesGroup; }
/** * */ protected Composite createPropertiesGroup(Composite parent) { Group propertiesGroup = new Group(parent, SWT.NONE); propertiesGroup.setText(MetamodelMessages.BetaPropertiesEditionPart_PropertiesGroupLabel); GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL); propertiesGroupData.horizontalSpan = 3; propertiesGroup.setLayoutData(propertiesGroupData); GridLayout propertiesGroupLayout = new GridLayout(); propertiesGroupLayout.numColumns = 3; propertiesGroup.setLayout(propertiesGroupLayout); return propertiesGroup; }
/** * */ protected Composite createPropertiesGroup(Composite parent) { Group propertiesGroup = new Group(parent, SWT.NONE); propertiesGroup.setText(MetamodelMessages.OutputPropertiesEditionPart_PropertiesGroupLabel); GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL); propertiesGroupData.horizontalSpan = 3; propertiesGroup.setLayoutData(propertiesGroupData); GridLayout propertiesGroupLayout = new GridLayout(); propertiesGroupLayout.numColumns = 3; propertiesGroup.setLayout(propertiesGroupLayout); return propertiesGroup; }
/** * */ protected Composite createPropertiesGroup(Composite parent) { Group propertiesGroup = new Group(parent, SWT.NONE); propertiesGroup.setText(MetamodelMessages.SupplierPropertiesEditionPart_PropertiesGroupLabel); GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL); propertiesGroupData.horizontalSpan = 3; propertiesGroup.setLayoutData(propertiesGroupData); GridLayout propertiesGroupLayout = new GridLayout(); propertiesGroupLayout.numColumns = 3; propertiesGroup.setLayout(propertiesGroupLayout); return propertiesGroup; }
/** * */ protected Composite createPropertiesGroup(Composite parent) { Group propertiesGroup = new Group(parent, SWT.NONE); propertiesGroup.setText(MetamodelMessages.ConveyorBeltPropertiesEditionPart_PropertiesGroupLabel); GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL); propertiesGroupData.horizontalSpan = 3; propertiesGroup.setLayoutData(propertiesGroupData); GridLayout propertiesGroupLayout = new GridLayout(); propertiesGroupLayout.numColumns = 3; propertiesGroup.setLayout(propertiesGroupLayout); return propertiesGroup; }
public void createControl(Composite parent) { super.createControl(parent); Composite composite = (Composite) getControl(); Group group = new Group(composite, SWT.NONE); GridLayout layout = new GridLayout(); layout.numColumns = 2; group.setLayout(layout); group.setText("设置"); group.setLayoutData(new GridData(GridData.GRAB_HORIZONTAL | GridData.HORIZONTAL_ALIGN_FILL)); Label label = new Label(group, SWT.NULL); label.setText("数据库方言:"); final Combo combo = new Combo(group, SWT.READ_ONLY); GridData gd = new GridData(GridData.FILL_HORIZONTAL); combo.setLayoutData(gd); DbType[] values = DbType.values(); for (DbType type : values) { combo.add(type.name()); } combo.select(0); currentDbType = combo.getText(); setFileName("NewFile" + DEFAULT_EXTENSION); combo.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { currentDbType = combo.getText(); } }); setPageComplete(validatePage()); }
/** * */ protected Composite createPropertiesGroup(Composite parent) { Group propertiesGroup = new Group(parent, SWT.NONE); propertiesGroup.setText(LibraryMessages.OtherPropertiesEditionPart_PropertiesGroupLabel); GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL); propertiesGroupData.horizontalSpan = 3; propertiesGroup.setLayoutData(propertiesGroupData); GridLayout propertiesGroupLayout = new GridLayout(); propertiesGroupLayout.numColumns = 3; propertiesGroup.setLayout(propertiesGroupLayout); return propertiesGroup; }
/** * */ protected Composite createPropertiesGroup(Composite parent) { Group propertiesGroup = new Group(parent, SWT.NONE); propertiesGroup.setText(MetamodelMessages.FDistributionPropertiesEditionPart_PropertiesGroupLabel); GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL); propertiesGroupData.horizontalSpan = 3; propertiesGroup.setLayoutData(propertiesGroupData); GridLayout propertiesGroupLayout = new GridLayout(); propertiesGroupLayout.numColumns = 3; propertiesGroup.setLayout(propertiesGroupLayout); return propertiesGroup; }
/** * */ protected Composite createPropertiesGroup(Composite parent) { Group propertiesGroup = new Group(parent, SWT.NONE); propertiesGroup.setText(MetamodelMessages.ProcessOutputFlowPropertiesEditionPart_PropertiesGroupLabel); GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL); propertiesGroupData.horizontalSpan = 3; propertiesGroup.setLayoutData(propertiesGroupData); GridLayout propertiesGroupLayout = new GridLayout(); propertiesGroupLayout.numColumns = 3; propertiesGroup.setLayout(propertiesGroupLayout); return propertiesGroup; }
/** * */ protected Composite createPropertiesGroup(Composite parent) { Group propertiesGroup = new Group(parent, SWT.NONE); propertiesGroup.setText(MetamodelMessages.PoissonPropertiesEditionPart_PropertiesGroupLabel); GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL); propertiesGroupData.horizontalSpan = 3; propertiesGroup.setLayoutData(propertiesGroupData); GridLayout propertiesGroupLayout = new GridLayout(); propertiesGroupLayout.numColumns = 3; propertiesGroup.setLayout(propertiesGroupLayout); return propertiesGroup; }
/** * */ protected Composite createPropertiesGroup(Composite parent) { Group propertiesGroup = new Group(parent, SWT.NONE); propertiesGroup.setText(MetamodelMessages.ChiSquarePropertiesEditionPart_PropertiesGroupLabel); GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL); propertiesGroupData.horizontalSpan = 3; propertiesGroup.setLayoutData(propertiesGroupData); GridLayout propertiesGroupLayout = new GridLayout(); propertiesGroupLayout.numColumns = 3; propertiesGroup.setLayout(propertiesGroupLayout); return propertiesGroup; }
/** * */ protected Composite createPropertiesGroup(Composite parent) { Group propertiesGroup = new Group(parent, SWT.NONE); propertiesGroup.setText(SrmMessages.TimingPropertiesEditionPart_PropertiesGroupLabel); GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL); propertiesGroupData.horizontalSpan = 3; propertiesGroup.setLayoutData(propertiesGroupData); GridLayout propertiesGroupLayout = new GridLayout(); propertiesGroupLayout.numColumns = 3; propertiesGroup.setLayout(propertiesGroupLayout); return propertiesGroup; }
/** * */ protected Composite createPropertiesGroup(Composite parent) { Group propertiesGroup = new Group(parent, SWT.NONE); propertiesGroup.setText(MetamodelMessages.ModelPropertiesEditionPart_PropertiesGroupLabel); GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL); propertiesGroupData.horizontalSpan = 3; propertiesGroup.setLayoutData(propertiesGroupData); GridLayout propertiesGroupLayout = new GridLayout(); propertiesGroupLayout.numColumns = 3; propertiesGroup.setLayout(propertiesGroupLayout); return propertiesGroup; }
/** * */ protected Composite createPropertiesGroup(Composite parent) { Group propertiesGroup = new Group(parent, SWT.NONE); propertiesGroup.setText(MetamodelMessages.OrderOnStockThresholdPropertiesEditionPart_PropertiesGroupLabel); GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL); propertiesGroupData.horizontalSpan = 3; propertiesGroup.setLayoutData(propertiesGroupData); GridLayout propertiesGroupLayout = new GridLayout(); propertiesGroupLayout.numColumns = 3; propertiesGroup.setLayout(propertiesGroupLayout); return propertiesGroup; }
/** * */ protected Composite createPropertiesGroup(Composite parent) { Group propertiesGroup = new Group(parent, SWT.NONE); propertiesGroup.setText(MetamodelMessages.BatchProcessPropertiesEditionPart_PropertiesGroupLabel); GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL); propertiesGroupData.horizontalSpan = 3; propertiesGroup.setLayoutData(propertiesGroupData); GridLayout propertiesGroupLayout = new GridLayout(); propertiesGroupLayout.numColumns = 3; propertiesGroup.setLayout(propertiesGroupLayout); return propertiesGroup; }
/** * */ protected Composite createPropertiesGroup(Composite parent) { Group propertiesGroup = new Group(parent, SWT.NONE); propertiesGroup.setText(MetamodelMessages.GaussianPropertiesEditionPart_PropertiesGroupLabel); GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL); propertiesGroupData.horizontalSpan = 3; propertiesGroup.setLayoutData(propertiesGroupData); GridLayout propertiesGroupLayout = new GridLayout(); propertiesGroupLayout.numColumns = 3; propertiesGroup.setLayout(propertiesGroupLayout); return propertiesGroup; }
/** * */ protected Composite createPropertiesGroup(Composite parent) { Group propertiesGroup = new Group(parent, SWT.NONE); propertiesGroup.setText(MetamodelMessages.ParetoPropertiesEditionPart_PropertiesGroupLabel); GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL); propertiesGroupData.horizontalSpan = 3; propertiesGroup.setLayoutData(propertiesGroupData); GridLayout propertiesGroupLayout = new GridLayout(); propertiesGroupLayout.numColumns = 3; propertiesGroup.setLayout(propertiesGroupLayout); return propertiesGroup; }
/** * */ protected Composite createPropertiesGroup(Composite parent) { Group propertiesGroup = new Group(parent, SWT.NONE); propertiesGroup.setText(MetamodelMessages.ScalarPropertiesEditionPart_PropertiesGroupLabel); GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL); propertiesGroupData.horizontalSpan = 3; propertiesGroup.setLayoutData(propertiesGroupData); GridLayout propertiesGroupLayout = new GridLayout(); propertiesGroupLayout.numColumns = 3; propertiesGroup.setLayout(propertiesGroupLayout); return propertiesGroup; }
/** * */ protected Composite createPropertiesGroup(Composite parent) { Group propertiesGroup = new Group(parent, SWT.NONE); propertiesGroup.setText(MetamodelMessages.StorageOutputFlowPropertiesEditionPart_PropertiesGroupLabel); GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL); propertiesGroupData.horizontalSpan = 3; propertiesGroup.setLayoutData(propertiesGroupData); GridLayout propertiesGroupLayout = new GridLayout(); propertiesGroupLayout.numColumns = 3; propertiesGroup.setLayout(propertiesGroupLayout); return propertiesGroup; }
/** * */ protected Composite createPropertiesGroup(Composite parent) { Group propertiesGroup = new Group(parent, SWT.NONE); propertiesGroup.setText(MetamodelMessages.GammaPropertiesEditionPart_PropertiesGroupLabel); GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL); propertiesGroupData.horizontalSpan = 3; propertiesGroup.setLayoutData(propertiesGroupData); GridLayout propertiesGroupLayout = new GridLayout(); propertiesGroupLayout.numColumns = 3; propertiesGroup.setLayout(propertiesGroupLayout); return propertiesGroup; }
/** * */ protected Composite createPropertiesGroup(Composite parent) { Group propertiesGroup = new Group(parent, SWT.NONE); propertiesGroup.setText(MetamodelMessages.UniformPropertiesEditionPart_PropertiesGroupLabel); GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL); propertiesGroupData.horizontalSpan = 3; propertiesGroup.setLayoutData(propertiesGroupData); GridLayout propertiesGroupLayout = new GridLayout(); propertiesGroupLayout.numColumns = 3; propertiesGroup.setLayout(propertiesGroupLayout); return propertiesGroup; }
/** * */ protected Composite createPropertiesGroup(Composite parent) { Group propertiesGroup = new Group(parent, SWT.NONE); propertiesGroup.setText(SrmMessages.OtherPropertiesEditionPart_PropertiesGroupLabel); GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL); propertiesGroupData.horizontalSpan = 3; propertiesGroup.setLayoutData(propertiesGroupData); GridLayout propertiesGroupLayout = new GridLayout(); propertiesGroupLayout.numColumns = 3; propertiesGroup.setLayout(propertiesGroupLayout); return propertiesGroup; }
/** * */ protected Composite createPropertiesGroup(Composite parent) { Group propertiesGroup = new Group(parent, SWT.NONE); propertiesGroup.setText(MetamodelMessages.BinomialPropertiesEditionPart_PropertiesGroupLabel); GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL); propertiesGroupData.horizontalSpan = 3; propertiesGroup.setLayoutData(propertiesGroupData); GridLayout propertiesGroupLayout = new GridLayout(); propertiesGroupLayout.numColumns = 3; propertiesGroup.setLayout(propertiesGroupLayout); return propertiesGroup; }
/** * */ protected Composite createPropertiesGroup(Composite parent) { Group propertiesGroup = new Group(parent, SWT.NONE); propertiesGroup.setText(MetamodelMessages.CauchyPropertiesEditionPart_PropertiesGroupLabel); GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL); propertiesGroupData.horizontalSpan = 3; propertiesGroup.setLayoutData(propertiesGroupData); GridLayout propertiesGroupLayout = new GridLayout(); propertiesGroupLayout.numColumns = 3; propertiesGroup.setLayout(propertiesGroupLayout); return propertiesGroup; }