mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-10 12:03:16 +02:00
2004-08-25 Chris Wiebe
support for matching enclosed type names * browser/org/eclipse/cdt/internal/ui/browser/typehierarchy/OpenTypeHierarchyAction.java * src/org/eclipse/cdt/internal/ui/editor/AddIncludeOnSelectionAction.java
This commit is contained in:
parent
4732ac2c19
commit
2674ed534a
3 changed files with 13 additions and 2 deletions
|
@ -1,3 +1,14 @@
|
||||||
|
2004-08-25 Chris Wiebe
|
||||||
|
|
||||||
|
support for matching enclosed type names
|
||||||
|
* browser/org/eclipse/cdt/internal/ui/browser/typehierarchy/OpenTypeHierarchyAction.java
|
||||||
|
* src/org/eclipse/cdt/internal/ui/editor/AddIncludeOnSelectionAction.java
|
||||||
|
|
||||||
|
2004-08-25 Chris Wiebe
|
||||||
|
|
||||||
|
Got rid of little 'C' icons on the editor preference pages
|
||||||
|
* src/org/eclipse/cdt/internal/ui/preferences/CEditorPreferencePage.java
|
||||||
|
|
||||||
2004-08-25 Alain Magloire
|
2004-08-25 Alain Magloire
|
||||||
|
|
||||||
Fix for 65761: Show all the include paths in the includes container.
|
Fix for 65761: Show all the include paths in the includes container.
|
||||||
|
|
|
@ -181,7 +181,7 @@ public class OpenTypeHierarchyAction extends SelectionDispatchAction {
|
||||||
ITypeSearchScope projectScope = new TypeSearchScope();
|
ITypeSearchScope projectScope = new TypeSearchScope();
|
||||||
projectScope.add(unit.getCProject());
|
projectScope.add(unit.getCProject());
|
||||||
int[] kinds = {ICElement.C_CLASS, ICElement.C_STRUCT};
|
int[] kinds = {ICElement.C_CLASS, ICElement.C_STRUCT};
|
||||||
ITypeInfo[] types = AllTypesCache.getTypes(projectScope, new QualifiedTypeName(name), kinds);
|
ITypeInfo[] types = AllTypesCache.getTypes(projectScope, new QualifiedTypeName(name), kinds, true);
|
||||||
if (types != null) {
|
if (types != null) {
|
||||||
List elements = new ArrayList(types.length);
|
List elements = new ArrayList(types.length);
|
||||||
for (int i = 0; i < types.length; ++i) {
|
for (int i = 0; i < types.length; ++i) {
|
||||||
|
|
|
@ -273,7 +273,7 @@ public class AddIncludeOnSelectionAction extends Action implements IUpdate {
|
||||||
}
|
}
|
||||||
ITypeInfo[] results = null;
|
ITypeInfo[] results = null;
|
||||||
if (!monitor.isCanceled()) {
|
if (!monitor.isCanceled()) {
|
||||||
results = AllTypesCache.getTypes(scope, new QualifiedTypeName(name), types);
|
results = AllTypesCache.getTypes(scope, new QualifiedTypeName(name), types, true);
|
||||||
if (!monitor.isCanceled()) {
|
if (!monitor.isCanceled()) {
|
||||||
for (int i = 0; i < results.length; ++i) {
|
for (int i = 0; i < results.length; ++i) {
|
||||||
ITypeInfo info = results[i];
|
ITypeInfo info = results[i];
|
||||||
|
|
Loading…
Add table
Reference in a new issue