1 11 package org.eclipse.debug.internal.ui.views.registers; 12 13 import org.eclipse.debug.internal.ui.IDebugHelpContextIds; 14 import org.eclipse.debug.internal.ui.preferences.IDebugPreferenceConstants; 15 import org.eclipse.debug.internal.ui.views.variables.VariablesView; 16 import org.eclipse.debug.ui.IDebugUIConstants; 17 import org.eclipse.jface.action.IToolBarManager; 18 import org.eclipse.jface.action.Separator; 19 20 23 public class RegistersView extends VariablesView { 24 25 28 protected String getHelpContextId() { 29 return IDebugHelpContextIds.REGISTERS_VIEW; 30 } 31 32 35 protected void configureToolBar(IToolBarManager tbm) { 36 super.configureToolBar(tbm); 37 tbm.add(new Separator(IDebugUIConstants.EMPTY_REGISTER_GROUP)); 38 tbm.add(new Separator(IDebugUIConstants.REGISTER_GROUP)); 39 } 40 41 44 protected String getDetailPanePreferenceKey() { 45 return IDebugPreferenceConstants.REGISTERS_DETAIL_PANE_ORIENTATION; 46 } 47 48 51 protected String getToggleActionLabel() { 52 return RegistersViewMessages.RegistersView_0; 53 } 54 55 58 protected String getPresentationContextId() { 59 return IDebugUIConstants.ID_REGISTER_VIEW; 60 } 61 62 } 63 | Popular Tags |