IExtensionRegistry registry = getExtensionRegistry(); IExtension applicationExtension = registry.getExtension(PI_RUNTIME, PT_APPLICATIONS, applicationId); if (applicationExtension == null) throw new RuntimeException(NLS.bind(Messages.application_notFound, applicationId, getAvailableAppsMsg(registry))); return applicationExtension;
return extensionRegistry.getExtension(PI_RUNTIME, PT_APPLICATIONS, applicationId);
	IExtension getAppExtension(String applicationId) {		IExtensionRegistry registry = getExtensionRegistry();		IExtension applicationExtension = registry.getExtension(PI_RUNTIME, PT_APPLICATIONS, applicationId);		if (applicationExtension == null)			throw new RuntimeException(NLS.bind(Messages.application_notFound, applicationId, getAvailableAppsMsg(registry)));		return applicationExtension;	}