// Path: org.fipro.e4.translation/src/org/fipro/e4/translation/registry/OsgiMessageRegistry.java
// @Creatable
// public class OsgiMessageRegistry extends BaseMessageRegistry<OsgiMessages> {
// 
// 	@Override
// 	@Inject
// 	public void updateMessages(@Translation OsgiMessages messages) {
// 		super.updateMessages(messages);
// 	}
// }


import java.util.Locale;
import java.util.ResourceBundle;
import javax.annotation.PostConstruct;
import javax.inject.Inject;
import javax.inject.Named;
import org.eclipse.e4.core.di.annotations.Optional;
import org.eclipse.e4.core.services.nls.ILocaleChangeService;
import org.eclipse.e4.core.services.translation.ResourceBundleProvider;
import org.eclipse.e4.core.services.translation.TranslationService;
import org.eclipse.e4.ui.di.UIEventTopic;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;
import org.fipro.e4.translation.registry.OsgiMessageRegistry;
import org.osgi.framework.Bundle;
import org.osgi.framework.FrameworkUtil;
package org.fipro.e4.translation.parts;




/**
 * Example showing the usage of the new message extension by using 
 * OSGi ResourceBundles configured in the MANIFEST.MF
 */
public class OsgiExample {

	@Inject
// Path: org.fipro.e4.translation/src/org/fipro/e4/translation/registry/OsgiMessageRegistry.java
// @Creatable
// public class OsgiMessageRegistry extends BaseMessageRegistry<OsgiMessages> {
// 
// 	@Override
// 	@Inject
// 	public void updateMessages(@Translation OsgiMessages messages) {
// 		super.updateMessages(messages);
// 	}
// }


// Path: org.fipro.e4.translation/src/org/fipro/e4/translation/parts/OsgiExample.java
import java.util.Locale;
import java.util.ResourceBundle;
import javax.annotation.PostConstruct;
import javax.inject.Inject;
import javax.inject.Named;
import org.eclipse.e4.core.di.annotations.Optional;
import org.eclipse.e4.core.services.nls.ILocaleChangeService;
import org.eclipse.e4.core.services.translation.ResourceBundleProvider;
import org.eclipse.e4.core.services.translation.TranslationService;
import org.eclipse.e4.ui.di.UIEventTopic;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;
import org.fipro.e4.translation.registry.OsgiMessageRegistry;
import org.osgi.framework.Bundle;
import org.osgi.framework.FrameworkUtil;

package org.fipro.e4.translation.parts;




/**
 * Example showing the usage of the new message extension by using 
 * OSGi ResourceBundles configured in the MANIFEST.MF
 */
public class OsgiExample {

	@Inject
	OsgiMessageRegistry registry;