1
General Board / Re: Modelling overriding interface operations
« on: March 12, 2012, 07:47:05 pm »
I found a simple solution.
By creating a subclass which implements the interface, it is possible to override the onClick-operation directly in the subclass. The method body can than be described by a activity diagram related to the onClick-operation in the subclass. In the activity diagram in the main class it is just necessary to create a instance of the subclass.
Best regards,
By creating a subclass which implements the interface, it is possible to override the onClick-operation directly in the subclass. The method body can than be described by a activity diagram related to the onClick-operation in the subclass. In the activity diagram in the main class it is just necessary to create a instance of the subclass.
Best regards,