Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360515 - Clicking on an exec operation should add it if it is not added yet
Summary: Clicking on an exec operation should add it if it is not added yet
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-11 04:57 EDT by Claudio Guglielmo CLA
Modified: 2021-08-19 11:14 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Claudio Guglielmo CLA 2011-10-11 04:57:39 EDT
If you need to implement an exec operation you have to click on the + button so that it will be added to the current class (which is fine). Clicking on the link jumps to the abstract class which is uselesse since the javadoc appears in the sdk too. If the operation has already been added jumping to the implementation is fine.

Requested change: If the operation has not already been added clicking on the link should create the empty operation (same as clicking on +). For consistency purpose clicking on a property link (like getConfiguredVisible) should also add that property so the user can fill in the code directly with the java edior. A possibility to jump to the super class is in my opinion not necessary anymore.
Comment 1 Matthias Villiger CLA 2011-10-26 04:19:22 EDT
If we change the hyperlink action behaviour for operations, we should also think about the properties.
Currently it is the same behaviour as for operations: when it is not implemented, the parent class is shown with the default implementation which gives no information to the developer as well.

Proposal:
- If it is implemented already: jump to implementation
- Otherwise:
  - for properties: don't show a link for not implemented properties
    (implementation is done using the widgets).
  - for operations: implement the operation when clicking on the link.
Comment 2 Matthias Villiger CLA 2011-10-26 08:21:10 EDT
change applied like proposed by Claudio.
Comment 3 Matthias Zimmermann CLA 2012-07-09 06:50:52 EDT
ticket closed.
deliverd as part of eclipse scout 3.8.0 (juno release train)