mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Fixes for toggle actions.
This commit is contained in:
parent
ad0b7bce68
commit
2ba1428cf1
5 changed files with 20 additions and 6 deletions
|
@ -1,3 +1,10 @@
|
|||
2003-04-14 Mikhail Khodjaiants
|
||||
Fixes for toggle actions.
|
||||
* plugin.xml
|
||||
* MemoryFormatAction.java
|
||||
* MemoryNumberOfColumnAction.java
|
||||
* MemorySizeAction.java
|
||||
|
||||
2003-04-11 Mikhail Khodjaiants
|
||||
Method and function breakpoints.
|
||||
* plugin.properties
|
||||
|
|
|
@ -291,6 +291,7 @@
|
|||
</action>
|
||||
<action
|
||||
label="%ShowFullPathsAction.label"
|
||||
style="toggle"
|
||||
icon="icons/full/clcl16/show_paths.gif"
|
||||
helpContextId="show_full_paths_action_context"
|
||||
class="org.eclipse.cdt.debug.internal.ui.actions.ShowFullPathsAction"
|
||||
|
@ -305,6 +306,7 @@
|
|||
</action>
|
||||
<action
|
||||
label="%SwitchToDisassemblyAction.label"
|
||||
style="toggle"
|
||||
icon="icons/full/clcl16/disassembly.gif"
|
||||
helpContextId="switch_to_disassembly_action_context"
|
||||
class="org.eclipse.cdt.debug.internal.ui.actions.SwitchToDisassemblyActionDelegate"
|
||||
|
@ -320,6 +322,7 @@
|
|||
</action>
|
||||
<action
|
||||
label="%ShowDebuggerConsoleAction.label"
|
||||
style="toggle"
|
||||
icon="icons/full/clcl16/debugger_console.gif"
|
||||
helpContextId="show_debugger_console_action_context"
|
||||
class="org.eclipse.cdt.debug.internal.ui.actions.DebuggerConsoleActionDelegate"
|
||||
|
@ -458,6 +461,7 @@
|
|||
id="org.eclipse.cdt.debug.ui.breakpointview.popupMenu">
|
||||
<action
|
||||
label="%ShowFullPathsAction.label"
|
||||
style="toggle"
|
||||
icon="icons/full/clcl16/show_paths.gif"
|
||||
helpContextId="show_full_paths_action_context"
|
||||
class="org.eclipse.cdt.debug.internal.ui.actions.ShowFullPathsAction"
|
||||
|
@ -733,6 +737,7 @@
|
|||
id="org.eclipse.cdt.debug.ui.SharedLibrariesViewPopupActions">
|
||||
<action
|
||||
label="%ShowFullPathsAction.label"
|
||||
style="toggle"
|
||||
icon="icons/full/clcl16/show_paths.gif"
|
||||
helpContextId="show_full_paths_action_context"
|
||||
class="org.eclipse.cdt.debug.internal.ui.actions.ShowFullPathsAction"
|
||||
|
@ -898,6 +903,7 @@
|
|||
</enablement>
|
||||
</action>
|
||||
<action
|
||||
style="toggle"
|
||||
id="org.eclipse.cdt.debug.internal.ui.actions.ShowFullPathsAction"
|
||||
toolbarPath="renderGroup"
|
||||
hoverIcon="icons/full/clcl16/show_paths.gif"
|
||||
|
@ -915,6 +921,7 @@
|
|||
</enablement>
|
||||
</action>
|
||||
<action
|
||||
style="toggle"
|
||||
toolbarPath="renderGroup"
|
||||
id="org.eclipse.cdt.debug.internal.ui.actions.SwitchToDisassemblyActionDelegate"
|
||||
hoverIcon="icons/full/clcl16/disassembly.gif"
|
||||
|
@ -933,6 +940,7 @@
|
|||
</enablement>
|
||||
</action>
|
||||
<action
|
||||
style="toggle"
|
||||
toolbarPath="renderGroup"
|
||||
id="org.eclipse.cdt.debug.internal.ui.actions.DebuggerConsoleActionDelegate"
|
||||
hoverIcon="icons/full/clcl16/debugger_console.gif"
|
||||
|
@ -955,6 +963,7 @@
|
|||
targetID="org.eclipse.debug.ui.BreakpointView"
|
||||
id="org.eclipse.cdt.debug.ui.breakpointview.toolbar">
|
||||
<action
|
||||
style="toggle"
|
||||
id="org.eclipse.cdt.debug.internal.ui.actions.ShowFullPathsAction"
|
||||
toolbarPath="renderGroup"
|
||||
hoverIcon="icons/full/clcl16/show_paths.gif"
|
||||
|
@ -998,6 +1007,7 @@
|
|||
targetID="org.eclipse.cdt.debug.ui.SharedLibrariesView"
|
||||
id="org.eclipse.debug.ui.sharedLibrariesView.toolbar">
|
||||
<action
|
||||
style="toggle"
|
||||
id="org.eclipse.cdt.debug.internal.ui.actions.ShowFullPathsAction"
|
||||
toolbarPath="renderGroup"
|
||||
hoverIcon="icons/full/clcl16/show_paths.gif"
|
||||
|
|
|
@ -31,11 +31,10 @@ public class MemoryFormatAction extends Action implements IUpdate
|
|||
MemoryViewer viewer,
|
||||
int format )
|
||||
{
|
||||
super( getLabel( format ) );
|
||||
super( getLabel( format ), Action.AS_CHECK_BOX );
|
||||
fGroup = group;
|
||||
fMemoryViewer = viewer;
|
||||
fFormat = format;
|
||||
setChecked( false );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -29,11 +29,10 @@ public class MemoryNumberOfColumnAction extends Action implements IUpdate
|
|||
MemoryViewer viewer,
|
||||
int numberOfColumns )
|
||||
{
|
||||
super( getLabel( numberOfColumns ) );
|
||||
super( getLabel( numberOfColumns ), Action.AS_CHECK_BOX );
|
||||
fGroup = group;
|
||||
fMemoryViewer = viewer;
|
||||
fNumberOfColumns = numberOfColumns;
|
||||
setChecked( false );
|
||||
}
|
||||
|
||||
private static String getLabel( int numberOfColumns )
|
||||
|
|
|
@ -30,11 +30,10 @@ public class MemorySizeAction extends Action implements IUpdate
|
|||
MemoryViewer viewer,
|
||||
int id )
|
||||
{
|
||||
super( getLabel( id ) );
|
||||
super( getLabel( id ), Action.AS_CHECK_BOX );
|
||||
fGroup = group;
|
||||
fMemoryViewer = viewer;
|
||||
fId = id;
|
||||
setChecked( false );
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
|
|
Loading…
Add table
Reference in a new issue