From ef80aa7c30fb7e912d368444a94fca401ae3377c Mon Sep 17 00:00:00 2001 From: mkersten Date: Sun, 27 May 2007 08:04:43 +0000 Subject: ASSIGNED - bug 185836: [new uex] create universal intro content https://bugs.eclipse.org/bugs/show_bug.cgi?id=185836 --- org.eclipse.mylyn.help.ui/cheatsheets/Query.xml | 37 +++++++++ .../cheatsheets/TaskFocus.xml | 93 ++++++++++++++++++++++ 2 files changed, 130 insertions(+) create mode 100644 org.eclipse.mylyn.help.ui/cheatsheets/Query.xml create mode 100644 org.eclipse.mylyn.help.ui/cheatsheets/TaskFocus.xml (limited to 'org.eclipse.mylyn.help.ui/cheatsheets') diff --git a/org.eclipse.mylyn.help.ui/cheatsheets/Query.xml b/org.eclipse.mylyn.help.ui/cheatsheets/Query.xml new file mode 100644 index 000000000..dfc46ffe1 --- /dev/null +++ b/org.eclipse.mylyn.help.ui/cheatsheets/Query.xml @@ -0,0 +1,37 @@ + + + + + This cheat sheet shows you how to create a query from bugs.eclipse.org.
+
+
+ + + If the Task List view is not opened, select in the main menu Window > Show View > Other... > Mylar > Task List or click on the "Click to Perform" link below. + + + + + + + In the Task List view, click on the right mouse button then select New > Query or click on the "Click to Perform" link below. + + + + + + + If Eclipse.org is on your repository list, you can skip this step. +

+Click on the Add Repository Task button in the Query dialog. Select Bugzilla on the list then click on the Next button. Enter https://bugs.eclipse.org/bugs for the server's address, Eclipse.org for the label then click on the Finish button. +
+
+ + + Select Eclipse.org then click on the Next button.
+ Select Create a query using form then click on the Next button.
+ Enter Mylar bugs for the query's title. + Select Mylar from the Product and P1, P2 from the Priority then click on the Finish button. +
+
+
diff --git a/org.eclipse.mylyn.help.ui/cheatsheets/TaskFocus.xml b/org.eclipse.mylyn.help.ui/cheatsheets/TaskFocus.xml new file mode 100644 index 000000000..1651f975d --- /dev/null +++ b/org.eclipse.mylyn.help.ui/cheatsheets/TaskFocus.xml @@ -0,0 +1,93 @@ + + + + + This cheat sheet shows you how to handle a task lifecycle and how to use task-focused ui.
+
+
+ + + If you're not already in Plug-in Development perspective in the main menu select Window > Open Perspective > Other... > Plug-in Development or click on the "Click to Perform" link below. + + + + + + + If the Task List view is not opened, select in the main menu Window > Show View > Other... > Mylar > Task List or click on the "Click to Perform" link below. + + + + + + + Before we start this cheat sheet, we need a project to practice. +

+In the main toolbar, click on the New button. Select the Plug-in Project from the list then click on the Next button. Enter SampleProject for the project's name then click on the Next button twice. +Select from the Templates part Hello, World then click on the Finish button. +
+
+ + + In the Task List view, click on the right mouse button, then select New > Category. Enter Tutorials for the category's name. +

+Then right click on the Tutorials category and select New > Task. Enter Learn task-focus for the task's title and change the priority to High. You can add some notes, too. +

+Right click on the new task and select Activate to activate the task. +

+Important: If it's not activated, click on the "Focus on the Active Task" toogle button in the Package Explorer and in the Outline view too. +
+
+ + + Press down the Ctrl+Shift+T buttons or click on the "Click to Perform" link below.
+In the Open Type dialog enter SampleAction for the type's name then press the Enter button.
+After the file is opened you can see the SampleAction class both in the Package Explorer and in the Outline view. +
+ + +
+ + + Select in the Editor the void run(IAction action) method then you can see the run(IAction) method in the Outline view and in the Package Explorer under the SampleAction class. +

+Next press the Alt button and click on the SampleAction class in the Outline view.
+Now you can see all methods. Methods which aren't in the focus are in grey color. Select window field from the list. After that all methods will disappear which aren't in the focus. +
+
+ + + If an element's interest ranks high enough, it becomes a landmark, which is an implicitly created bookmark. Landmarks are showed in bold font. +

+Select the run(IAction) method in the Outline view or in the Package Explorer. Right click on the method and select Mark as Landmark. After then this method becomes a landmark. +

+Also you can use key bindings. Ctrl+Shift+Alt+UpArrow to mark the element as landmark or Ctrl+Shift+Alt+DownArrow to mark less interesting for the element. +
+
+ + + Right click on the window field and select Remove from Focus. The window field will disappear on the list. + + + + + Press down the Alt button and click on the src directory. Then you can see 3 packages.
+Alt+click on the sampleproject package and you can open the Activator.java file with a simple double-click on the file name. +

+You can use Alt+RightArrow instead of Alt+click. +
+
+ + + Press down Ctrl+Shift+Alt+RightArrow buttons, then you can see all elements which are in the focus. + + + + + In the Task List view, click on the right mouse button on the Learn task-focus task and select deactivate. +
+Click again on the task with the right mouse button and select Mark > Complete.
+After then the task's name will be struck through. +
+
+
-- cgit v1.2.3