1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Implementing the 'Source Lookup' property page.

This commit is contained in:
Mikhail Khodjaiants 2002-12-20 22:21:32 +00:00
parent 6e48845518
commit c2ed9818ca
3 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2002-12-18 Mikhail Khodjaiants
Implementing the 'Source Lookup' property page.
* CDirectorySourceLocation.java
* CProjectSourceLocation.java
2002-12-18 Mikhail Khodjaiants
Check if CValue has variables before calling 'getCDIVariables'.
* CValue.java

View file

@ -77,6 +77,8 @@ public class CDirectorySourceLocation implements ICSourceLocation
return this;
if ( adapter.equals( CDirectorySourceLocation.class ) )
return this;
if ( adapter.equals( IPath.class ) )
return getDirectory();
return null;
}

View file

@ -78,6 +78,8 @@ public class CProjectSourceLocation implements ICSourceLocation
return this;
if ( adapter.equals( CProjectSourceLocation.class ) )
return this;
if ( adapter.equals( IProject.class ) )
return getProject();
return null;
}