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


import javax.annotation.PostConstruct;
import javax.inject.Inject;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;
import org.fipro.e4.translation.registry.MessageRegistry;
import org.fipro.e4.translation.registry.NamedMessageRegistry;
package org.fipro.e4.translation.parts;



/**
 * Example showing the usage of the new message extension by using 
 * a ResourceBundle that is named and located like the messages class.
 * <p>
 * This example also shows how to implement the <i>Eclipse translation 
 * pattern</i> when creating the UI in the method annotated with
 * <code>@PostConstruct</code>
 */
public class NamedExample {
	
	@Inject
	NamedMessageRegistry registry;

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


// Path: org.fipro.e4.translation/src/org/fipro/e4/translation/parts/NamedExample.java
import javax.annotation.PostConstruct;
import javax.inject.Inject;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;
import org.fipro.e4.translation.registry.MessageRegistry;
import org.fipro.e4.translation.registry.NamedMessageRegistry;

package org.fipro.e4.translation.parts;



/**
 * Example showing the usage of the new message extension by using 
 * a ResourceBundle that is named and located like the messages class.
 * <p>
 * This example also shows how to implement the <i>Eclipse translation 
 * pattern</i> when creating the UI in the method annotated with
 * <code>@PostConstruct</code>
 */
public class NamedExample {
	
	@Inject
	NamedMessageRegistry registry;

	@Inject
	MessageRegistry mRegistry;