X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/template/contentassist/TemplateInformationControlCreator.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/template/contentassist/TemplateInformationControlCreator.java index 2a10036..522ac13 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/template/contentassist/TemplateInformationControlCreator.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/template/contentassist/TemplateInformationControlCreator.java @@ -10,32 +10,31 @@ *******************************************************************************/ package net.sourceforge.phpdt.internal.ui.text.template.contentassist; -import org.eclipse.swt.events.DisposeEvent; -import org.eclipse.swt.events.DisposeListener; -import org.eclipse.swt.widgets.Shell; +import net.sourceforge.phpdt.internal.ui.text.java.hover.SourceViewerInformationControl; import org.eclipse.jface.text.IInformationControl; import org.eclipse.jface.text.IInformationControlCreator; import org.eclipse.jface.text.IInformationControlCreatorExtension; +import org.eclipse.swt.events.DisposeEvent; +import org.eclipse.swt.events.DisposeListener; +import org.eclipse.swt.widgets.Shell; -import net.sourceforge.phpdt.internal.ui.text.java.hover.SourceViewerInformationControl; - +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;