EntitySelectionElement : removed " : " suffix to label string when label string is empty
public void createControls(ICdmFormElement element, int style) {
selection_user = formFactory
.createSelectionElement(User.class,
public void createControls(ICdmFormElement element, int style) {
selection_user = formFactory
.createSelectionElement(User.class,
- getConversationHolder(), element, "Member", entity,
+ getConversationHolder(), element, "", entity,
EntitySelectionElement.EDITABLE, style);
}
EntitySelectionElement.EDITABLE, style);
}
this.isDeletable = (mode & DELETABLE) == DELETABLE;
boolean isSelectable = (mode & SELECTABLE) == SELECTABLE;
this.isDeletable = (mode & DELETABLE) == DELETABLE;
boolean isSelectable = (mode & SELECTABLE) == SELECTABLE;
- this.labelString = labelString;
+ this.labelString = (labelString == null || labelString.equals("")) ? "" : labelString + " : ";
this.conversation = conversation;
this.conversation = conversation;
}
private void createControls(Composite parent, int style) {
}
private void createControls(Composite parent, int style) {
-
- label = formFactory.createLabel(getLayoutComposite(), labelString + " : ",
+
+ label = formFactory.createLabel(getLayoutComposite(), labelString,
SWT.NULL);
addControl(label);
SWT.NULL);
addControl(label);