Community
Participate
Working Groups
Build Identifier: The Javadoc of @Execute (org.eclipse.e4.core.di.annotations.Execute) is: > Use this annotation to tag methods that determine if this object's {@link Execute} method can be called. The tagged method must return Boolean value. The Javadoc of @CanExecute (org.eclipse.e4.core.di.annotations.CanExecute) is: > Use this annotation to tag methods that need to be executed. It should be the other way round. Reproducible: Always Steps to Reproduce: 1. Open http://dev.eclipse.org/viewcvs/viewvc.cgi/e4/org.eclipse.e4.ui/bundles/org.eclipse.e4.core.di/src/org/eclipse/e4/core/di/annotations/CanExecute.java 2. Open http://dev.eclipse.org/viewcvs/viewvc.cgi/e4/org.eclipse.e4.ui/bundles/org.eclipse.e4.core.di/src/org/eclipse/e4/core/di/annotations/Execute.java 3. Compare 4. Notice Javadoc is mixed up
Just as an aside, if you are looking at our source you should be using git now. See http://wiki.eclipse.org/Platform_UI/How_to_Contribute I'll fix the javadoc, thanx for finding this. PW
released to master PW