Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 185836 | Differences between
and this patch

Collapse All | Expand All

(-)cheatsheets/Query.xml (-10 / +17 lines)
Lines 7-30 Link Here
7
   </intro>
7
   </intro>
8
   <item title="Open the Task List view" dialog="true" skip="false">
8
   <item title="Open the Task List view" dialog="true" skip="false">
9
      <description>
9
      <description>
10
         If the Task List view is not opened, select in the main menu  <b>Window</b> &gt; <b>Show View</b> &gt; <b>Other...</b> &gt; <b>Mylar</b> &gt; <b>Task List</b> or click on the &quot;Click to Perform&quot; link below.
10
         If the Task List view is not opened, select in the main menu  <b>Window &gt; Show View &gt; Task List</b> or click on the &quot;Click to Perform&quot; link below.
11
      </description>
11
      </description>
12
      <command serialization="org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.mylyn.tasks.ui.views.TaskListView)" confirm="true">
12
      <command serialization="org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.mylyn.tasks.ui.views.tasks)" confirm="true">
13
      </command>
13
      </command>
14
   </item>
14
   </item>
15
   <item title="Create a new Query" dialog="true" skip="false">
15
   <item title="Setup Task Repository" dialog="true" skip="true">
16
      <description>
16
      <description>
17
         In the Task List view, click on the right mouse button then select <b>New &gt; Query</b> or click on the &quot;Click to Perform&quot; link below.
17
         In this step you can learn how to setup your Bugzilla account, but you can skip it.
18
<br/><br/>
19
If the Task Repositories view isn&apos;t opened, select in the main menu  <b>Window &gt; Show View &gt; Other... &gt; Mylyn &gt; Task Repositry</b>.
20
<br/><br/>
21
In the Task Repositories  view you can see <b>Eclipse.org</b>. Right click on it and selet <b>Properties</b>.<br/>
22
Check out the <b>Anonymous Access</b> checkbox.<br/>
23
Enter your&apos;s user id for the <b>User ID</b> and password for the <b>Password</b>. <br/>
24
Click on the <b>Validate Settings</b> button to check your given parameters.<br/>
25
If you haven&apos;t got any account you can register one, if you click on the <b>Create new accout</b> link.<br/>
26
Click on the <b>Finish</b> button to save the values and close the dialog.
18
      </description>
27
      </description>
19
      <command serialization="org.eclipse.ui.newWizard(newWizardId=org.eclipse.mylyn.tasks.ui.wizard.new.query)" confirm="true">
20
      </command>
21
   </item>
28
   </item>
22
   <item title="Add Task Repository" dialog="true" skip="true">
29
   <item title="Create a new Query" dialog="true" skip="false">
23
      <description>
30
      <description>
24
         If <b>Eclipse.org</b> is on your repository list, you can <b>skip</b> this step.
31
         In the Task List view, click on the right mouse button then select <b>New &gt; Query</b> or click on the &quot;Click to Perform&quot; link below.
25
<br/><br/>
26
Click on the <b>Add Repository Task</b> button in the Query dialog. Select Bugzilla on the list then click on the Next button. Enter <b>https://bugs.eclipse.org/bugs</b> for the server&apos;s address, <b>Eclipse.org</b> for the label then click on the <b>Finish</b> button.
27
      </description>
32
      </description>
33
      <command serialization="org.eclipse.ui.newWizard(newWizardId=org.eclipse.mylyn.tasks.ui.wizards.new.query)" confirm="true">
34
      </command>
28
   </item>
35
   </item>
29
   <item title="Setup the query" dialog="true" skip="false">
36
   <item title="Setup the query" dialog="true" skip="false">
30
      <description>
37
      <description>
(-)cheatsheets/TaskFocus.xml (-38 / +31 lines)
Lines 2-79 Link Here
2
<cheatsheet title="Use Task-Focused UI">
2
<cheatsheet title="Use Task-Focused UI">
3
   <intro>
3
   <intro>
4
      <description>
4
      <description>
5
         This cheat sheet shows you how to handle a task lifecycle and how to use task-focused ui.<br/>
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.
6
      </description>
8
      </description>
7
   </intro>
9
   </intro>
8
   <item title="Open the Plug-in perspective" dialog="true" skip="false">
9
      <description>
10
         If you&apos;re not already in Plug-in Development perspective in the main menu select <b>Window</b> &gt; <b>Open Perspective</b> &gt; 	<b>Other...</b> &gt; <b>Plug-in Development</b>	or click on the &quot;Click to Perform&quot; link below.
11
      </description>
12
      <command serialization="org.eclipse.ui.perspectives.showPerspective(org.eclipse.ui.perspectives.showPerspective.perspectiveId=org.eclipse.pde.ui.PDEPerspective)" confirm="true">
13
      </command>
14
   </item>
15
   <item title="Open the Task List view" dialog="true" skip="false">
10
   <item title="Open the Task List view" dialog="true" skip="false">
16
      <description>
11
      <description>
17
         If the Task List view is not opened, select in the main menu  <b>Window</b> &gt; <b>Show View</b> &gt; <b>Other...</b> &gt; <b>Mylar</b> &gt; <b>Task List</b> or click on the &quot;Click to Perform&quot; link below.
12
         If the Task List view is not opened, select in the main menu  <b>Window &gt; Show View &gt; Other... &gt; Mylar &gt; Task List</b> or click on the &quot;Click to Perform&quot; link below.
18
      </description>
13
      </description>
19
      <command serialization="org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.mylyn.tasks.ui.views.TaskListView)" confirm="true">
14
      <command serialization="org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.mylyn.tasks.ui.views.tasks)" confirm="true">
20
      </command>
15
      </command>
21
   </item>
16
   </item>
22
   <item title="Create a sample project" dialog="true" skip="false">
23
      <description>
24
         Before we start this cheat sheet, we need a project to practice.
25
<br/><br/>
26
In the main toolbar, click on the <b>New</b> button. Select the <b>Plug-in Project</b>  from the list then click on the <b>Next</b> button. Enter <b>SampleProject</b> for the project&apos;s name then click on the <b>Next</b> button twice.
27
Select from the Templates part <b>Hello, World</b> then click on the <b>Finish</b> button.
28
      </description>
29
   </item>
30
   <item title="Create and activate a task" dialog="true" skip="false">
17
   <item title="Create and activate a task" dialog="true" skip="false">
31
      <description>
18
      <description>
32
         In the Task List view, click on the right mouse button, then select <b>New &gt; Category</b>. Enter <b>Tutorials</b> for the category&apos;s name.
19
         In the Task List view, click on the right mouse button, then select <b>New &gt; Category</b>. Enter <b>Tutorials</b> for the category&apos;s name.
33
<br/><br/>
20
<br/><br/>
34
Then right click on the <b>Tutorials</b> category and select <b>New &gt; Task</b>. Enter <b>Learn task-focus</b>  for the task&apos;s title and change the priority to <b>High</b>. You can add some notes,  too.
21
Then right click on the <b>Tutorials</b> category and select <b>New &gt; Task</b>. In the <b>New Task</b> dialog select <b>Local Tasks</b> then click on the <b>Finish</b> button.
22
 Enter <b>Learn task-focus</b>  for the task&apos;s title and change the priority to <b>High</b>. You can add some notes,  too.
35
<br/><br/>
23
<br/><br/>
36
Right click on the new task and select <b>Activate</b> to activate the task.
24
Right click on the new task and select <b>Activate</b> to activate the task.
37
<br/><br/>
38
<b>Important:</b> If it&apos;s not activated, click on the <b>&quot;Focus on the Active Task&quot;</b> toogle button in the <b>Package Explorer</b> and in the <b>Outline</b> view too.
39
      </description>
25
      </description>
40
   </item>
26
   </item>
41
   <item title="Open SampleAction file" dialog="true" skip="false">
27
   <item title="Focus on the task" dialog="true" skip="false">
42
      <description>
28
      <description>
43
         Press down the <b>Ctrl+Shift+T</b> buttons or click on the &quot;Click to Perform&quot; link below. <br/> 
29
         In the <b>Package Explorer</b> the task-focus turns on automatically if you activate a task.<br/> 
44
In the <b>Open Type</b> dialog  enter <b>SampleAction</b> for the type&apos;s name then press the <b>Enter</b> button.<br/> 
30
You can turn on or off this function if you click on the  <b>Focus on the Active Task</b> toogle button in the view&apos;s toolbar.<br/>
45
After the file is opened you can see the SampleAction class both  in the <b>Package Explorer</b> and in the <b>Outline</b> view.
31
You can use this function in the <b>Outline</b> view, too. Turn on it 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.
46
      </description>
42
      </description>
47
      <command serialization="org.eclipse.jdt.ui.navigate.open.type" confirm="true">
48
      </command>
49
   </item>
43
   </item>
50
   <item title="Add method to focus" dialog="true" skip="false">
44
   <item title="Add method to focus" dialog="true" skip="false">
51
      <description>
45
      <description>
52
         Select in the Editor the <b>void run(IAction action)</b> method then you can see the <b>run(IAction)</b> method in the <b>Outline</b> view and in the <b>Package Explorer</b> under the SampleAction class.
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.
53
<br/><br/>
47
<br/><br/>
54
Next press the Alt button and click on the SampleAction class in the <b>Outline</b> view.<br/> 
48
Next press the Alt button and click on the class in the <b>Outline</b> view.<br/> 
55
Now you can see all methods. Methods which aren&apos;t in the focus are in <b>grey</b> color. Select <b>window</b> field from the list. After that all methods will disappear which aren&apos;t in the focus.
49
Now you can see all methods. Methods which aren&apos;t in the focus are in <b>grey</b> color. Select another method from the list. After that all methods will disappear which aren&apos;t in the focus.
56
      </description>
50
      </description>
57
   </item>
51
   </item>
58
   <item title="Landmark" dialog="true" skip="false">
52
   <item title="Landmark" dialog="true" skip="false">
59
      <description>
53
      <description>
60
         If an element&apos;s interest ranks high enough, it becomes a landmark, which is an implicitly created bookmark. Landmarks are showed in bold font.
54
         If an element&apos;s interest rank is high enough, it becomes a landmark, which is an implicitly created bookmark. Landmarks are showed in bold font.
61
<br/><br/>
55
<br/><br/>
62
Select the <b>run(IAction)</b> 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.
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.
63
<br/><br/>
57
<br/><br/>
64
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.
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.
65
      </description>
59
      </description>
66
   </item>
60
   </item>
67
   <item title="Remove method from focus" dialog="true" skip="true">
61
   <item title="Remove method from focus" dialog="true" skip="false">
68
      <description>
62
      <description>
69
         Right click on the <b>window</b> field and select <b>Remove from Focus</b>. The window field will disappear on the list.
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.
70
      </description>
64
      </description>
71
   </item>
65
   </item>
72
   <item title="Open Activator.java" dialog="true" skip="false">
66
   <item title="Open another file" dialog="true" skip="false">
73
      <description>
67
      <description>
74
         Press down the <b>Alt</b> button and <b>click</b> on the <b>src</b> directory. Then you can see 3 packages. <br/>
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&apos;t in the focus.
75
<b>Alt+click</b> on the  <b>sampleproject</b> package and you can open the Activator.java file with a simple double-click on the file name.
69
<br/>
76
<br/><br/>
77
You can use <b>Alt+RightArrow</b> instead of <b>Alt+click</b>.
70
You can use <b>Alt+RightArrow</b> instead of <b>Alt+click</b>.
78
      </description>
71
      </description>
79
   </item>
72
   </item>

Return to bug 185836