The default application behavior on a double-click on the element is to open the Specification window or open a diagram. This behavior can be changed by registering custom element activators.
Use com.nomagic.magicdraw.ui.ElementActivationManager.addActivator(ElementActivator) for that purpose.