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 193911
Collapse All | Expand All

(-)contexts_Workbench.xml (+5 lines)
Lines 514-519 Link Here
514
        <description>Dialog to switch workspaces.</description>
514
        <description>Dialog to switch workspaces.</description>
515
		<topic label="Switching Workspaces" href="reference/ref-workspaceswitch.htm" />
515
		<topic label="Switching Workspaces" href="reference/ref-workspaceswitch.htm" />
516
    </context>
516
    </context>
517
    <context id="open_resource_dialog">
518
        <description>Dialog to open files by name or path.</description>
519
        <topic label="Open Resource dialog" href="reference/ref-dialog-open-resource.htm"/>
520
        <topic label="Opening Resources" href="tasks/tasks-46.htm"/>
521
    </context>
517
    <!-- Editors -->
522
    <!-- Editors -->
518
    <context id="welcome_editor_context">
523
    <context id="welcome_editor_context">
519
        <description>A quick, simple guide to introduce new users to some basic tasks.</description>
524
        <description>A quick, simple guide to introduce new users to some basic tasks.</description>
(-)reference/ref-58.htm (+4 lines)
Lines 98-103 Link Here
98
<a href="../tasks/tasks-46ag.htm">Finding a resource quickly</a>
98
<a href="../tasks/tasks-46ag.htm">Finding a resource quickly</a>
99
</p>
99
</p>
100
100
101
<p><img border="0" src="../images/ngrelr.png" alt="Related reference" ><br>
102
<a href="ref-dialog-open-resource.htm">Open Resource dialog</a>
103
</p>
104
101
105
102
106
103
</BODY>
107
</BODY>
(-)reference/ref-dialog-open-resource.htm (+159 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 2010. 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
    <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
8
    <title>
9
      Open Resource
10
    </title>
11
  </head>
12
  <body>
13
    <h1>
14
      Open Resource
15
    </h1>
16
    <p>
17
      This dialog allows you to browse the workbench for a file to open in an editor
18
    </p>
19
    <ul>
20
      <li>
21
        <strong>Select an item to open</strong>: In this field, type the first few
22
        characters of the name of the file you want to select.
23
        <p>The following pattern kinds are supported:</p>
24
        <br>
25
        <strong>Wildcards</strong>:<br>
26
        <ul>
27
          <li>
28
            &quot;*&quot; for any string and &quot;?&quot; for any character
29
          </li>
30
          <li>
31
            terminating &quot;&lt;&quot; or &quot; &quot; (space)
32
            to prevent the automatic prefix matching, e.g. &quot;M*file&lt;&quot;
33
            to match <code>Makefile</code> and <code>MockFile</code> but not <code>MakeTheFiles</code>
34
          </li>
35
        </ul>
36
        <strong>Camel case</strong>:<br>
37
        <ul>
38
          <li>
39
            &quot;CS&quot; for file names containing &quot;C&quot; and &quot;S&quot;
40
            as upper-case letters in camel-case notation, e.g. <code>CreateStuff.java</code>
41
          </li>
42
          <li>
43
            &quot;CreSNo&quot; for file names containing &quot;Cre&quot;, &quot;S&quot;,
44
            and &quot;No&quot; as parts in camel-case notation, e.g.
45
            <code>CreateStuffNow.jsp</code>
46
          </li>
47
          <li>
48
              terminating &quot;&lt;&quot; or &quot; &quot; (space) to fix the number of camel-case parts,
49
              e.g. &quot;CreS&lt;&quot;
50
              matches &quot;CreateStuff.java&quot;, but not
51
              &quot;CreateStuffNow.jsp&quot; nor &quot;Createstuff.txt&quot;.
52
          </li>
53
        </ul>
54
        <strong>Folder prefixes</strong>:<br>
55
        <p>
56
        Both pattern kinds also support <strong>folder prefixes</strong>, e.g.
57
        &quot;org.eclipse.ui/plugin.xml&quot;.
58
        Or a bit more complex: &quot;*/ui&lt;/pack*.html&quot; matches e.g. files called &quot;package.html&quot;
59
        in a folder named &quot;ui&quot; (but not in folders like &quot;uitools&quot; or &quot;*/ui/internal&quot;).
60
        </p>
61
        <br>
62
      </li>
63
      <li>
64
        <strong>Matching items</strong>: This list displays matches for the pattern you type in the <strong>Select an item to open</strong> field.
65
        Recently opened files show up in a history section at the top of the list.
66
      </li>
67
    </ul>
68
    
69
    <p>
70
    The <b>Open</b> button opens the file with the default editor for the chosen file.
71
    A different editor can be selected in the context menu on a file or in the drop-down button besides the <b>Open</b> button.
72
    </p>
73
    
74
    <p>
75
      The behavior of the <strong>Open Resource</strong> dialog can be further customized using the dialog menu:
76
    </p>
77
    <table border="1" cellspacing="0" cellpadding="5" summary="Open resource options">
78
      <caption>
79
        Open Resource Options
80
      </caption>
81
      <thead>
82
        <tr>
83
          <th>
84
            <p>
85
              Option
86
            </p>
87
          </th>
88
          <th>
89
            <p>
90
              Description
91
            </p>
92
          </th>
93
          <th>
94
            <p>
95
              Default
96
            </p>
97
          </th>
98
        </tr>
99
      </thead>
100
      <tbody>
101
102
        <tr>
103
          <td valign="top">
104
            Show Status Line
105
          </td>
106
          <td valign="top">
107
            When selected, the <strong>Open Resource</strong> dialog shows an additional bar at the bottom of the dialog which displays the
108
            full path of the selected file.
109
          </td>
110
          <td valign="top">
111
            Show status line
112
          </td>
113
        </tr>
114
      
115
        <tr>
116
          <td valign="top">
117
            Show Derived Resources
118
          </td>
119
          <td valign="top">
120
            When selected, the <strong>Open Resource</strong> dialog also shows derived resources.
121
          </td>
122
          <td valign="top">
123
            Do not show derived resources
124
          </td>
125
        </tr>
126
      
127
        <tr>
128
          <td valign="top">
129
            Working Set actions
130
          </td>
131
          <td valign="top">
132
            The search scope can be restricted by selecting one or more working sets
133
            or the global Window Working Set.
134
          </td>
135
          <td valign="top">
136
            Show all files in the workspace.
137
          </td>
138
        </tr>
139
        
140
      </tbody>
141
    </table>
142
    
143
    <p>
144
      <img src="../images/ngrelt.png" alt="Related tasks" border="0" >
145
    </p>
146
    <p>
147
      <a href="../tasks/tasks-46.htm">Opening Resources</a><br>
148
    </p>
149
    <p>
150
      <img src="../images/ngrelr.png"  alt="Related reference">
151
    </p>
152
    <p>
153
      <a href="../concepts/cworkset.htm">Working sets</a><br>
154
      <a href="../reference/ref-menu-navigate.htm">Navigate actions</a>
155
    </p>
156
    
157
  </body>
158
</html>
159
(-)tasks/tasks-46ag.htm (+3 lines)
Lines 50-55 Link Here
50
<a href="tasks-48b.htm">Showing or hiding files in the Project Explorer view</a>
50
<a href="tasks-48b.htm">Showing or hiding files in the Project Explorer view</a>
51
</p>
51
</p>
52
52
53
<p><img border="0" src="../images/ngrelr.png" alt="Related reference" ><br>
54
<a href="../reference/ref-dialog-open-resource.htm">Open Resource dialog</a>
55
</p>
53
56
54
57
55
</BODY>
58
</BODY>
(-)topics_Reference.xml (+1 lines)
Lines 287-292 Link Here
287
287
288
	<topic label="Search">
288
	<topic label="Search">
289
		<topic label="File search" href="reference/ref-45.htm"></topic>
289
		<topic label="File search" href="reference/ref-45.htm"></topic>
290
        <topic label="Open Resource dialog" href="reference/ref-dialog-open-resource.htm"/>
290
	</topic>
291
	</topic>
291
292
292
	<topic label="Workbench menus">
293
	<topic label="Workbench menus">

Return to bug 193911