enabled.setAction(new DynamicAction(ToolWindowTypeDescriptor.class,
"enabled",
new ViewContextSource(viewContext, ToolWindowTypeDescriptor.class),
new ChecBoxSelectionSource(enabled)));
panel.addEntry(1, 0, "animating : ", animating = new JCheckBox());
animating.setSelected(true);
animating.setAction(new DynamicAction(ToolWindowTypeDescriptor.class,
"animating",
new ViewContextSource(viewContext, SlidingTypeDescriptor.class),
new ChecBoxSelectionSource(animating)));