viewContext.put(Document.class, textArea.getDocument());
ToolBarContentPanel recordindPanel = new ToolBarContentPanel(new JScrollPane(textArea));
recordindPanel.setBorder(new TitledBorder("Test Recording."));
recordindPanel.getToolBar().add(
new ActionEnabler(new ViewContextAction("Start", viewContext, "start"), viewContext, Tracer.class){
public void contextChange(ViewContextChangeEvent evt) {
action.setEnabled(evt.getNewValue() == null);
}
}.getAction()
);