* {@inheritDoc}
*/
public void editProperties(DiagramElement element) {
if (element instanceof ClassElement) {
ClassElement classElement = (ClassElement) element;
UmlClass umlclass = (UmlClass) classElement.getModelElement();
EditClassDialog dialog = new EditClassDialog(frame, classElement, true);
dialog.setLocationRelativeTo(frame);
dialog.setVisible(true);
if (dialog.isOk()) {
umlclass.setAbstract(dialog.classIsAbstract());
classElement.setShowOperations(dialog.showOperations());
classElement.setShowAttributes(dialog.showAttributes());
classElement.setShowStereotypes(dialog.showStereotypes());
umlclass.setMethods(dialog.getMethods());
umlclass.setAttributes(dialog.getAttributes());
umlclass.setStereotypes(dialog.getStereotypes());
}
}
}