});
} });
			public Control createControl(Composite parent) {				Display display= parent.getDisplay();				fBackgroundColor= display.getSystemColor(SWT.COLOR_LIST_BACKGROUND);				fForegroundColor= display.getSystemColor(SWT.COLOR_LIST_FOREGROUND);				fSeparatorColor= new Color(display, 152, 170, 203);				JFaceResources.getFontRegistry().addListener(this);				fScrolledComposite= new ScrolledComposite(parent, SWT.H_SCROLL | SWT.V_SCROLL);				fScrolledComposite.setAlwaysShowScrollBars(false);				fScrolledComposite.setExpandHorizontal(true);				fScrolledComposite.setExpandVertical(true);				fScrolledComposite.addDisposeListener(new DisposeListener() {					public void widgetDisposed(DisposeEvent e) {						JFaceResources.getFontRegistry().removeListener(SourceAttachmentForm.this);						fScrolledComposite= null;						fSeparatorColor.dispose();						fSeparatorColor= null;						fBannerLabels.clear();						fHeaderLabels.clear();						if (fFont != null) {							fFont.dispose();							fFont= null;						}					}				});				fScrolledComposite.addControlListener(new ControlListener() {					public void controlMoved(ControlEvent e) {}					public void controlResized(ControlEvent e) {						Rectangle clientArea = fScrolledComposite.getClientArea();						ScrollBar verticalBar= fScrolledComposite.getVerticalBar();						verticalBar.setIncrement(VERTICAL_SCROLL_INCREMENT);						verticalBar.setPageIncrement(clientArea.height - verticalBar.getIncrement());						ScrollBar horizontalBar= fScrolledComposite.getHorizontalBar();						horizontalBar.setIncrement(HORIZONTAL_SCROLL_INCREMENT);						horizontalBar.setPageIncrement(clientArea.width - horizontalBar.getIncrement());					}				});				Composite composite= createComposite(fScrolledComposite);				composite.setLayout(new GridLayout());				createTitleLabel(composite, JavaEditorMessages.SourceAttachmentForm_title);				createLabel(composite, null);				createLabel(composite, null);				createHeadingLabel(composite, JavaEditorMessages.SourceAttachmentForm_heading);				Composite separator= createCompositeSeparator(composite);				GridData data= new GridData(GridData.FILL_HORIZONTAL);				data.heightHint= 2;				separator.setLayoutData(data);				try {					IPackageFragmentRoot root= getPackageFragmentRoot(fFile);					if (root != null) {						createSourceAttachmentControls(composite, root);					}				} catch (JavaModelException e) {					String title= JavaEditorMessages.SourceAttachmentForm_error_title;					String message= JavaEditorMessages.SourceAttachmentForm_error_message;					ExceptionHandler.handle(e, fScrolledComposite.getShell(), title, message);				}				separator= createCompositeSeparator(composite);				data= new GridData(GridData.FILL_HORIZONTAL);				data.heightHint= 2;				separator.setLayoutData(data);				StyledText styledText= createCodeView(composite);				data= new GridData(GridData.FILL_BOTH);				styledText.setLayoutData(data);				updateCodeView(styledText, fFile);				fScrolledComposite.setContent(composite);				fScrolledComposite.setMinSize(composite.computeSize(SWT.DEFAULT, SWT.DEFAULT));				return fScrolledComposite;			}