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

Bug 82264: Enhance the Shared Libraries view. The Modules view's doesn't update labels when symbols are loaded.

This commit is contained in:
Mikhail Khodjaiants 2005-02-15 20:53:03 +00:00
parent 0e6c24fc42
commit 3a45c6790d
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2005-02-15 Mikhail Khodjaiants
Bug 82264: Enhance the Shared Libraries view.
The Modules view's doesn't update labels when symbols are loaded.
* ModulesViewEventHandler.java
2005-02-14 Mikhail Khodjaiants
Bug 82264: Enhance the Shared Libraries view.
New images for the "Load Symbols" action.

View file

@ -10,7 +10,7 @@
***********************************************************************/
package org.eclipse.cdt.debug.internal.ui.views.modules;
import org.eclipse.cdt.debug.core.model.ICSharedLibrary;
import org.eclipse.cdt.debug.core.model.ICModule;
import org.eclipse.cdt.debug.internal.ui.views.AbstractDebugEventHandler;
import org.eclipse.debug.core.DebugEvent;
import org.eclipse.debug.core.model.IDebugTarget;
@ -37,11 +37,11 @@ public class ModulesViewEventHandler extends AbstractDebugEventHandler {
switch( event.getKind() ) {
case DebugEvent.CREATE:
case DebugEvent.TERMINATE:
if ( event.getSource() instanceof IDebugTarget || event.getSource() instanceof ICSharedLibrary )
if ( event.getSource() instanceof IDebugTarget || event.getSource() instanceof ICModule )
refresh();
break;
case DebugEvent.CHANGE :
if ( event.getSource() instanceof ICSharedLibrary )
if ( event.getSource() instanceof ICModule )
refresh( event.getSource() );
break;
}