adapter.setDirty(true);
}
adapter.addNotify();
VisualDesigner designer = adapter.getDesigner();
if (designer != null) {
VisualSwingEditor editor = designer.getEditor();
if (editor != null) {
if (editor.isDirty())
editor.saveWithProgress();
model.editMethod(editor, methodDesc);
}
}
}