The provided patch contributes the Index actions to the global Project
menu using the command/handler extension points.
Project related actions are enabled when:
- When an ICProject, an ICContainer or an ITranslationUnit is selected
in the Project Explorer and the Project Explorer has the focus
- When a file of an ICProject is open in the Editor and the Editor has
the focus
File related action is enabled when:
- When an ITranslationUnit is selected in the Project Explorer and the
Project Explorer has the focus
- When an ITranslationUnit is open in the Editor and the Editor has the
focus
Change-Id: I11f05e2b2f0c8f1652b0ee7e655aacacd03c7fde
Signed-off-by: Caroline Rieder <caroline.rieder@windriver.com>
Reviewed-on: https://git.eclipse.org/r/13123
Reviewed-by: Anton Leherbauer <anton.leherbauer@windriver.com>
IP-Clean: Anton Leherbauer <anton.leherbauer@windriver.com>
Tested-by: Anton Leherbauer <anton.leherbauer@windriver.com>
The provided patch contributes the Index actions to the global Project
menu using the command/handler extension points.
Project related actions are enabled when:
- When an ICProject, an ICContainer or an ITranslationUnit is selected
in the Project Explorer and the Project Explorer has the focus
- When a file of an ICProject is open in the Editor and the Editor has
the focus
File related action is enabled when:
- When an ITranslationUnit is selected in the Project Explorer and the
Project Explorer has the focus
- When an ITranslationUnit is open in the Editor and the Editor has the
focus
Change-Id: Ide0e3e241f1162323c2e17d2d58741eb3db9ae41
Signed-off-by: Caroline Rieder <caroline.rieder@windriver.com>
Reviewed-on: https://git.eclipse.org/r/13073
Reviewed-by: Anton Leherbauer <anton.leherbauer@windriver.com>
IP-Clean: Anton Leherbauer <anton.leherbauer@windriver.com>
Tested-by: Anton Leherbauer <anton.leherbauer@windriver.com>
project-descriptions to load prematurely
Change-Id: I814835ce63b358dcab4349cd88f205b9dbe81c85
Reviewed-on: https://git.eclipse.org/r/11935
Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com>
IP-Clean: Andrew Gvozdev <angvoz.dev@gmail.com>
Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
On non-cdt projects, the decorators caused a ICProjectDescription to
be created every time a resource was decorated. The decorators should
only get the description when it already exists. Performance was also a
bit improved on cdt projects by extracting some variables out of a loop.
Change-Id: I125dc0ba55a72cfbd272fb6d6658474216021803
Reviewed-on: https://git.eclipse.org/r/12744
Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com>
IP-Clean: Andrew Gvozdev <angvoz.dev@gmail.com>
Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>