this.model = model;
ToolBar bar = new ToolBar();
bar.add(new FillToolItem());
charCount = new Status(
GWT.<StatusAppearance> create(BlueBoxStatusAppearance.class));
charCount.setWidth(150);
if (model.getContent() == null)
charCount.setText(0 + " 个字符");
else
charCount.setText(model.getContent().length() + " 个字符");
bar.add(charCount);
bar.add(new LabelToolItem(" "));
status = new Status(
GWT.<StatusAppearance> create(BlueBoxStatusAppearance.class));
status.setText("已保存");
status.setWidth(150);
bar.add(status);