View | Details | Raw Unified | Return to bug 277812 | Differences between
and this patch

Collapse All | Expand All

(-)reference/views/ref-call-hierarchy.htm (+16 lines)
Lines 87-92 Link Here
87
			<p>Defines the scope for the search for callers.</p>
87
			<p>Defines the scope for the search for callers.</p>
88
			</td>
88
			</td>
89
		</tr>
89
		</tr>
90
		<tr>
91
			<td valign="top">
92
			<p>Filters</p>
93
			</td>
94
			<td valign="top">
95
			<p>Specifies the patterns, whose matching members will be hidden from the view.</p>
96
			</td>
97
		</tr>
98
		<tr>
99
			<td valign="top">
100
			<p>Expand with Constructors</p>
101
			</td>
102
			<td valign="top">
103
			<p>Specifies the list of types whose instance methods are expanded with constructors by default.</p>
104
			</td>
105
		</tr>
90
	</tbody>
106
	</tbody>
91
</table>
107
</table>
92
<p><img border="0" src="../../images/ngrelr.png" alt="Related reference"></p>
108
<p><img border="0" src="../../images/ngrelr.png" alt="Related reference"></p>
(-)contexts_JDT.xml (+16 lines)
Lines 1815-1819 Link Here
1815
    <context id="bp_select_classpath_container">
1817
    <context id="bp_select_classpath_container">
1816
        <description>Select the type of library to add to the build path and select 'Next' to configure the library.</description>
1818
        <description>Select the type of library to add to the build path and select 'Next' to configure the library.</description>
1817
    </context>
1819
    </context>
1820
    <context id="call_hierarchy_filters_dialog_context" title="About Call Hierarchy Filter">
1821
       <description>This filter helps you specify the patterns,  whose matching types or methods  need to be hidden from the call hierarchy.</description>
1822
       <topic href="reference/views/ref-call-hierarchy.htm" label="Call Hierarchy View"/>
1823
    </context>
1824
    <context id="configure_working_set_dialog_context">
1825
       <description>This dialog helps you to configure the contents and the order of the working sets as seen in the Package Explorer.</description>
1826
       <topic href="reference/ref-dialog-configure-working-sets.htm" label="Configure Working Sets dialog description"/>
1827
    </context>
1828
    <context id="working_set_assignments_dialog_context">
1829
       <description>This dialog helps you to assign zero or more working sets for each selected java element or resource by selecting or deselecting from the given list of working sets or even by creating new ones.</description>
1830
       <topic href="reference/ref-dialog-working-set-assignments.htm" label="Working Set Assignments dialog descriptopn"/>
1831
    </context>
1832
    <context id="expand_with_constructors_dialog_context">
1833
       <description>This dialog helps you to specify a list of qualified names of the types that would be expanded with constructors by default.</description>
1834
       <topic href="reference/views/ref-call-hierarchy.htm" label="Call Hierarchy View"/>
1835
    </context>
1818
    
1836
    
1819
</contexts>
1837
</contexts>
(-)reference/ref-dialog-configure-working-sets.htm (+192 lines)
Added Link Here
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html lang="en">
3
  <head>
4
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2009. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
5
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6
    <meta http-equiv="Content-Style-Type" content="text/css">
7
    <title>
8
      Configure Working Sets dialog
9
    </title>
10
    <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
11
  </head>
12
  <body>
13
    <h1>
14
      Configure Working Sets dialog
15
    </h1>
16
    <p>
17
     The Configure Working Sets dialog provides means to configure the contents and order of the working sets along with creating new ones 
18
     and removing existing working sets.
19
    </p>
20
	<p>
21
     Use <strong>Configure Working Sets...</strong> from the context menu in the Package Explorer view with the Top Level Elements set to Working Sets mode. 
22
	</p>
23
    <p>
24
      The dialog presents a list of working sets, which can be selected or deselected in order to be visible or hidden from the Package Explorer respectively.
25
      The dialog also provides other operations such as editing the contents of any working set, creating or removing one or more working sets, sorting the 
26
      working sets alphabetically or in a user configured order.
27
    </p>
28
    <p>
29
      On pressing&nbsp;<strong>OK</strong>, the selected working sets are visible in the Package Explorer with their configured contents and order.
30
    </p>
31
    <table border="1" cellspacing="0" cellpadding="5" width="100%" summary="Override methods settings">
32
      <tr>
33
        <th>
34
          <p>
35
            Option
36
          </p>
37
        </th>
38
        <th>
39
          <p>
40
            Description
41
          </p>
42
        </th>
43
        <th>
44
          <p>
45
            Default
46
          </p>
47
        </th>
48
      </tr>
49
      <tr>
50
        <td valign="top">
51
          <p>
52
            Select and sort working sets visible in Package Explorer
53
          </p>
54
        </td>
55
        <td valign="top">
56
          Lists all the working sets, checked if they are currently active and visible in the Package Explorer, unchecked otherwise.
57
        </td>
58
        <td valign="top">
59
          <p>List of all working sets, checked if they are currently active and visible in the Package Explorer, unchecked otherwise</p>
60
        </td>
61
      </tr>      
62
	  <tr>
63
        <td valign="top">
64
          <p>
65
            Up
66
          </p>
67
        </td>
68
        <td valign="top">
69
          <p>
70
            Enabled only when <strong>Sort working sets</strong> is disabled. Move the working set with focus up the list.
71
          </p>
72
        </td>
73
        <td valign="top">
74
        <p>n/a</p>
75
        </td>
76
      </tr>
77
	   <tr>
78
        <td valign="top">
79
          <p>
80
            Down
81
          </p>
82
        </td>
83
        <td valign="top">
84
          <p>
85
            Enabled only when <strong>Sort working sets</strong> is disabled. Move the working set with focus down the list.
86
          </p>
87
        </td>
88
        <td valign="top">
89
        <p>n/a</p>
90
        </td>
91
      </tr>
92
      <tr>
93
        <td valign="top">
94
          <p>
95
            Select All
96
          </p>
97
        </td>
98
        <td valign="top">
99
          <p>
100
            Select all working sets.
101
          </p>
102
        </td>
103
        <td valign="top">
104
                <p>n/a</p>
105
        </td>
106
      </tr>
107
      <tr>
108
        <td valign="top">
109
          <p>
110
            Deselect All
111
          </p>
112
        </td>
113
        <td valign="top">
114
          <p>
115
            Deselect all working sets.
116
          </p>
117
        </td>
118
        <td valign="top">
119
        <p>n/a</p>
120
        </td>
121
      </tr>
122
      <tr>
123
        <td valign="top">
124
          <p>
125
            New
126
          </p>
127
        </td>
128
        <td valign="top">
129
          <p>
130
            Creates a new working set.	
131
          </p>
132
        </td>
133
        <td valign="top">
134
        <p>n/a</p>
135
        </td>        
136
      </tr>      
137
      <tr>
138
        <td valign="top">
139
          <p>
140
            Edit
141
          </p>
142
        </td>
143
        <td valign="top">
144
          <p>
145
            Edits the contents of a working set. 
146
          </p>
147
        </td>
148
        <td valign="top">
149
        <p>n/a</p>
150
        </td> 
151
      </tr>
152
	  <tr>
153
        <td valign="top">
154
          <p>
155
            Remove
156
          </p>
157
        </td>
158
        <td valign="top">
159
          <p>
160
            Removes one or more working sets.
161
          </p>
162
        </td>
163
        <td valign="top">
164
        <p>n/a</p>
165
        </td> 
166
      </tr>
167
	  <tr>
168
        <td valign="top">
169
          <p>
170
            Sort working sets
171
          </p>
172
        </td>
173
        <td valign="top">
174
          <p>
175
            Sorts the working sets alphabetically keeping the default working set at the top.
176
          </p>
177
        </td>
178
        <td valign="top">
179
        <p>off</p>
180
        </td> 
181
      </tr>	  
182
    </table>
183
    <p>
184
      <img src="../images/ngrelr.png" alt="Related reference" border="0" >
185
    </p>
186
    <p>
187
      <a href="../reference/ref-dialog-working-set-assignments.htm">Working Set Assignments Dialog</a><br>	  
188
    </p>
189
    
190
  </body>
191
</html>
192
(-)reference/ref-dialog-working-set-assignments.htm (+150 lines)
Added Link Here
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html lang="en">
3
  <head>
4
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2009. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
5
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6
    <meta http-equiv="Content-Style-Type" content="text/css">
7
    <title>
8
      Working Set Assignments dialog
9
    </title>
10
    <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
11
  </head>
12
  <body>
13
    <h1>
14
      Working Set Assignments dialog
15
    </h1>
16
    <p>
17
     The Working Set Assignments dialog provides means to select or de-select one or more working sets from an existing list or create new ones and assign
18
     to each of the selected resources. 
19
    </p>
20
	<p>
21
     Use <strong>Assign Working Sets...</strong> from the context menu on the selected resource. 
22
	</p>
23
    <p>
24
      The dialog presents a list of working sets, checked if atleast one of the selected resources is currently assigned to that working set. They can be selected or deselected, 
25
      or new working sets can be added and assigned for the selection. 
26
    </p>
27
    <p>
28
      On pressing&nbsp;<strong>OK</strong>, the Working Sets Assignments assigns each of the selected resources to one or more selected working sets. If none of the working sets are
29
      selected, then the resource is assigned to the default working set. 
30
    </p>
31
    <table border="1" cellspacing="0" cellpadding="5" width="100%" summary="Override methods settings">
32
      <tr>
33
        <th>
34
          <p>
35
            Option
36
          </p>
37
        </th>
38
        <th>
39
          <p>
40
            Description
41
          </p>
42
        </th>
43
        <th>
44
          <p>
45
            Default
46
          </p>
47
        </th>
48
      </tr>
49
      <tr>
50
        <td valign="top">
51
          <p>
52
            Select working sets for
53
          </p>
54
        </td>
55
        <td valign="top">
56
          <p>
57
          Gives the list of the existing working sets, only active ones(visible in Package Explorer) or all depending on the <strong>Show only Package Explorer working sets</strong> and 
58
          <strong>Top Level Elements</strong> settings. One or more working sets can be checked or unchecked for the selected resource. 
59
        </p>
60
        </td>
61
        <td valign="top">
62
          All Working Sets or only active ones depending on the <strong>Show only Package Explorer working sets</strong> and the <strong>Top Level Elements</strong> settings.
63
        </td>
64
      </tr>
65
      <tr>
66
        <td valign="top">
67
          <p>
68
            Select All
69
          </p>
70
        </td>
71
        <td valign="top">
72
          <p>
73
            Select all working sets.
74
          </p>
75
        </td>
76
        <td valign="top">
77
                <p>n/a</p>
78
        </td>
79
      </tr>
80
      <tr>
81
        <td valign="top">
82
          <p>
83
            Deselect All
84
          </p>
85
        </td>
86
        <td valign="top">
87
          <p>
88
            Deselect all working sets.
89
          </p>
90
        </td>
91
        <td valign="top">
92
        <p>n/a</p>
93
        </td>
94
      </tr>
95
	  <tr>
96
        <td valign="top">
97
          <p>
98
            New
99
          </p>
100
        </td>
101
        <td valign="top">
102
          <p>
103
            Creates a new working set.
104
          </p>
105
        </td>
106
        <td valign="top">
107
        <p>n/a</p>
108
        </td>
109
      </tr>
110
	   <tr>
111
        <td valign="top">
112
          <p>
113
            Show only Package Explorer working sets
114
          </p>
115
        </td>
116
        <td valign="top">
117
          <p>
118
            Visible only if the Top Level Elements is set to Working Sets. If checked, shows only those working sets that are currently active and visible in the Package Explorer, else shows all the working sets.
119
          </p>
120
        </td>
121
        <td valign="top">
122
        <p>On</p>
123
        </td>
124
      </tr>
125
      <tr>
126
        <td valign="top">
127
          <p>
128
            Configure Package Explorer working sets
129
          </p>
130
        </td>
131
        <td valign="top">
132
          <p>
133
            Visible only if the Top Level Elements is set to Working Sets. A link to the <strong>Configure Working Sets</strong> dialog.
134
          </p>
135
        </td>
136
        <td valign="top">
137
        <p>n/a</p>
138
        </td>        
139
      </tr>	 
140
    </table>
141
    <p>
142
      <img src="../images/ngrelr.png" alt="Related reference" border="0" >
143
    </p>
144
    <p>
145
      <a href="../reference/ref-dialog-configure-working-sets.htm">Configure Working Sets Dialog</a><br>	  
146
    </p>
147
    
148
  </body>
149
</html>
150
(-)ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetConfigurationDialog.java (+2 lines)
Lines 66-71 Link Here
66
import org.eclipse.ui.dialogs.IWorkingSetNewWizard;
66
import org.eclipse.ui.dialogs.IWorkingSetNewWizard;
67
import org.eclipse.ui.dialogs.SelectionDialog;
67
import org.eclipse.ui.dialogs.SelectionDialog;
68
68
69
import org.eclipse.jdt.internal.ui.IJavaHelpContextIds;
69
import org.eclipse.jdt.internal.ui.viewsupport.BasicElementLabels;
70
import org.eclipse.jdt.internal.ui.viewsupport.BasicElementLabels;
70
71
71
public class WorkingSetConfigurationDialog extends SelectionDialog {
72
public class WorkingSetConfigurationDialog extends SelectionDialog {
Lines 171-176 Link Here
171
		super(parentShell);
172
		super(parentShell);
172
		setTitle(WorkingSetMessages.WorkingSetConfigurationDialog_title);
173
		setTitle(WorkingSetMessages.WorkingSetConfigurationDialog_title);
173
		setMessage(WorkingSetMessages.WorkingSetConfigurationDialog_message);
174
		setMessage(WorkingSetMessages.WorkingSetConfigurationDialog_message);
175
		PlatformUI.getWorkbench().getHelpSystem().setHelp(parentShell, IJavaHelpContextIds.WORKING_SET_CONFIGURATION_DIALOG);
174
		fAllWorkingSets= new ArrayList(allWorkingSets.length);
176
		fAllWorkingSets= new ArrayList(allWorkingSets.length);
175
		Filter filter= new Filter();
177
		Filter filter= new Filter();
176
		for (int i= 0; i < allWorkingSets.length; i++) {
178
		for (int i= 0; i < allWorkingSets.length; i++) {
(-)ui/org/eclipse/jdt/internal/ui/workingsets/ConfigureWorkingSetAssignementAction.java (-2 / +2 lines)
Lines 71-76 Link Here
71
import org.eclipse.jdt.ui.JavaElementLabels;
71
import org.eclipse.jdt.ui.JavaElementLabels;
72
import org.eclipse.jdt.ui.actions.SelectionDispatchAction;
72
import org.eclipse.jdt.ui.actions.SelectionDispatchAction;
73
73
74
import org.eclipse.jdt.internal.ui.IJavaHelpContextIds;
74
import org.eclipse.jdt.internal.ui.JavaPlugin;
75
import org.eclipse.jdt.internal.ui.JavaPlugin;
75
import org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart;
76
import org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart;
76
import org.eclipse.jdt.internal.ui.viewsupport.BasicElementLabels;
77
import org.eclipse.jdt.internal.ui.viewsupport.BasicElementLabels;
Lines 305-312 Link Here
305
			super(shell);
306
			super(shell);
306
307
307
			setTitle(WorkingSetMessages.ConfigureWorkingSetAssignementAction_WorkingSetAssignments_title);
308
			setTitle(WorkingSetMessages.ConfigureWorkingSetAssignementAction_WorkingSetAssignments_title);
308
			setHelpAvailable(false);
309
			PlatformUI.getWorkbench().getHelpSystem().setHelp(shell, IJavaHelpContextIds.WORKING_SET_ASSIGNMENTS_DIALOG);
309
310
			fModel= model;
310
			fModel= model;
311
			fElements= elements;
311
			fElements= elements;
312
			fCreatedWorkingSets= new ArrayList();
312
			fCreatedWorkingSets= new ArrayList();
(-)ui/org/eclipse/jdt/internal/ui/IJavaHelpContextIds.java (+3 lines)
Lines 278-283 Link Here
278
	public static final String REPLACE_ELEMENT_WITH_HISTORY_DIALOG= PREFIX + "replace_element_with_history_dialog_context"; //$NON-NLS-1$
278
	public static final String REPLACE_ELEMENT_WITH_HISTORY_DIALOG= PREFIX + "replace_element_with_history_dialog_context"; //$NON-NLS-1$
279
279
280
	public static final String SORT_MEMBERS_DIALOG= PREFIX + "sort_members_dialog_context"; //$NON-NLS-1$
280
	public static final String SORT_MEMBERS_DIALOG= PREFIX + "sort_members_dialog_context"; //$NON-NLS-1$
281
	public static final String WORKING_SET_CONFIGURATION_DIALOG = PREFIX + "configure_working_set_dialog_context"; //$NON-NLS-1$
282
	public static final String WORKING_SET_ASSIGNMENTS_DIALOG= PREFIX + "working_set_assignments_dialog_context"; //$NON-NLS-1$
283
	public static final String EXPAND_WITH_CONSTRUCTORS_DIALOG= PREFIX + "expand_with_constructors_dialog_context"; //$NON-NLS-1$
281
284
282
	// view parts
285
	// view parts
283
	public static final String TYPE_HIERARCHY_VIEW= PREFIX + "type_hierarchy_view_context"; //$NON-NLS-1$
286
	public static final String TYPE_HIERARCHY_VIEW= PREFIX + "type_hierarchy_view_context"; //$NON-NLS-1$

Return to bug 277812