nullLayoutAction.setChecked(true);
layoutMenu.add(nullLayoutAction);
for (String layoutClass : LayoutAdapter.getLayoutClasses()) {
IConfigurationElement config = LayoutAdapter
.getLayoutConfig(layoutClass);
SetLayoutAction action = new SetLayoutAction((JPanelAdapter)adaptable, config);
if (layout != null) {
String currLayoutClass = layout.getClass().getName();
if (currLayoutClass.equals(layoutClass)) {
action.setChecked(true);
}
}
layoutMenu.add(action);
}
}