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:
parent
6e48845518
commit
c2ed9818ca
3 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue