1) Reintroduced PHPPerspectiveFactory (was lost with refactoring).
[phpeclipse.git] / net.sourceforge.phpeclipse.externaltools / src / net / sourceforge / phpdt / externaltools / variable / LocalhostExpander.java
index 857168b..b4883d6 100644 (file)
@@ -12,9 +12,11 @@ import org.eclipse.jface.preference.IPreferenceStore;
  */
 public class LocalhostExpander implements IVariableTextExpander {
 
-  public String getText(String varTag, String varValue, ExpandVariableContext context) {
-    final IPreferenceStore webUIStore = WebUI.getDefault().getPreferenceStore();
-    return webUIStore.getString(WebUI.PHP_LOCALHOST_PREF);
-  }
+       public String getText(String varTag, String varValue,
+                       ExpandVariableContext context) {
+               final IPreferenceStore webUIStore = WebUI.getDefault()
+                               .getPreferenceStore();
+               return webUIStore.getString(WebUI.PHP_LOCALHOST_PREF);
+       }
 
 }