// 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 javax.annotation.PostConstruct;
import javax.inject.Inject;
import org.eclipse.e4.core.services.nls.ILocaleChangeService;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.KeyAdapter;
import org.eclipse.swt.events.KeyEvent;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Text;
import org.fipro.e4.translation.registry.OsgiMessageRegistry;
package org.fipro.e4.translation.control;



/**
 * Item that is added as a ToolControl to the TrimBar of the
 * Window. Shows an input field which allows to enter a
 * locale String and a Button to send the action to update
 * the Locale.
 */
public class LocaleChangeItem {

	@Inject
	ILocaleChangeService lcs;

	@PostConstruct
// 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/control/LocaleChangeItem.java
import javax.annotation.PostConstruct;
import javax.inject.Inject;
import org.eclipse.e4.core.services.nls.ILocaleChangeService;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.KeyAdapter;
import org.eclipse.swt.events.KeyEvent;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Text;
import org.fipro.e4.translation.registry.OsgiMessageRegistry;

package org.fipro.e4.translation.control;



/**
 * Item that is added as a ToolControl to the TrimBar of the
 * Window. Shows an input field which allows to enter a
 * locale String and a Button to send the action to update
 * the Locale.
 */
public class LocaleChangeItem {

	@Inject
	ILocaleChangeService lcs;

	@PostConstruct
	public void postConstruct(Composite parent, OsgiMessageRegistry registry) {