I use eclipse wdt, xulrunner 3.0, vaadin 7 on win 8 (turkish language). I can make custom design but generated code is wrong. All “I” char become “İ” . If i replace to char i can use design but not use visual design again. How can i resolve this problem ?
package com.example.obim_lot_dnm;
import com.vaadin.annotations.AutoGenerated;
import com.vaadin.ui.AbsoluteLayout;
import com.vaadin.ui.ComboBox;
import com.vaadin.ui.CustomComponent;
import com.vaadin.ui.Label;
import com.vaadin.ui.NativeButton;
public class dnm extends CustomComponent {
/*- VaadinEditorProperties={"grid":"RegularGrid,20","showGrid":true,"snapToGrid":true,"snapToObject":true,"movingGuides":false,"snappingDistance":10} */
@AutoGenerated
private AbsoluteLayout mainLayout;
@AutoGenerated
private NativeButton nativeButton_1;
@AutoGenerated
private Label label_1;
@AutoGenerated
private ComboBox comboBox_1;
/**
* The constructor should first build the main layout, set the
* composition root and then do any custom initialization.
*
* The constructor will not be automatically regenerated by the
* visual editor.
*/
public dnm() {
buildMainLayout();
setCompositionRoot(mainLayout);
// TODO add user code here
}
@AutoGenerated
private AbsoluteLayout buildMainLayout() {
// common part: create layout
mainLayout = new AbsoluteLayout();
mainLayout.setİmmediate(false);// wrong line
mainLayout.setWidth(“100%”);
mainLayout.setHeight(“100%”);
// top-level component properties
setWidth("100.0%");
setHeight("100.0%");
// comboBox_1
comboBox_1 = new ComboBox();
comboBox_1.setİmmediate(false);// wrong line
comboBox_1.setWidth(“-1px”);
comboBox_1.setHeight(“-1px”);
comboBox_1.setİnvalidAllowed(false);// wrong line
mainLayout.addComponent(comboBox_1, “top:76.0px;left:60.0px;”);
// label_1
label_1 = new Label();
label_1.setİmmediate(false);// wrong line
label_1.setWidth(“-1px”);
label_1.setHeight(“-1px”);
label_1.setValue(“Label”);
mainLayout.addComponent(label_1, “top:42.0px;left:60.0px;”);
// nativeButton_1
nativeButton_1 = new NativeButton();
nativeButton_1.setCaption("NativeButton");
nativeButton_1.setİmmediate(false); // wrong line
nativeButton_1.setWidth(“160px”);
nativeButton_1.setHeight(“58px”);
nativeButton_1.setİnvalidAllowed(false);
mainLayout.addComponent(nativeButton_1, “top:122.0px;left:60.0px;”);
return mainLayout;
}
}
Thank you.