import org.eclipse.swt.events.DisposeListener;
import org.eclipse.swt.widgets.Shell;
+final public class TemplateInformationControlCreator implements
+ IInformationControlCreator, IInformationControlCreatorExtension {
-final public class TemplateInformationControlCreator implements IInformationControlCreator, IInformationControlCreatorExtension {
-
private SourceViewerInformationControl fControl;
-
- public TemplateInformationControlCreator() {
+
+ public TemplateInformationControlCreator() {
}
-
+
/*
* @see org.eclipse.jface.text.IInformationControlCreator#createInformationControl(org.eclipse.swt.widgets.Shell)
*/
public IInformationControl createInformationControl(Shell parent) {
- fControl= new SourceViewerInformationControl(parent);
+ fControl = new SourceViewerInformationControl(parent);
fControl.addDisposeListener(new DisposeListener() {
public void widgetDisposed(DisposeEvent e) {
- fControl= null;
+ fControl = null;
}
});
return fControl;