1) Moved net.sourceforge.phpeclipse.ui\src\net\sourceforge\phpdt back to net.sourcefo...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / ui / text / template / contentassist / TemplateInformationControlCreator.java
index 2a10036..522ac13 100644 (file)
  *******************************************************************************/
 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;