Community
Participate
Working Groups
attribute = taskData.getAttribute(RepositoryTaskAttribute.SUMMARY);
}
summaryTextViewer = addTextEditor(repository, summaryComposite, attribute.getValue(), true, SWT.FLAT);
summaryTextViewer = addTextEditor(repository, summaryComposite, attribute.getValue(), true, SWT.FLAT | SWT.SINGLE);
summaryTextViewer.setEditable(true);
summaryText = summaryTextViewer.getTextWidget();
GridDataFactory.fillDefaults().grab(true, false).hint(DESCRIPTION_WIDTH, SUMMARY_HEIGHT).applyTo(
summaryText.setIndent(2);
summaryTextViewer.getControl());
GridDataFactory.fillDefaults().grab(true, false).applyTo(summaryTextViewer.getControl());
if (hasChanged(attribute)) {
summaryTextViewer.getTextWidget().setBackground(colorIncoming);
support.install(EditorsUI.getPreferenceStore());
commentViewer.getTextWidget().setIndent(2);
commentViewer.getTextWidget().addDisposeListener(new DisposeListener() {
public void widgetDisposed(DisposeEvent e) {
support.uninstall();