#4018 let the right side of the translation wizard empty, fix the save problem for...
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / ui / element / TranslatableRepresentationElement.java
index 6a2abe64862572a78311615e0dde5216e55cfdcc..7b78f75f9224d95c4bf88825b7c51fd7805f9132 100644 (file)
@@ -38,8 +38,8 @@ public class TranslatableRepresentationElement extends RepresentationElement {
      * @param isTranslationWizard
      */
     public TranslatableRepresentationElement(CdmFormFactory formFactory, ICdmFormElement formElement,
-            Representation representation, TermBase term, Integer textHeight, int style) {
-        super(formFactory, formElement, representation, term, textHeight, style);
+            Representation representation, TermBase term, Integer textHeight, int style, boolean fill) {
+        super(formFactory, formElement, representation, term, textHeight, style, fill);
 
     }
 
@@ -52,8 +52,8 @@ public class TranslatableRepresentationElement extends RepresentationElement {
      * @param style
      */
     public TranslatableRepresentationElement(CdmFormFactory cdmFormFactory, ICdmFormElement parentElement,
-            TermBase term, int textHeight, int style) {
-        super(cdmFormFactory, parentElement, term, textHeight, style);
+            TermBase term, int textHeight, int style, boolean fill) {
+        super(cdmFormFactory, parentElement, term, textHeight, style, fill);
     }
 
 
@@ -86,6 +86,8 @@ public class TranslatableRepresentationElement extends RepresentationElement {
                 combo_language.setTerms(getLanguages());
                 updateControls();
             }
+            
+            firePropertyChangeEvent( e);
 
         }
     }
@@ -102,8 +104,8 @@ public class TranslatableRepresentationElement extends RepresentationElement {
 
     @Override
     public void setTerm(
-            TermBase term) {
-        super.setTerm(term);
+            TermBase term, boolean update) {
+        super.setTerm(term, update);
         if (PreferencesUtil.isMultilanguageTextEditingCapability()) {
                button.setEnabled(false);
         }