/** * Sets the background of the section. * * @param bg * the new background */ @Override public void setBackground(Color bg) { super.setBackground(bg); if (descriptionControl != null && (getExpansionStyle() & DESCRIPTION) != 0) descriptionControl.setBackground(bg); }
/** * Sets the background of the section. * * @param bg * the new background */ @Override public void setBackground(Color bg) { super.setBackground(bg); if (descriptionControl != null && (getExpansionStyle() & DESCRIPTION) != 0) descriptionControl.setBackground(bg); }
private void setBodyColor(Color color) { mainItemComposite.setBackground(color); setBackgroundColor(bodyWrapperComposite, color); setBackgroundColor(buttonComposite, color); setBackgroundColor(completionComposite, color); }
ExpandableComposite.TWISTIE); recentWorkspacesForm.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); expandableComposite.setBackground(composite.getBackground()); expandableComposite.setText(IDEWorkbenchMessages.ChooseWorkspaceDialog_recentWorkspaces); expandableComposite.setExpanded(launchData.isShowRecentWorkspaces());
ExpandableComposite.TWISTIE); expandable.setText(area.getTitle()); expandable.setBackground(scrolledForm.getBackground()); expandable.setLayout(new GridLayout()); expandable.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, area.grabExcessVerticalSpace()));
expandable .setText(IDEWorkbenchMessages.ChooseWorkspaceWithSettingsDialog_SettingsGroupName); expandable.setBackground(workArea.getBackground()); expandable.setLayout(new GridLayout()); expandable.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
| expansionStyle); section.titleBarTextMarginWidth = 0; section.setBackground(null); section.setFont(JFaceResources.getFontRegistry().getBold(JFaceResources.DIALOG_FONT)); section.addExpansionListener(new ExpansionAdapter() {
mainItemComposite.setBackground(itemColor); mainItemComposite.setLayoutData(new TableWrapData(TableWrapData.FILL_GRAB)); String title = item.getTitle();
| ExpandableComposite.CLIENT_INDENT | ExpandableComposite.COMPACT | ExpandableComposite.EXPANDED); section.clientVerticalSpacing = 0; section.setBackground(parent.getBackground()); section.setFont(JFaceResources.getFontRegistry().getBold(JFaceResources.DIALOG_FONT)); section.addExpansionListener(new ExpansionAdapter() {