mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 00:45:28 +02:00
Changed implementation and initialization of 'AutoRefreshAction'.
This commit is contained in:
parent
7a5382c5df
commit
6dbbe6eae9
4 changed files with 7 additions and 5 deletions
|
@ -1,3 +1,9 @@
|
|||
2003-04-01 Mikhail Khodjaiants
|
||||
Changed implementation and initialization of 'AutoRefreshAction'.
|
||||
* AutoRefreshAction.java
|
||||
* RegistersView.java
|
||||
* SharedLibrariesView.java
|
||||
|
||||
2003-04-01 Mikhail Khodjaiants
|
||||
Removed the 'Show Type Names' preference from the Registers view's preference page.
|
||||
* ShowRegisterTypesAction.java
|
||||
|
|
|
@ -25,7 +25,7 @@ public class AutoRefreshAction extends Action implements IUpdate
|
|||
*/
|
||||
public AutoRefreshAction( Viewer viewer, String text )
|
||||
{
|
||||
super( text );
|
||||
super( text, Action.AS_CHECK_BOX );
|
||||
fViewer = viewer;
|
||||
}
|
||||
|
||||
|
|
|
@ -101,7 +101,6 @@ public class RegistersView extends AbstractDebugEventHandlerView
|
|||
action.setToolTipText( "Auto-Refresh" );
|
||||
WorkbenchHelp.setHelp( action, ICDebugHelpContextIds.AUTO_REFRESH_REGISTERS_ACTION );
|
||||
action.setEnabled( false );
|
||||
action.setChecked( CDebugUIPlugin.getDefault().getPreferenceStore().getBoolean( ICDebugPreferenceConstants.PREF_REGISTERS_AUTO_REFRESH ) );
|
||||
setAction( "AutoRefresh", action ); //$NON-NLS-1$
|
||||
add( (AutoRefreshAction)action );
|
||||
|
||||
|
|
|
@ -15,11 +15,9 @@ import org.eclipse.cdt.debug.internal.ui.PixelConverter;
|
|||
import org.eclipse.cdt.debug.internal.ui.actions.AutoRefreshAction;
|
||||
import org.eclipse.cdt.debug.internal.ui.actions.LoadSymbolsForAllAction;
|
||||
import org.eclipse.cdt.debug.internal.ui.actions.RefreshAction;
|
||||
import org.eclipse.cdt.debug.internal.ui.preferences.ICDebugPreferenceConstants;
|
||||
import org.eclipse.cdt.debug.internal.ui.views.AbstractDebugEventHandler;
|
||||
import org.eclipse.cdt.debug.internal.ui.views.AbstractDebugEventHandlerView;
|
||||
import org.eclipse.cdt.debug.internal.ui.views.IDebugExceptionHandler;
|
||||
import org.eclipse.cdt.debug.ui.CDebugUIPlugin;
|
||||
import org.eclipse.cdt.debug.ui.ICDebugUIConstants;
|
||||
import org.eclipse.debug.core.DebugException;
|
||||
import org.eclipse.debug.core.model.IDebugElement;
|
||||
|
@ -147,7 +145,6 @@ public class SharedLibrariesView extends AbstractDebugEventHandlerView
|
|||
action.setToolTipText( "Auto-Refresh" );
|
||||
WorkbenchHelp.setHelp( action, ICDebugHelpContextIds.AUTO_REFRESH_SHARED_LIBRARIES_ACTION );
|
||||
action.setEnabled( false );
|
||||
action.setChecked( CDebugUIPlugin.getDefault().getPreferenceStore().getBoolean( ICDebugPreferenceConstants.PREF_SHARED_LIBRARIES_AUTO_REFRESH ) );
|
||||
setAction( "AutoRefresh", action ); //$NON-NLS-1$
|
||||
add( (AutoRefreshAction)action );
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue