Package org.jahia.ajax.gwt.client.widget.definition

Examples of org.jahia.ajax.gwt.client.widget.definition.LangPropertiesEditor


        setMaximizable(true);
        setHeading(Messages.get("cm_translate " + node.getName(), "Translate " + node.getName()));
        LayoutContainer panel = new LayoutContainer();
        panel.setLayout(new BorderLayout());

        sourceLangPropertiesEditor = new LangPropertiesEditor(node, Arrays.asList(GWTJahiaItemDefinition.CONTENT), false, srcLanguage);
        targetLangPropertiesEditor = new LangPropertiesEditor(node, Arrays.asList(GWTJahiaItemDefinition.CONTENT), true, destLanguage);

        Button widget = new Button(Messages.get("label.translate.copy", "Copy to other language"));
        sourceLangPropertiesEditor.getTopBar().add(widget);
        widget.addSelectionListener(new SelectionListener<ButtonEvent>() {
            @Override
View Full Code Here

TOP

Related Classes of org.jahia.ajax.gwt.client.widget.definition.LangPropertiesEditor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.