public String getApplicationIdentifier() { // Return the app if defined in system properties String application = ConfigurationActivator.getBundleContext().getProperty(ECLIPSE_APPLICATION); if (application != null) return application; // Otherwise, try to get it from the primary feature (aka product) String feature = getPrimaryFeatureIdentifier(); // lookup application for feature (specified or defaulted) if (feature != null) { IFeatureEntry fe = findConfiguredFeatureEntry(feature); if (fe != null) { if (fe.getFeatureApplication() != null) return fe.getFeatureApplication(); } } // return hardcoded default if we failed return DEFAULT_FEATURE_APPLICATION; }