mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-02 22:05:44 +02:00
Fix compilation error with Eclipse 3.5
This commit is contained in:
parent
3898f8eaa7
commit
99bacfaf68
1 changed files with 4 additions and 1 deletions
|
@ -77,6 +77,7 @@ public class CSourceLookupParticipant extends AbstractSourceLookupParticipant {
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see org.eclipse.debug.core.sourcelookup.AbstractSourceLookupParticipant#findSourceElements(java.lang.Object)
|
* @see org.eclipse.debug.core.sourcelookup.AbstractSourceLookupParticipant#findSourceElements(java.lang.Object)
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public Object[] findSourceElements( Object object ) throws CoreException {
|
public Object[] findSourceElements( Object object ) throws CoreException {
|
||||||
|
|
||||||
// Workaround for BUG247977
|
// Workaround for BUG247977
|
||||||
|
@ -152,13 +153,14 @@ public class CSourceLookupParticipant extends AbstractSourceLookupParticipant {
|
||||||
* @see CSourceLookupParticipant#findSourceElements(Object)
|
* @see CSourceLookupParticipant#findSourceElements(Object)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
protected boolean isFindDuplicates() {
|
public boolean isFindDuplicates() {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see org.eclipse.debug.core.sourcelookup.AbstractSourceLookupParticipant#dispose()
|
* @see org.eclipse.debug.core.sourcelookup.AbstractSourceLookupParticipant#dispose()
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public void dispose() {
|
public void dispose() {
|
||||||
fListeners.removeAll();
|
fListeners.removeAll();
|
||||||
super.dispose();
|
super.dispose();
|
||||||
|
@ -175,6 +177,7 @@ public class CSourceLookupParticipant extends AbstractSourceLookupParticipant {
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see org.eclipse.debug.core.sourcelookup.AbstractSourceLookupParticipant#sourceContainersChanged(org.eclipse.debug.core.sourcelookup.ISourceLookupDirector)
|
* @see org.eclipse.debug.core.sourcelookup.AbstractSourceLookupParticipant#sourceContainersChanged(org.eclipse.debug.core.sourcelookup.ISourceLookupDirector)
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public void sourceContainersChanged( ISourceLookupDirector director ) {
|
public void sourceContainersChanged( ISourceLookupDirector director ) {
|
||||||
Object[] listeners = fListeners.getListeners();
|
Object[] listeners = fListeners.getListeners();
|
||||||
for ( int i = 0; i < listeners.length; ++i )
|
for ( int i = 0; i < listeners.length; ++i )
|
||||||
|
|
Loading…
Add table
Reference in a new issue