[ spindle-Feature Requests-1287941 ] Abstract Method Quickfix
"SourceForge.net" <[email protected]> Sun, 11 Sep 2005 11:46:21 -0700
| Newsgroups | gmane.comp.ide.eclipse.spindle.devel |
|---|---|
| Message-ID | <[email protected]> |
Feature Requests item #1287941, was opened at 2005-09-11 14:43
Message generated for change (Settings changed) made by glongman
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=459331&aid=1287941&group_id=50321
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Priority: 5
Submitted By: Geoffrey Longman (glongman)
Assigned to: Nobody/Anonymous (nobody)
Summary: Abstract Method Quickfix
Initial Comment:
The java editor provides many quickfix options
including the ability to create missing methods.
Currently (Eclipse 3.1) it is not possible to create
new abstract methods. Since the quick assist in the
java editor is extendable it should be possible for
Spindle to include this feature.
example
public abstract class TestPage extends BasePage{
public void formSubmitted(IRequestCycle cycle) {
setCycle(cycle);
}
}
will result in an undefined method error on 'setCycle'.
The java editor as shipped will give the quick fix
option "create method 'setCycle(IRequestCycle'". Which
creates:
private void setCycle(IRequestCycle cycle) {
// TODO Auto-generated method stub
}
not very useful in Tapestry app where setCycle should
be an abstract method.
Need a new option quickfix option: create an abstract
method 'setCycle(IRequestCycle()'
which produces:
public abstract void setCycle(IRequestCycle cycle);
There is an rfe open at eclipse to improve the java editor
https://bugs.eclipse.org/bugs/show_bug.cgi?id=108338
But even if it's done it won't appear until Eclipse 3.2
comes out.
----------------------------------------------------------------------
Comment By: Geoffrey Longman (glongman)
Date: 2005-09-11 14:44
Message:
Logged In: YES
user_id=387057
done, will appear in Spindle 3.2.2
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=459331&aid=1287941&group_id=50321
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf