1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-06 09:16:02 +02:00

Bug 218219

This commit is contained in:
Ken Ryall 2008-02-17 02:17:03 +00:00
parent 2a99774c72
commit 3c15d8a169
3 changed files with 11 additions and 1 deletions

View file

@ -97,4 +97,13 @@ public class AbsolutePathSourceContainer extends AbstractSourceContainer {
return getSourceContainerType( TYPE_ID );
}
public int hashCode() {
return TYPE_ID.hashCode();
}
public boolean equals(Object obj) {
if (!(obj instanceof AbsolutePathSourceContainer))
return false;
return true;
}
}

View file

@ -23,7 +23,7 @@ public class AbsolutePathSourceContainerType extends AbstractSourceContainerType
}
public String getMemento(ISourceContainer container) throws CoreException {
return ""; //$NON-NLS-1$
return "AbsolutePath"; //$NON-NLS-1$
}
}

View file

@ -48,6 +48,7 @@ public class CSourceLookupDirector extends AbstractSourceLookupDirector {
fSupportedTypes.add( FolderSourceContainer.TYPE_ID );
fSupportedTypes.add( DirectorySourceContainer.TYPE_ID );
fSupportedTypes.add( MappingSourceContainer.TYPE_ID );
fSupportedTypes.add( AbsolutePathSourceContainer.TYPE_ID );
}
/* (non-Javadoc)