|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <cheatsheet title="Use Task-Focused UI"> |
|
3 <intro> |
|
4 <description> |
|
5 This cheat sheet shows you how to handle a task lifecycle and how to use task-focused UI. |
|
6 <br/> |
|
7 You need an existing project for this sheet. |
|
8 </description> |
|
9 </intro> |
|
10 <item title="Open the Task List view" dialog="true" skip="false"> |
|
11 <description> |
|
12 If the Task List view is not opened, select in the main menu <b>Window > Show View > Other... > Mylyn > Task List</b> or click on the "Click to Perform" link below. |
|
13 </description> |
|
14 <command serialization="org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.mylyn.tasks.ui.views.tasks)" confirm="true"> |
|
15 </command> |
|
16 </item> |
|
17 <item title="Create and activate a task" dialog="true" skip="false"> |
|
18 <description> |
|
19 In the Task List view, click on the right mouse button, then select <b>New > Category</b>. Enter <b>Tutorials</b> for the category's name. |
|
20 <br/><br/> |
|
21 Then right click on the <b>Tutorials</b> category and select <b>New > Task</b>. In the <b>New Task</b> dialog select <b>Local</b> then click on the <b>Finish</b> button. |
|
22 Enter <b>Learn task-focus</b> for the task's title and change the priority to <b>High</b>. You can add some notes, too. |
|
23 <br/><br/> |
|
24 Right click on the new task and select <b>Activate</b> to activate the task. |
|
25 </description> |
|
26 </item> |
|
27 <item title="Focus on the task" dialog="true" skip="false"> |
|
28 <description> |
|
29 In the <b>Package Explorer</b> the task-focus turns on automatically if you activate a task.<br/> |
|
30 You can turn on or off this function if you click on the <b>Focus on Active Task</b> toogle button in the view's toolbar.<br/> |
|
31 You can use this function in the <b>Outline</b> view too. Turn it on in this view as well. |
|
32 </description> |
|
33 </item> |
|
34 <item title="Open the file" dialog="true" skip="false"> |
|
35 <description> |
|
36 Press down the <b>Alt</b> button and click on the <b>left</b> mouse button on the <b>Package Explorer</b> view. Now you can see all of your projects in the view. |
|
37 <br/><br/> |
|
38 Next <b>Alt+click</b> on an arbitrary project and you can see the files wich are in the project. |
|
39 <br/><br/> |
|
40 With this method, select a class from the project.<br/> |
|
41 After the file is opened you can see the class both in the <b>Package Explorer</b> and in the <b>Outline</b> view. |
|
42 </description> |
|
43 </item> |
|
44 <item title="Add method to focus" dialog="true" skip="false"> |
|
45 <description> |
|
46 Select in the Editor a method then you can see this method in the <b>Outline</b> view and in the <b>Package Explorer</b> under the class file. |
|
47 <br/><br/> |
|
48 Next press the Alt button and click on the class in the <b>Outline</b> view.<br/> |
|
49 Now you can see all methods. Methods which aren't in the focus are in <b>grey</b> color. Select another method from the list. After that all methods will disappear which aren't in the focus. |
|
50 </description> |
|
51 </item> |
|
52 <item title="Landmark" dialog="true" skip="false"> |
|
53 <description> |
|
54 If an element's interest rank is high enough, it becomes a landmark, which is an implicitly created bookmark. Landmarks are showed in bold font. |
|
55 <br/><br/> |
|
56 Select the a method in the <b>Outline</b> view or in the <b>Package Explorer</b>. Right click on the method and select <b>Mark as Landmark</b>. After then this method becomes a landmark. |
|
57 <br/><br/> |
|
58 Also you can use key bindings. <b>Ctrl+Shift+Alt+UpArrow</b> to mark the element as landmark or <b>Ctrl+Shift+Alt+DownArrow</b> to mark less interesting for the element. |
|
59 </description> |
|
60 </item> |
|
61 <item title="Remove method from focus" dialog="true" skip="false"> |
|
62 <description> |
|
63 Right click on a method which is in the focus and select <b>Remove from Focus</b>. After then this method will disappear from the list. |
|
64 </description> |
|
65 </item> |
|
66 <item title="Open another file" dialog="true" skip="false"> |
|
67 <description> |
|
68 Press down the <b>Alt</b> button and <b>click</b> on the <b>project</b>. Select an arbitrary file from the list with <b>Alt+click</b>. After you open the new file you can see it in the focus and all files will disappear which aren't in the focus. |
|
69 <br/> |
|
70 You can use <b>Alt+RightArrow</b> instead of <b>Alt+click</b>. |
|
71 </description> |
|
72 </item> |
|
73 <item title="Quick Context View" dialog="true" skip="false"> |
|
74 <description> |
|
75 Press down <b>Ctrl+Shift+Alt+RightArrow</b> buttons, then you can see all elements which are in the focus. |
|
76 </description> |
|
77 </item> |
|
78 <item title="Complete task" dialog="true" skip="false"> |
|
79 <description> |
|
80 In the Task List view, click on the right mouse button on the <b>Learn task-focus</b> task and select deactivate. |
|
81 <br/> |
|
82 Click again on the task with the right mouse button and select <b>Mark > Complete</b>. <br/> |
|
83 After then the task's name will be struck through. |
|
84 </description> |
|
85 </item> |
|
86 </cheatsheet> |