}
public static IWorkbenchPage getActivePage() {
- return getDefault().getActiveWorkbenchWindow().getActivePage();
+ return PHPDebugUiPlugin.getActiveWorkbenchWindow().getActivePage();
}
public static PHPDebugUiPlugin getDefault() {
}
protected void log(Throwable t) {
- PHPDebugUiPlugin.getDefault().log(t);
+ PHPDebugUiPlugin.log(t);
}
public Image getImage() {
}
protected void log(Throwable t) {
- PHPDebugUiPlugin.getDefault().log(t);
+ PHPDebugUiPlugin.log(t);
}
public boolean canSave() {
}
protected void log(Throwable t) {
- PHPDebugUiPlugin.getDefault().log(t);
+ PHPDebugUiPlugin.log(t);
}
public Image getImage() {
}
protected void log(String message) {
- PHPDebugUiPlugin.getDefault().log(new Status(Status.INFO, PHPDebugUiPlugin.PLUGIN_ID, Status.INFO, message, null));
+ PHPDebugUiPlugin.log(new Status(Status.INFO, PHPDebugUiPlugin.PLUGIN_ID, Status.INFO, message, null));
}
protected void log(Throwable t) {
- PHPDebugUiPlugin.getDefault().log(t);
+ PHPDebugUiPlugin.log(t);
}
}
throw new RuntimeException("Unable to execute interpreter: " + commandLine + workingDirectory);
}
- IProcess process = DebugPlugin.getDefault().newProcess(launch, nativePHPProcess, renderLabel(configuration));
+ IProcess process = DebugPlugin.newProcess(launch, nativePHPProcess, renderLabel(configuration));
process.setAttribute(PHPLaunchingPlugin.PLUGIN_ID + ".launcher.cmdline", commandLine);
return process ;
}
try {
projectName = configuration.getAttribute(PHPLaunchConfigurationAttribute.PROJECT_NAME, "");
} catch(CoreException e) {
- PHPLaunchingPlugin.getDefault().log(e);
+ PHPLaunchingPlugin.log(e);
}
IProject project = PHPLaunchingPlugin.getWorkspace().getRoot().getProject(projectName);
reader.setContentHandler(getRuntimeConfigurationContentHandler());
reader.parse(new InputSource(getRuntimeConfigurationReader()));
} catch(Exception e) {
- PHPLaunchingPlugin.getDefault().log(e);
+ PHPLaunchingPlugin.log(e);
}
}