Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Loskutov2017-01-09 08:12:58 -0500
committerAndrey Loskutov2017-01-13 15:56:39 -0500
commitebb2566c95427e5c7cffd5e27f1e910b0a187b17 (patch)
treef9b87db9c4ccf476dfb8c8d4b5fcfcfd3f871bbb /org.eclipse.debug.ui/ui
parent1c1d17b82a223fb8fcc69b4883a71b8744899ccb (diff)
downloadeclipse.platform.debug-ebb2566c95427e5c7cffd5e27f1e910b0a187b17.tar.gz
eclipse.platform.debug-ebb2566c95427e5c7cffd5e27f1e910b0a187b17.tar.xz
eclipse.platform.debug-ebb2566c95427e5c7cffd5e27f1e910b0a187b17.zip
Also enabled "cleanup whitespace on save" actions for debug.ui and debug.tests bundles. Change-Id: I755b879ab1d49144a1bec3f4318dbb8b29521bb3 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
Diffstat (limited to 'org.eclipse.debug.ui/ui')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/AbstractDebugCheckboxSelectionDialog.java28
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/AbstractDebugListSelectionDialog.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/AbstractDebugSelectionDialog.java52
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/BreakpointImageProvider.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ColorManager.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/CompositeDebugImageDescriptor.java24
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugModelPropertyTester.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPerspectiveFactory.java20
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPluginImages.java52
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIAdapterFactory.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIMessages.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIPlugin.java234
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIPreferenceInitializer.java48
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DefaultLabelProvider.java100
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DelegatingModelPresentation.java38
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DynamicInstructionPointerAnnotation.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/IDebugHelpContextIds.java34
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/IInternalDebugUIConstants.java162
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ILaunchHistoryChangedListener.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ILaunchLabelChangedListener.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ImageDescriptorRegistry.java24
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InstructionPointerAnnotation.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InstructionPointerContext.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InstructionPointerImageProvider.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InstructionPointerManager.java70
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LaunchConfigurationTabExtension.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LazyModelPresentation.java62
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/MultipleInputDialog.java116
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/Pair.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ResourceExtender.java12
-rwxr-xr-xorg.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/SWTFactory.java152
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/TerminateToggleValue.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/VariableValueEditorManager.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/VariablesViewModelPresentation.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/WorkingDirectoryStatusHandler.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AbstractDebugActionDelegate.java52
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AbstractRemoveAllActionDelegate.java20
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AbstractSelectionActionDelegate.java26
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ActionMessages.java20
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AddToFavoritesAction.java30
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/CollapseAllAction.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ConfigureColumnsAction.java26
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/DebugAsAction.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/DebugContextualLaunchAction.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/DebugHistoryMenuAction.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/DebugLastAction.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/DebugToolbarAction.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/EditLaunchConfigurationAction.java20
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ExecutionAction.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/LaunchConfigurationAction.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/LaunchShortcutAction.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/LaunchablePropertyTester.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/OpenDebugConfigurations.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/OpenProfileConfigurations.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/OpenRunConfigurations.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ProfileAsAction.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ProfileContextualLaunchAction.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ProfileHistoryMenuAction.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ProfileLastAction.java20
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ProfileToolbarAction.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RelaunchActionDelegate.java18
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RelaunchLastAction.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RemoveAllTerminatedAction.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RetargetAction.java70
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RetargetRunToLineAction.java28
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RunAsAction.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RunContextualLaunchAction.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RunHistoryMenuAction.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RunLastAction.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RunToolbarAction.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/SelectAllAction.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/StatusInfo.java38
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ToggleBreakpointsTargetManager.java202
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ToggleFilterAction.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ViewManagementAction.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/AbstractBreakpointsViewAction.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/AdvancedGroupBreakpointsByAction.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/BreakpointSelectionAction.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/BreakpointWorkingSetAction.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/ClearDefaultBreakpointGroupAction.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/CopyBreakpointsActionDelegate.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/EditBreakpointGroupAction.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/GroupBreakpointsAction.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/GroupBreakpointsByAction.java30
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/GroupBreakpointsByDialog.java100
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/PasteBreakpointsAction.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/RemoveFromWorkingSetAction.java36
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/SelectBreakpointWorkingsetDialog.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/SetDefaultBreakpointGroupAction.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/ToggleDefaultGroupAction.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/WorkingSetsAction.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointSortBy/SortBreakpointsAction.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointSortBy/SortBreakpointsByAction.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/AccessWatchpointToggleAction.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/BreakpointsCollapseAllAction.java20
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/BreakpointsExpandAllAction.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/DeleteWorkingsetsMessageDialog.java34
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/DisableBreakpointsAction.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/EnableBreakpointsAction.java54
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/LinkBreakpointsWithDebugViewAction.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/Messages.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/ModificationWatchpointToggleAction.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/ModifyWatchpointAction.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/OpenBreakpointMarkerAction.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/RemoveAllBreakpointsAction.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/RemoveAllTriggerPointsAction.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/RemoveBreakpointAction.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/RetargetBreakpointAction.java18
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/RetargetMethodBreakpointAction.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/RetargetToggleBreakpointAction.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/RetargetToggleLineBreakpointAction.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/RetargetWatchpointAction.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/RulerEnableDisableBreakpointAction.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/SelectAllBreakpointsAction.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/ShowSupportedBreakpointsAction.java54
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/ShowTargetBreakpointsAction.java18
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/SkipAllBreakpointsAction.java40
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/ToggleBreakpointObjectActionDelegate.java18
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/expressions/AddWatchExpressionAction.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/expressions/ConvertToWatchExpressionAction.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/expressions/DisableWatchExpressionAction.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/expressions/EditWatchExpressinInPlaceAction.java26
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/expressions/EditWatchExpressionAction.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/expressions/EnableWatchExpressionAction.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/expressions/PasteWatchExpressionsAction.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/expressions/ReevaluateWatchExpressionAction.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/expressions/RemoveAllExpressionsAction.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/expressions/RemoveExpressionAction.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/expressions/SelectAllExpressionsAction.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/expressions/WatchExpressionAction.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/expressions/WatchExpressionDialog.java24
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/expressions/WatchExpressionFactoryTester.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/expressions/WatchHandler.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/variables/ChangeVariableValueAction.java40
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/variables/ChangeVariableValueInputDialog.java52
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/variables/SelectAllVariablesAction.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/variables/ShowTypesAction.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/variables/ToggleDetailPaneAction.java34
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/variables/details/DetailPaneAssignValueAction.java34
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/variables/details/DetailPaneMaxLengthAction.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/variables/details/DetailPaneMaxLengthDialog.java26
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/variables/details/DetailPaneWordWrapAction.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/breakpoints/provisional/IBreakpointContainer.java20
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/breakpoints/provisional/IBreakpointOrganizer.java28
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/breakpoints/provisional/IBreakpointUIConstants.java54
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/breakpoints/provisional/OtherBreakpointCategory.java26
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/AbstractRequestMonitor.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/ActionsUpdater.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/DebugActionHandler.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/DebugCommandActionDelegate.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/DebugCommandService.java64
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/DisconnectCommandAction.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/DisconnectCommandActionDelegate.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/DisconnectCommandHandler.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/DropToFrameCommandAction.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/DropToFrameCommandActionDelegate.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/DropToFrameCommandHandler.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/ExecuteActionRequest.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/ICommandParticipant.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/IEnabledTarget.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/RestartCommandAction.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/RestartCommandActionDelegate.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/RestartCommandHandler.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/ResumeCommandAction.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/ResumeCommandActionDelegate.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/ResumeCommandHandler.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/StepIntoCommandAction.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/StepIntoCommandActionDelegate.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/StepIntoCommandHandler.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/StepOverCommandAction.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/StepOverCommandActionDelegate.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/StepOverCommandHandler.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/StepReturnCommandAction.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/StepReturnCommandActionDelegate.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/StepReturnCommandHandler.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/SuspendCommandAction.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/SuspendCommandActionDelegate.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/SuspendCommandHandler.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/TerminateAllAction.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/TerminateAllActionDelegate.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/TerminateAndRelaunchAction.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/TerminateAndRelaunchHandler.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/TerminateAndRemoveAction.java24
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/TerminateCommandAction.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/TerminateCommandActionDelegate.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/TerminateCommandHandler.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/ToggleStepFiltersAction.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/ToggleStepFiltersCommandActionDelegate.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/ToggleStepFiltersCommandHandler.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/UpdateActionsRequest.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/UpdateHandlerRequest.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contextlaunching/ContextMessages.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contextlaunching/ContextRunner.java62
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contextlaunching/LaunchingResourceManager.java112
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contexts/DebugContextManager.java36
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contexts/DebugContextSourceProvider.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contexts/DebugModelContextBindingManager.java86
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contexts/DebugWindowContextService.java116
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contexts/LaunchSuspendTrigger.java18
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/contexts/SuspendTriggerAdapterFactory.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/AsynchronousDebugLabelAdapter.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/DefaultBreakpointsViewInput.java22
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/DefaultVariableCellModifier.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/DefaultViewerInputProvider.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/MemoryBlockContentAdapter.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/MemoryBlockLabelAdapter.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/MemoryRetrievalContentAdapter.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/MemorySegmentLabelAdapter.java124
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/Messages.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/RegisterGroupProxy.java70
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/StackFrameViewerInputProvider.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/VariableColumnFactoryAdapter.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/VariableColumnPresentation.java18
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/WatchExpressionCellModifier.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/groups/ComboControlledStackComposite.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/groups/CommonTabLite.java106
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/groups/GroupElementLaunchedHandler.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/groups/GroupLaunchConfigurationSelectionDialog.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/groups/GroupLaunchConfigurationTabGroup.java54
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/groups/GroupLaunchHandler.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/groups/UnsupportedModeHandler.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/importexport/breakpoints/EmbeddedBreakpointsViewer.java34
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/importexport/breakpoints/ExportBreakpoints.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/importexport/breakpoints/IImportExportConstants.java66
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/importexport/breakpoints/ImportBreakpoints.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/importexport/breakpoints/ImportExportMessages.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/importexport/breakpoints/WizardExportBreakpoints.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/importexport/breakpoints/WizardExportBreakpointsPage.java56
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/importexport/breakpoints/WizardImportBreakpoints.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/importexport/breakpoints/WizardImportBreakpointsPage.java44
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/importexport/launchconfigurations/ExportLaunchConfigurationsWizard.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/importexport/launchconfigurations/ExportLaunchConfigurationsWizardPage.java22
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/importexport/launchconfigurations/ImportLaunchConfigurationsWizard.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/importexport/launchconfigurations/ImportLaunchConfigurationsWizardPage.java48
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/AbstractLaunchConfigurationAction.java34
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/ClosedProjectFilter.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/CollapseAllLaunchConfigurationAction.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/CompileErrorProjectPromptStatusHandler.java20
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/CompileErrorPromptStatusHandler.java28
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/CreateLaunchConfigurationAction.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/DebugModePromptStatusHandler.java26
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/DeleteLaunchConfigurationAction.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/DeletedProjectFilter.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/DuplicateLaunchConfigurationAction.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/DuplicateLaunchDelegatesStatusHandler.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/EnvironmentVariable.java24
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/FavoritesDialog.java128
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/FilterDropDownMenuCreator.java20
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/FilterLaunchConfigurationAction.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchCategoryFilter.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationComparator.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationDialog.java18
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationEditDialog.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationFilteredTree.java30
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationManager.java210
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationPresentationManager.java80
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationPropertiesDialog.java50
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationSelectionDialog.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupExtension.java64
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupViewer.java298
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabGroupWrapper.java26
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTabImageDescriptor.java22
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTreeContentProvider.java34
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTypeContribution.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationTypeFilter.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationView.java86
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationViewer.java24
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java250
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsMessages.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchDelegateContribution.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchDelegateNotAvailableHandler.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchGroupExtension.java62
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchGroupFilter.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchHistory.java112
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchShortcutExtension.java110
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchShortcutSelectionDialog.java24
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchTabContribution.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/OrganizeFavoritesAction.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/PerspectiveManager.java200
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/SaveScopeResourcesHandler.java42
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/SelectFavoritesDialog.java20
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/SelectLaunchModesDialog.java18
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/SelectLaunchersDialog.java32
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/WorkingSetComparator.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/WorkingSetsFilter.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/memory/IMemoryBlockConnection.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/memory/IMemoryRenderingUpdater.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/memory/IPersistableDebugElement.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/memory/MemoryRenderingManager.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/memory/MemoryRenderingType.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/memory/RenderingBindings.java20
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/memory/provisional/AbstractAsyncTableRendering.java106
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/memory/provisional/AbstractAsyncTextRendering.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/memory/provisional/MemoryViewPresentationContext.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/BreakpointContainerLabelProvider.java30
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/BreakpointContainerMementoProvider.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/BreakpointContentProvider.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/BreakpointLabelProvider.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/BreakpointManagerContentProvider.java326
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/BreakpointManagerInputMementoProvider.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/BreakpointMementoProvider.java20
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/DebugElementLabelProvider.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/DebugElementMementoProvider.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/DebugTargetContentProvider.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/ElementContentProvider.java72
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/ElementLabelProvider.java94
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/ElementMementoProvider.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/ExpressionContentProvider.java32
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/ExpressionLabelProvider.java50
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/ExpressionManagerContentProvider.java52
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/ExpressionManagerMementoProvider.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/ExpressionMementoProvider.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/LaunchContentProvider.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/MemoryBlockContentProvider.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/MemoryBlockLabelProvider.java18
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/MemoryRetrievalContentProvider.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/MemoryViewElementMementoProvider.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/ProcessContentProvider.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/RegisterGroupContentProvider.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/RegisterGroupLabelProvider.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/RegisterGroupMementoProvider.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/StackFrameContentProvider.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/StackFrameMementoProvider.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/VariableContentProvider.java40
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/VariableLabelProvider.java34
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/VariableMementoProvider.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/model/elements/ViewerInputProvider.java32
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/BooleanFieldEditor2.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/ConsolePreferencePage.java78
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/DebugPreferencePage.java30
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/DebugPreferencesMessages.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/IDebugPreferenceConstants.java144
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/LaunchConfigurationsPreferencePage.java56
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/LaunchPerspectivePreferencePage.java78
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/LaunchersPreferencePage.java28
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/LaunchingPreferencePage.java64
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/ProcessPropertyPage.java56
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/RunDebugPropertiesPage.java80
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/StringVariablePreferencePage.java158
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/preferences/ViewManagementPreferencePage.java68
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/AddContainerAction.java22
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/AddSourceContainerDialog.java44
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/BasicContainerContentProvider.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/DownAction.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/EditContainerAction.java18
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/EditSourceLookupPathAction.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/LookupSourceAction.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/Prompter.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/RemoveAction.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/ResolveDuplicatesHandler.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/RestoreDefaultAction.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceContainerAction.java38
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceContainerAdapterFactory.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceContainerLabelProvider.java18
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceContainerViewer.java72
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceContainerWorkbenchAdapter.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceElementAdapterFactory.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceElementLabelProvider.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceElementWorkbenchAdapter.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupFacility.java78
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupManager.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupPanel.java136
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupResult.java38
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupService.java24
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceLookupUIUtils.java28
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/UpAction.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/WorkingSetSourceContainerType.java36
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/browsers/ArchiveFilter.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/browsers/ArchiveSourceContainerBrowser.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/browsers/DirectorySourceContainerBrowser.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/browsers/DirectorySourceContainerDialog.java30
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/browsers/ExternalArchiveSourceContainerBrowser.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/browsers/FolderSourceContainerBrowser.java22
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/browsers/FolderSourceContainerDialog.java44
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/browsers/ProjectSourceContainerBrowser.java20
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/browsers/ProjectSourceContainerDialog.java28
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/browsers/WorkingSetSourceContainerBrowser.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/browsers/WorkspaceSourceContainerBrowser.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/stringsubstitution/FilePrompt.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/stringsubstitution/FolderPrompt.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/stringsubstitution/IArgumentSelector.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/stringsubstitution/PasswordPrompt.java18
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/stringsubstitution/PromptingResolver.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/stringsubstitution/ResourceSelector.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/stringsubstitution/SelectedResourceManager.java38
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/stringsubstitution/SelectedResourceResolver.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/stringsubstitution/SelectedTextResolver.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/stringsubstitution/StringPrompt.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/stringsubstitution/StringSubstitutionMessages.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/stringsubstitution/StringVariableLabelProvider.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/stringsubstitution/StringVariablePresentationManager.java28
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/stringsubstitution/SystemPropertyArgumentSelector.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/AbstractUpdatePolicy.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/AsynchronousModel.java162
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/AsynchronousRequestMonitor.java46
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/AsynchronousSchedulingRuleFactory.java30
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/AsynchronousTableModel.java44
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/AsynchronousTableViewer.java30
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/AsynchronousViewer.java276
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/ChildrenRequestMonitor.java18
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/FindElementDialog.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/ILabelResult.java24
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/LabelRequestMonitor.java28
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/LabelResult.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/ModelNode.java60
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/PartPresentationContext.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/TableAddRequestMonitor.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/TableEditorImpl.java28
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/TableInsertRequestMonitor.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/TableRemoveRequestMonitor.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/TableReplaceRequestMonitor.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/TableUpdatePolicy.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/breadcrumb/AbstractBreadcrumb.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/breadcrumb/BreadcrumbItem.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/breadcrumb/BreadcrumbItemDetails.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/breadcrumb/BreadcrumbItemDropDown.java38
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/breadcrumb/BreadcrumbViewer.java60
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/breadcrumb/IBreadcrumbDropDownSite.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/breadcrumb/TreeViewerDropDown.java60
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ChildrenCountUpdate.java50
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ChildrenUpdate.java54
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ElementCompareRequest.java38
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ElementMementoRequest.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/FilterTransform.java102
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/HasChildrenUpdate.java28
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/IInternalTreeModelViewer.java118
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ILabelUpdateListener.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ITreeModelContentProvider.java112
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ITreeModelLabelProvider.java26
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ITreeModelViewer.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/InternalTreeModelViewer.java384
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/InternalVirtualTreeModelViewer.java272
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/LabelUpdate.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/MementoUpdate.java20
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/SubTreeModelViewer.java114
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/TimeTriggeredProgressMonitorDialog.java32
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/TreeModelContentProvider.java272
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/TreeModelLabelProvider.java122
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ViewerAdapterService.java64
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ViewerInputUpdate.java30
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ViewerStateTracker.java330
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ViewerUpdateMonitor.java84
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/VirtualCopyToClipboardActionDelegate.java78
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/VirtualFindAction.java78
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/ICheckUpdate.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/ICheckboxModelProxy.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IChildrenCountUpdate.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IChildrenUpdate.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IColumnPresentation.java34
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IColumnPresentation2.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IColumnPresentationFactory.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IElementCompareRequest.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IElementContentProvider.java24
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IElementEditor.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IElementLabelProvider.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IElementMementoProvider.java18
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IElementMementoRequest.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IHasChildrenUpdate.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/ILabelUpdate.java26
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelChangedListener.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelDelta.java72
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelDeltaVisitor.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelProxy.java36
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelProxy2.java20
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelProxyFactory.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelProxyFactory2.java18
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelSelectionPolicy.java18
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IModelSelectionPolicyFactory.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IPresentationContext.java56
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IStateUpdateListener.java20
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IStatusMonitor.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/ITreeModelViewer.java114
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IViewActionProvider.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IViewerInputProvider.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IViewerInputRequestor.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IViewerInputUpdate.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IViewerUpdate.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IViewerUpdateListener.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IVirtualItemListener.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/IVirtualItemValidator.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/ModelDelta.java68
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/PresentationContext.java44
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/TreeModelViewer.java84
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/TreeModelViewerFilter.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/ViewerInputService.java24
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/VirtualItem.java152
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/VirtualTree.java58
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/VirtualTreeModelViewer.java96
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/provisional/AbstractColumnPresentation.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/provisional/AbstractModelProxy.java48
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/provisional/AsynchronousContentAdapter.java46
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/provisional/AsynchronousLabelAdapter.java38
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/provisional/IAsynchronousContentAdapter.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/provisional/IAsynchronousLabelAdapter.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/provisional/IChildrenRequestMonitor.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/provisional/IContainerRequestMonitor.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/provisional/ILabelRequestMonitor.java22
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/BreakpointContainerProxy.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/BreakpointManagerProxy.java46
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/BreakpointProxy.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/DebugEventHandler.java74
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/DebugTargetEventHandler.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/DebugTargetProxy.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/DefaultExpressionModelProxy.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/DefaultModelProxyFactory.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/DefaultModelSelectionPolicyFactory.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/DefaultSelectionPolicy.java26
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/DefaultVariableViewModelProxy.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/DefaultWatchExpressionModelProxy.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/EventHandlerModelProxy.java30
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/ExpressionEventHandler.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/ExpressionManagerModelProxy.java24
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/LaunchManagerProxy.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/LaunchProxy.java28
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/MemoryBlockProxy.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/MemoryRetrievalProxy.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/ProcessProxy.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/StackFrameEventHandler.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/ThreadEventHandler.java56
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/VariablesViewEventHandler.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/DebugModelPresentationContext.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/IDebugExceptionHandler.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/ViewContextManager.java22
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/ViewContextService.java288
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointContainer.java244
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointContainerWorkbenchAdapter.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointFactory.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointOrganizerExtension.java28
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointOrganizerManager.java30
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointPersistableElementAdapter.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointSetOrganizer.java56
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointTypeOrganizer.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointWorkingSetCache.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointWorkingSetElementAdapter.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointWorkingSetPage.java26
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointsComparator.java40
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointsContentProvider.java28
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointsDragAdapter.java22
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointsDropAdapter.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointsLabelProvider.java20
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointsView.java156
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointsViewer.java54
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/ElementComparator.java62
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/FileBreakpointOrganizer.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/ProjectBreakpointOrganizer.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/WorkingSetBreakpointOrganizer.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/WorkingSetCategory.java20
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/console/ConsoleLineNotifier.java20
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/console/ConsoleMessages.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/console/ConsoleRemoveAllTerminatedAction.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/console/ConsoleRemoveLaunchAction.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/console/ConsoleShowPreferencesAction.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/console/ConsoleTerminateAction.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/console/ProcessConsole.java58
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/console/ProcessConsoleManager.java70
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/console/ProcessConsolePageParticipant.java36
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/console/ProcessTypePropertyTester.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/console/ShowStandardErrorAction.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/console/ShowStandardOutAction.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/console/ShowWhenContentChangesAction.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/expression/ExpressionDropAdapter.java62
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/expression/ExpressionView.java52
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/BreadcrumbDropDownAutoExpandAction.java20
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/BreadcrumbWorkbenchPart.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/DebugElementAdapterFactory.java68
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/DebugElementHelper.java24
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/DebugToolBarAction.java20
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/DebugViewModeAction.java34
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/Decoration.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/DecorationManager.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/ImageImageDescriptor.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchView.java408
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchViewBreadcrumb.java138
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchViewCopyToClipboardActionDelegate.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/SourceNotFoundEditor.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/SourceNotFoundEditorInput.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/StandardDecoration.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/TerminateAndRemoveHandler.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/AbstractMemoryViewPane.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/AddMemoryBlockAction.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/AddMemoryRenderingAction.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/AddMemoryRenderingContextAction.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/AddMemoryRenderingDialog.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/CodePagesPreferencePage.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/IMemoryView.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/IMemoryViewPane.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/IMemoryViewTab.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/LinkRenderingPanesAction.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/MemoryBlocksTreeViewPane.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/MemoryView.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/MemoryViewIdRegistry.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/MemoryViewPrefAction.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/MemoryViewSynchronizationService.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/MemoryViewTab.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/MemoryViewTreeViewer.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/MemoryViewUtil.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/MonitorMemoryBlockDialog.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/PinMemoryBlockAction.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/PropertyChangeNotifier.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/RemoveMemoryRenderingAction.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/RemoveRenderingContextAction.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/RenderingViewPane.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/ResetMemoryBlockAction.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/ResetMemoryBlockPreferencePage.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/RetargetAddMemoryBlockAction.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/SetPaddedStringPreferencePage.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/SwitchMemoryBlockAction.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/SynchronizeInfo.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/ToggleMemoryMonitorsAction.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/ToggleSplitPaneAction.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/ToggleViewPaneAction.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/ViewPaneRenderingMgr.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/ViewPaneSelectionProvider.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/ViewTabEnablementManager.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/ASCIIRendering.java28
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/ASCIIRenderingTypeDelegate.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/AbstractBaseTableRendering.java28
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/AbstractIntegerRendering.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/AbstractTableRenderingLabelProvider.java32
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/AbstractVirtualContentTableModel.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/AsyncCopyTableRenderingAction.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/AsyncPrintTableRenderingAction.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/AsyncTableRenderingCellModifier.java48
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/AsyncTableRenderingUpdatePolicy.java34
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/AsyncTableRenderingViewer.java308
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/BasicDebugViewContentProvider.java20
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/BigEndianAction.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/CopyTableRenderingToClipboardAction.java54
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/CreateRendering.java102
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/DefaultEndianessAction.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/ErrorRendering.java24
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/FormatTableRenderingAction.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/FormatTableRenderingDialog.java166
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/GoToAddressAction.java60
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/GoToAddressComposite.java48
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/HexIntegerRendering.java18
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/HexRendering.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/HexRenderingTypeDelegate.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/IContentChangeComputer.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/IPresentationErrorListener.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/IVirtualContentListener.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/LittleEndianAction.java18
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/MemorySegment.java26
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/PendingPropertyChanges.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/PrintTableRenderingAction.java50
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/ReformatAction.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/RenderingsUtil.java140
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/ResetToBaseAddressAction.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/SignedIntegerRendering.java62
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/SignedIntegerRenderingTypeDelegate.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/TableRenderingCellModifier.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/TableRenderingContentDescriptor.java50
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/TableRenderingContentInput.java34
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/TableRenderingContentProvider.java310
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/TableRenderingLabelProvider.java28
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/TableRenderingLabelProviderEx.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/TableRenderingLine.java102
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/TableRenderingModel.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/TableRenderingPrefAction.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/TableRenderingPreferencePage.java52
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/TableRenderingPropertiesPage.java50
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/UnsignedIntegerRendering.java72
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/UnsignedIntegerRenderingTypeDelegate.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/modules/IHelpContextIdProvider.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/modules/ModulesView.java40
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/modules/ModulesViewMessages.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/registers/RegistersView.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/registers/RegistersViewMessages.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/AvailableLogicalStructuresAction.java22
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/IndexedValuePartition.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/IndexedVariablePartition.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/LogicalStructureCache.java38
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/SelectLogicalStructureAction.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/SelectionDragAdapter.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/ToggleLogicalStructureAction.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/ToggleShowColumnsAction.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/VariableViewToggleAction.java22
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/VariablesView.java336
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/VariablesViewMessages.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/details/AbstractDetailPane.java48
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/details/AvailableDetailPanesAction.java48
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/details/DefaultDetailPane.java214
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/details/DefaultDetailPaneFactory.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/details/DetailPaneManager.java142
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/details/DetailPaneProxy.java74
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/details/IDetailPaneContainer.java26
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/details/IDetailPaneContainer2.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/details/MessageDetailPane.java20
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractBreakpointOrganizerDelegate.java28
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractDebugView.java248
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractLaunchConfigurationTab.java150
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractLaunchConfigurationTabGroup.java28
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/BreakpointTypeCategory.java20
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/CommonTab.java178
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/DebugElementWorkbenchAdapter.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/DebugPopup.java32
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/DebugUITools.java256
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/DeferredDebugElementWorkbenchAdapter.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/EnvironmentTab.java114
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IBreakpointOrganizerDelegate.java38
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IBreakpointOrganizerDelegateExtension.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IBreakpointTypeCategory.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDebugEditorPresentation.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDebugModelPresentation.java18
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDebugModelPresentationExtension.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDebugUIConstants.java606
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDebugView.java40
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDetailPane.java34
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDetailPane2.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDetailPane3.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDetailPaneFactory.java32
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IInstructionPointerPresentation.java20
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/ILaunchConfigurationDialog.java52
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/ILaunchConfigurationTab.java80
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/ILaunchConfigurationTab2.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/ILaunchConfigurationTabGroup.java36
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/ILaunchGroup.java34
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/ILaunchShortcut.java32
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/ILaunchShortcut2.java34
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/ISourcePresentation.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IValueDetailListener.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/InspectPopupDialog.java58
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/RefreshTab.java114
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/StringVariableSelectionDialog.java68
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/WorkingDirectoryBlock.java122
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/AbstractLaunchHistoryAction.java142
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/AbstractLaunchToolbarAction.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/AddMemoryRenderingActionDelegate.java78
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/BreakpointTypesContribution.java38
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/ContextualLaunchAction.java20
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/DebugAction.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/DebugCommandAction.java90
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/DebugCommandHandler.java94
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/ExportBreakpointsOperation.java22
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/IAddMemoryBlocksTarget.java20
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/IAddMemoryRenderingsTarget.java22
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/ILaunchable.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/IRunToLineTarget.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/IToggleBreakpointsTarget.java40
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/IToggleBreakpointsTargetExtension.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/IToggleBreakpointsTargetExtension2.java18
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/IToggleBreakpointsTargetFactory.java60
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/IToggleBreakpointsTargetManager.java46
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/IToggleBreakpointsTargetManagerListener.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/IVariableValueEditor.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/IWatchExpressionFactoryAdapter.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/IWatchExpressionFactoryAdapter2.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/IWatchExpressionFactoryAdapterExtension.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/ImportBreakpointsOperation.java66
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/LaunchAction.java28
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/LaunchAsAction.java70
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/LaunchShortcutsAction.java58
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/OpenLaunchDialogAction.java26
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/RelaunchLastAction.java60
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/RulerBreakpointAction.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/RulerBreakpointTypesActionDelegate.java54
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/RulerEnableDisableBreakpointActionDelegate.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/RulerToggleBreakpointActionDelegate.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/RunAction.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/RunToLineActionDelegate.java36
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/RunToLineHandler.java24
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/ToggleBreakpointAction.java50
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/ToggleMethodBreakpointActionDelegate.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/ToggleWatchpointActionDelegate.java2
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/console/ConsoleColorProvider.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/console/FileLink.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/console/IConsole.java38
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/console/IConsoleColorProvider.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/console/IConsoleHyperlink.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/console/IConsoleLineTracker.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/console/IConsoleLineTrackerExtension.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/AbstractDebugContextProvider.java12
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/DebugContextEvent.java22
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/IDebugContextListener.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/IDebugContextManager.java20
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/IDebugContextProvider.java22
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/IDebugContextProvider2.java18
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/IDebugContextService.java80
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/ISuspendTrigger.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/contexts/ISuspendTriggerListener.java4
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/memory/AbstractMemoryRendering.java108
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/memory/AbstractMemoryRenderingBindingsProvider.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/memory/AbstractTableRendering.java1342
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/memory/AbstractTextRendering.java32
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/memory/IMemoryBlockTablePresentation.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/memory/IMemoryRendering.java40
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/memory/IMemoryRenderingBindingsListener.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/memory/IMemoryRenderingBindingsProvider.java22
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/memory/IMemoryRenderingContainer.java30
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/memory/IMemoryRenderingManager.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/memory/IMemoryRenderingSite.java18
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/memory/IMemoryRenderingSite2.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/memory/IMemoryRenderingSynchronizationService.java22
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/memory/IMemoryRenderingType.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/memory/IMemoryRenderingTypeDelegate.java8
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/memory/IRepositionableMemoryRendering.java14
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/memory/IResettableMemoryRendering.java6
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/memory/MemoryRenderingElement.java18
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/sourcelookup/AbstractSourceContainerBrowser.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/sourcelookup/CommonSourceNotFoundEditor.java90
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/sourcelookup/CommonSourceNotFoundEditorInput.java24
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/sourcelookup/ISourceContainerBrowser.java20
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/sourcelookup/ISourceDisplay.java10
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/sourcelookup/ISourceLookupResult.java16
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/sourcelookup/SourceLookupDialog.java34
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/sourcelookup/SourceLookupTab.java36
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/sourcelookup/WorkingSetSourceContainer.java34
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/stringsubstitution/IArgumentSelector.java10
808 files changed, 13755 insertions, 13755 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/AbstractDebugCheckboxSelectionDialog.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/AbstractDebugCheckboxSelectionDialog.java
index c79039ec2..2a4faf8c2 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/AbstractDebugCheckboxSelectionDialog.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/AbstractDebugCheckboxSelectionDialog.java
@@ -29,17 +29,17 @@ import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Table;
/**
- * This class provides selection dialog using a check box table viewer.
- *
+ * This class provides selection dialog using a check box table viewer.
+ *
* @since 3.4
*/
public abstract class AbstractDebugCheckboxSelectionDialog extends AbstractDebugSelectionDialog {
-
+
/**
* Whether to add Select All / De-select All buttons to the custom footer controls.
*/
private boolean fShowSelectButtons = false;
-
+
/**
* Constructor
* @param parentShell the parent shell
@@ -48,7 +48,7 @@ public abstract class AbstractDebugCheckboxSelectionDialog extends AbstractDebug
super(parentShell);
setShellStyle(getShellStyle() | SWT.RESIZE);
}
-
+
/**
* Returns the viewer cast to the correct instance. Possibly <code>null</code> if
* the viewer has not been created yet.
@@ -57,7 +57,7 @@ public abstract class AbstractDebugCheckboxSelectionDialog extends AbstractDebug
protected CheckboxTableViewer getCheckBoxTableViewer() {
return (CheckboxTableViewer) fViewer;
}
-
+
/* (non-Javadoc)
* @see org.eclipse.debug.internal.ui.launchConfigurations.AbstractDebugSelectionDialog#initializeControls()
*/
@@ -70,7 +70,7 @@ public abstract class AbstractDebugCheckboxSelectionDialog extends AbstractDebug
}
super.initializeControls();
}
-
+
/* (non-Javadoc)
* @see org.eclipse.debug.internal.ui.launchConfigurations.AbstractDebugSelectionDialog#createViewer(org.eclipse.swt.widgets.Composite)
*/
@@ -92,7 +92,7 @@ public abstract class AbstractDebugCheckboxSelectionDialog extends AbstractDebug
protected void addViewerListeners(StructuredViewer viewer) {
getCheckBoxTableViewer().addCheckStateListener(new DefaultCheckboxListener());
}
-
+
/**
* A checkbox state listener that ensures that exactly one element is checked
* and enables the OK button when this is the case.
@@ -104,7 +104,7 @@ public abstract class AbstractDebugCheckboxSelectionDialog extends AbstractDebug
getButton(IDialogConstants.OK_ID).setEnabled(isValid());
}
}
-
+
/* (non-Javadoc)
* @see org.eclipse.debug.internal.ui.AbstractDebugSelectionDialog#isValid()
*/
@@ -122,7 +122,7 @@ public abstract class AbstractDebugCheckboxSelectionDialog extends AbstractDebug
setResult(Arrays.asList(elements));
super.okPressed();
}
-
+
/* (non-Javadoc)
* @see org.eclipse.debug.internal.ui.launchConfigurations.AbstractDebugSelectionDialog#addCustomFooterControls(org.eclipse.swt.widgets.Composite)
*/
@@ -150,16 +150,16 @@ public abstract class AbstractDebugCheckboxSelectionDialog extends AbstractDebug
});
}
}
-
+
/**
- * If this setting is set to true before the dialog is opened, a Select All and
+ * If this setting is set to true before the dialog is opened, a Select All and
* a De-select All button will be added to the custom footer controls. The default
* setting is false.
- *
+ *
* @param setting whether to show the select all and de-select all buttons
*/
protected void setShowSelectAllButtons(boolean setting){
fShowSelectButtons = setting;
}
-
+
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/AbstractDebugListSelectionDialog.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/AbstractDebugListSelectionDialog.java
index 9910e0c4e..6303d5dc2 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/AbstractDebugListSelectionDialog.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/AbstractDebugListSelectionDialog.java
@@ -26,13 +26,13 @@ import org.eclipse.swt.widgets.Shell;
/**
* This class provides a simple selection dialog displaying items in a table.
- *
+ *
* @since 3.3
*/
public abstract class AbstractDebugListSelectionDialog extends AbstractDebugSelectionDialog {
protected TableViewer fListViewer;
-
+
/**
* Constructor
* @param parentShell the parent shell
@@ -41,7 +41,7 @@ public abstract class AbstractDebugListSelectionDialog extends AbstractDebugSele
super(parentShell);
setShellStyle(getShellStyle() | SWT.RESIZE);
}
-
+
/* (non-Javadoc)
* @see org.eclipse.debug.internal.ui.AbstractDebugSelectionDialog#createViewer(org.eclipse.swt.widgets.Composite)
*/
@@ -54,7 +54,7 @@ public abstract class AbstractDebugListSelectionDialog extends AbstractDebugSele
fListViewer.getTable().setLayoutData(gd);
return fListViewer;
}
-
+
/* (non-Javadoc)
* @see org.eclipse.debug.internal.ui.launchConfigurations.AbstractDebugSelectionDialog#addViewerListeners(org.eclipse.jface.viewers.StructuredViewer)
*/
@@ -75,7 +75,7 @@ public abstract class AbstractDebugListSelectionDialog extends AbstractDebugSele
}
});
}
-
+
/* (non-Javadoc)
* @see org.eclipse.debug.internal.ui.AbstractDebugSelectionDialog#isValid()
*/
@@ -89,7 +89,7 @@ public abstract class AbstractDebugListSelectionDialog extends AbstractDebugSele
}
return false;
}
-
+
/* (non-Javadoc)
* @see org.eclipse.jface.dialogs.Dialog#okPressed()
*/
@@ -101,5 +101,5 @@ public abstract class AbstractDebugListSelectionDialog extends AbstractDebugSele
}
super.okPressed();
}
-
+
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/AbstractDebugSelectionDialog.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/AbstractDebugSelectionDialog.java
index fcbe5bd16..e1a9c034e 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/AbstractDebugSelectionDialog.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/AbstractDebugSelectionDialog.java
@@ -30,16 +30,16 @@ import org.eclipse.ui.dialogs.SelectionDialog;
/**
* This class provides the framework for a general selection dialog class.
- *
+ *
* @see AbstractDebugListSelectionDialog
* @see AbstractDebugCheckboxSelectionDialog
- *
+ *
* @since 3.3
*/
public abstract class AbstractDebugSelectionDialog extends SelectionDialog {
protected StructuredViewer fViewer = null;
-
+
/**
* Constructor
* @param parentShell the parent shell
@@ -48,37 +48,37 @@ public abstract class AbstractDebugSelectionDialog extends SelectionDialog {
super(parentShell);
setDialogBoundsSettings(getDialogBoundsSettings(), Dialog.DIALOG_PERSISTSIZE);
}
-
+
/**
* returns the dialog settings area id
* @return the id of the dialog settings area
*/
protected abstract String getDialogSettingsId();
-
+
/**
* Returns the object to use as input for the viewer
* @return the object to use as input for the viewer
*/
protected abstract Object getViewerInput();
-
+
/**
* Create and return a viewer to use in this dialog.
- *
+ *
* @param parent the composite the viewer should be created in
* @return the viewer to use in the dialog
*/
protected abstract StructuredViewer createViewer(Composite parent);
-
+
/**
* Returns if the dialog and/or current selection is/are valid.
* This method is polled when selection changes are made to update the enablement
- * of the OK button by default
+ * of the OK button by default
* @return true if the dialog is in a valid state, false otherwise
- *
+ *
* @since 3.4
*/
protected abstract boolean isValid();
-
+
/**
* Returns the content provider for the viewer
* @return the content provider for the viewer
@@ -87,7 +87,7 @@ public abstract class AbstractDebugSelectionDialog extends SelectionDialog {
//by default return a simple array content provider
return new ArrayContentProvider();
}
-
+
/**
* Returns the label provider used by the viewer
* @return the label provider used in the viewer
@@ -95,13 +95,13 @@ public abstract class AbstractDebugSelectionDialog extends SelectionDialog {
protected IBaseLabelProvider getLabelProvider() {
return new DefaultLabelProvider();
}
-
+
/**
* Returns the help context id for this dialog
* @return the help context id for this dialog
*/
abstract protected String getHelpContextId();
-
+
/**
* This method allows listeners to be added to the viewer after it
* is created.
@@ -109,13 +109,13 @@ public abstract class AbstractDebugSelectionDialog extends SelectionDialog {
/**
* This method allows listeners to be added to the viewer. Called
* after the viewer has been created and its input set.
- *
+ *
* @param viewer the viewer returned by createViewer()
*/
protected void addViewerListeners(StructuredViewer viewer){
//do nothing by default
}
-
+
/**
* This method allows custom controls to be added before the viewer
* @param parent the parent composite to add these custom controls to
@@ -123,7 +123,7 @@ public abstract class AbstractDebugSelectionDialog extends SelectionDialog {
protected void addCustomHeaderControls(Composite parent) {
//do nothing by default
}
-
+
/**
* This method allows custom controls to be added after the viewer
* @param parent the parent composite to add these controls to
@@ -131,18 +131,18 @@ public abstract class AbstractDebugSelectionDialog extends SelectionDialog {
protected void addCustomFooterControls(Composite parent) {
//do nothing by default
}
-
+
/**
* This method allows the newly created controls to be initialized.
- * This method is called only once all controls have been created from the
+ * This method is called only once all controls have been created from the
* <code>createContents</code> method.
- *
+ *
* By default this method initializes the OK button control.
*/
protected void initializeControls() {
getButton(IDialogConstants.OK_ID).setEnabled(isValid());
}
-
+
/**
* Returns the viewer used to display information in this dialog.
* Can be <code>null</code> if the viewer has not been created.
@@ -151,7 +151,7 @@ public abstract class AbstractDebugSelectionDialog extends SelectionDialog {
protected Viewer getViewer(){
return fViewer;
}
-
+
/* (non-Javadoc)
* @see org.eclipse.jface.dialogs.Dialog#createContents(org.eclipse.swt.widgets.Composite)
*/
@@ -161,7 +161,7 @@ public abstract class AbstractDebugSelectionDialog extends SelectionDialog {
initializeControls();
return comp;
}
-
+
/* (non-Javadoc)
* @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
*/
@@ -195,14 +195,14 @@ public abstract class AbstractDebugSelectionDialog extends SelectionDialog {
}
return comp;
}
-
+
/**
* This method returns the label describing what to do with the viewer. Typically this label
* will include the key accelerator to get to the viewer via the keyboard
* @return the label for the viewer
*/
abstract protected String getViewerLabel();
-
+
/* (non-Javadoc)
* @see org.eclipse.ui.dialogs.SelectionDialog#getDialogBoundsSettings()
*/
@@ -212,7 +212,7 @@ public abstract class AbstractDebugSelectionDialog extends SelectionDialog {
IDialogSettings section = settings.getSection(getDialogSettingsId());
if (section == null) {
section = settings.addNewSection(getDialogSettingsId());
- }
+ }
return section;
}
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/BreakpointImageProvider.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/BreakpointImageProvider.java
index 91b5a2a07..67813e7c4 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/BreakpointImageProvider.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/BreakpointImageProvider.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -24,8 +24,8 @@ import org.eclipse.ui.texteditor.MarkerAnnotation;
* @since 3.0
*/
public class BreakpointImageProvider implements IAnnotationImageProvider {
-
-
+
+
/* (non-Javadoc)
* @see org.eclipse.ui.texteditor.IAnnotationImageProvider#getManagedImage(org.eclipse.jface.text.source.Annotation)
*/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ColorManager.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ColorManager.java
index c1255ac30..c0ab0687c 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ColorManager.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ColorManager.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -21,22 +21,22 @@ import org.eclipse.swt.widgets.Display;
/**
* Generic color manager.
*/
-public class ColorManager {
-
+public class ColorManager {
+
private static ColorManager fgColorManager;
-
+
private ColorManager() {
}
-
+
public static ColorManager getDefault() {
if (fgColorManager == null) {
fgColorManager= new ColorManager();
}
return fgColorManager;
}
-
+
protected Map<RGB, Color> fColorTable = new HashMap<RGB, Color>(10);
-
+
public Color getColor(RGB rgb) {
Color color= fColorTable.get(rgb);
if (color == null) {
@@ -45,7 +45,7 @@ public class ColorManager {
}
return color;
}
-
+
public void dispose() {
for (Color color : fColorTable.values()) {
color.dispose();
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/CompositeDebugImageDescriptor.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/CompositeDebugImageDescriptor.java
index 53cb70276..0dc0257a2 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/CompositeDebugImageDescriptor.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/CompositeDebugImageDescriptor.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -23,26 +23,26 @@ import org.eclipse.swt.graphics.Point;
* are computed according to flags set on creation of the descriptor.
*/
public class CompositeDebugImageDescriptor extends CompositeImageDescriptor {
-
+
/** Flag to render the skip breakpoint adornment */
public final static int SKIP_BREAKPOINT= 0x0001;
-
+
private Image fBaseImage;
private int fFlags;
private Point fSize;
-
+
/**
* Create a new composite image descriptor.
- *
+ *
* @param baseImage an image used as the base image
* @param flags flags indicating which adornments are to be rendered
- *
+ *
*/
public CompositeDebugImageDescriptor(Image baseImage, int flags) {
setBaseImage(baseImage);
setFlags(flags);
}
-
+
/**
* @see CompositeImageDescriptor#getSize()
*/
@@ -54,7 +54,7 @@ public class CompositeDebugImageDescriptor extends CompositeImageDescriptor {
}
return fSize;
}
-
+
/**
* @see Object#equals(java.lang.Object)
*/
@@ -66,7 +66,7 @@ public class CompositeDebugImageDescriptor extends CompositeImageDescriptor {
CompositeDebugImageDescriptor other= (CompositeDebugImageDescriptor)object;
return (getBaseImage().equals(other.getBaseImage()) && getFlags() == other.getFlags());
}
-
+
/**
* @see Object#hashCode()
*/
@@ -74,7 +74,7 @@ public class CompositeDebugImageDescriptor extends CompositeImageDescriptor {
public int hashCode() {
return getBaseImage().hashCode() | getFlags();
}
-
+
/**
* @see CompositeImageDescriptor#drawCompositeImage(int, int)
*/
@@ -103,11 +103,11 @@ public class CompositeDebugImageDescriptor extends CompositeImageDescriptor {
drawImage(data, x, y);
}
}
-
+
protected Image getBaseImage() {
return fBaseImage;
}
-
+
protected void setBaseImage(Image image) {
fBaseImage = image;
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugModelPropertyTester.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugModelPropertyTester.java
index 6c950b2f0..d5522c8bd 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugModelPropertyTester.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugModelPropertyTester.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Wind River Systems (Pawel Piech) - added support for IDebugModelProvider (Bug 212314)
@@ -34,7 +34,7 @@ public class DebugModelPropertyTester extends PropertyTester {
public static final String MODEL_TYPE_PROPERTY = "getModelIdentifier"; //$NON-NLS-1$
public static final String IS_TERMINATED_OR_DISCONNECTED_PROPERTY = "isTerminatedOrDisconnected"; //$NON-NLS-1$
-
+
/* (non-Javadoc)
* @see org.eclipse.core.expressions.PropertyTester#test(java.lang.Object, java.lang.String, java.lang.Object[], java.lang.Object)
*/
@@ -45,7 +45,7 @@ public class DebugModelPropertyTester extends PropertyTester {
if(receiver instanceof IProcess) {
target = ((IProcess)receiver).getAdapter(IDebugTarget.class);
}
- else if(receiver instanceof IDebugElement) {
+ else if(receiver instanceof IDebugElement) {
target = ((IDebugElement)receiver).getAdapter(IDebugTarget.class);
}
if(target != null) {
@@ -53,7 +53,7 @@ public class DebugModelPropertyTester extends PropertyTester {
if (expectedValue == null || expectedValue.equals(IInternalDebugCoreConstants.EMPTY_STRING)){
return false;
}
- //!target.isTerminated() && !target.isDisconnected()
+ //!target.isTerminated() && !target.isDisconnected()
if(expectedValue.equals(target.getModelIdentifier())) {
return true;
}
@@ -75,8 +75,8 @@ public class DebugModelPropertyTester extends PropertyTester {
}
return false;
}
- // There is no element selected with an associated debug model.
- // Return true iff the expected value is an empty string.
+ // There is no element selected with an associated debug model.
+ // Return true iff the expected value is an empty string.
return "".equals(expectedValue); //$NON-NLS-1$
} else if (IS_TERMINATED_OR_DISCONNECTED_PROPERTY.equals(property)){
if (receiver instanceof ITerminate && ((ITerminate)receiver).isTerminated()){
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPerspectiveFactory.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPerspectiveFactory.java
index 028ecc353..675f9e34f 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPerspectiveFactory.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPerspectiveFactory.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -21,39 +21,39 @@ import org.eclipse.ui.console.IConsoleConstants;
* The debug perspective factory.
*/
public class DebugPerspectiveFactory implements IPerspectiveFactory {
-
+
/**
* @see IPerspectiveFactory#createInitialLayout(IPageLayout)
*/
@Override
public void createInitialLayout(IPageLayout layout) {
-
+
IFolderLayout consoleFolder = layout.createFolder(IInternalDebugUIConstants.ID_CONSOLE_FOLDER_VIEW, IPageLayout.BOTTOM, (float)0.75, layout.getEditorArea());
consoleFolder.addView(IConsoleConstants.ID_CONSOLE_VIEW);
consoleFolder.addView(IPageLayout.ID_TASK_LIST);
consoleFolder.addPlaceholder(IPageLayout.ID_BOOKMARKS);
consoleFolder.addPlaceholder(IPageLayout.ID_PROP_SHEET);
-
+
IFolderLayout navFolder= layout.createFolder(IInternalDebugUIConstants.ID_NAVIGATOR_FOLDER_VIEW, IPageLayout.TOP, (float) 0.45, layout.getEditorArea());
navFolder.addView(IDebugUIConstants.ID_DEBUG_VIEW);
navFolder.addPlaceholder(IPageLayout.ID_PROJECT_EXPLORER);
-
+
IFolderLayout toolsFolder= layout.createFolder(IInternalDebugUIConstants.ID_TOOLS_FOLDER_VIEW, IPageLayout.RIGHT, (float) 0.50, IInternalDebugUIConstants.ID_NAVIGATOR_FOLDER_VIEW);
toolsFolder.addView(IDebugUIConstants.ID_VARIABLE_VIEW);
toolsFolder.addView(IDebugUIConstants.ID_BREAKPOINT_VIEW);
toolsFolder.addPlaceholder(IDebugUIConstants.ID_EXPRESSION_VIEW);
toolsFolder.addPlaceholder(IDebugUIConstants.ID_REGISTER_VIEW);
-
+
IFolderLayout outlineFolder= layout.createFolder(IInternalDebugUIConstants.ID_OUTLINE_FOLDER_VIEW, IPageLayout.RIGHT, (float) 0.75, layout.getEditorArea());
outlineFolder.addView(IPageLayout.ID_OUTLINE);
-
+
layout.addActionSet(IDebugUIConstants.LAUNCH_ACTION_SET);
layout.addActionSet(IDebugUIConstants.DEBUG_ACTION_SET);
-
+
setContentsOfShowViewMenu(layout);
}
-
- /**
+
+ /**
* Sets the initial contents of the "Show View" menu.
*/
protected void setContentsOfShowViewMenu(IPageLayout layout) {
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPluginImages.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPluginImages.java
index 4e1528f05..0c1ddaf71 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPluginImages.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPluginImages.java
@@ -4,13 +4,13 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* QNX Software Systems - Mikhail Khodjaiants - Registers View (Bug 53640)
* QNX Software Systems - Mikhail Khodjaiants - Bug 114664
* Wind River Systems - Pawel Piech - Added Modules view (bug 211158)
- * Lars.Vogel <Lars.Vogel@gmail.com> - Bug 430620
+ * Lars.Vogel <Lars.Vogel@gmail.com> - Bug 430620
*******************************************************************************/
package org.eclipse.debug.internal.ui;
@@ -34,14 +34,14 @@ import org.osgi.framework.Bundle;
*/
public class DebugPluginImages {
- /**
+ /**
* The image registry containing <code>Image</code>s and <code>ImageDescriptor</code>s.
*/
private static ImageRegistry imageRegistry;
-
+
private static final String ATTR_LAUNCH_CONFIG_TYPE_ICON = "icon"; //$NON-NLS-1$
private static final String ATTR_LAUNCH_CONFIG_TYPE_ID = "configTypeID"; //$NON-NLS-1$
-
+
private static String ICONS_PATH = "$nl$/icons/full/"; //$NON-NLS-1$
// Use IPath and toOSString to build the names to ensure they have the slashes correct
@@ -53,7 +53,7 @@ public class DebugPluginImages {
private final static String WIZBAN= ICONS_PATH + "wizban/"; //basic colors - size 16x16 //$NON-NLS-1$
private final static String OVR= ICONS_PATH + "ovr16/"; //basic colors - size 7x8 //$NON-NLS-1$
private final static String VIEW= ICONS_PATH + "eview16/"; // views //$NON-NLS-1$
-
+
/**
* Declare all images
*/
@@ -63,16 +63,16 @@ public class DebugPluginImages {
declareRegistryImage(IDebugUIConstants.IMG_ACT_RUN, CTOOL + "run_exc.png"); //$NON-NLS-1$
declareRegistryImage(IDebugUIConstants.IMG_ACT_SYNCED, ELCL + "synced.png"); //$NON-NLS-1$
declareRegistryImage(IDebugUIConstants.IMG_SKIP_BREAKPOINTS, ELCL + "skip_brkp.png"); //$NON-NLS-1$
-
+
//menus
declareRegistryImage(IDebugUIConstants.IMG_LCL_CHANGE_VARIABLE_VALUE, ELCL + "changevariablevalue_co.png"); //$NON-NLS-1$
declareRegistryImage(IInternalDebugUIConstants.IMG_DLCL_CHANGE_VARIABLE_VALUE, DLCL + "changevariablevalue_co.png"); //$NON-NLS-1$
declareRegistryImage(IInternalDebugUIConstants.IMG_ELCL_CHANGE_VARIABLE_VALUE, ELCL + "changevariablevalue_co.png"); //$NON-NLS-1$
-
+
declareRegistryImage(IDebugUIConstants.IMG_LCL_CONTENT_ASSIST, ELCL + "metharg_obj.png"); //$NON-NLS-1$
declareRegistryImage(IDebugUIConstants.IMG_DLCL_CONTENT_ASSIST, DLCL + "metharg_obj.png"); //$NON-NLS-1$
declareRegistryImage(IDebugUIConstants.IMG_ELCL_CONTENT_ASSIST, ELCL + "metharg_obj.png"); //$NON-NLS-1$
-
+
//Local toolbars
declareRegistryImage(IDebugUIConstants.IMG_LCL_DETAIL_PANE, ELCL + "toggledetailpane_co.png"); //$NON-NLS-1$
declareRegistryImage(IDebugUIConstants.IMG_LCL_DETAIL_PANE_UNDER, ELCL + "det_pane_under.png"); //$NON-NLS-1$
@@ -92,7 +92,7 @@ public class DebugPluginImages {
declareRegistryImage(IInternalDebugUIConstants.IMG_LCL_RESET_MEMORY, ELCL + "memoryreset_tsk.png"); //$NON-NLS-1$
declareRegistryImage(IInternalDebugUIConstants.IMG_LCL_COPY_VIEW_TO_CLIPBOARD, ELCL + "copyviewtoclipboard_tsk.png"); //$NON-NLS-1$
declareRegistryImage(IInternalDebugUIConstants.IMG_LCL_PRINT_TOP_VIEW_TAB, ELCL + "printview_tsk.png"); //$NON-NLS-1$
-
+
// disabled local toolbars
declareRegistryImage(IInternalDebugUIConstants.IMG_DLCL_DETAIL_PANE, DLCL + "toggledetailpane_co.png"); //$NON-NLS-1$
declareRegistryImage(IInternalDebugUIConstants.IMG_DLCL_DETAIL_PANE_UNDER, DLCL + "det_pane_under.png"); //$NON-NLS-1$
@@ -111,7 +111,7 @@ public class DebugPluginImages {
declareRegistryImage(IInternalDebugUIConstants.IMG_DLCL_REMOVE_MEMORY, DLCL + "removememory_tsk.png"); //$NON-NLS-1$
declareRegistryImage(IInternalDebugUIConstants.IMG_DLCL_RESET_MEMORY, DLCL + "memoryreset_tsk.png"); //$NON-NLS-1$
declareRegistryImage(IInternalDebugUIConstants.IMG_DLCL_COPY_VIEW_TO_CLIPBOARD, DLCL + "copyviewtoclipboard_tsk.png"); //$NON-NLS-1$
- declareRegistryImage(IInternalDebugUIConstants.IMG_DLCL_PRINT_TOP_VIEW_TAB, DLCL + "printview_tsk.png"); //$NON-NLS-1$
+ declareRegistryImage(IInternalDebugUIConstants.IMG_DLCL_PRINT_TOP_VIEW_TAB, DLCL + "printview_tsk.png"); //$NON-NLS-1$
declareRegistryImage(IInternalDebugUIConstants.IMG_DLCL_DUPLICATE_CONFIG, DLCL + "copy_edit_co.png"); //$NON-NLS-1$
declareRegistryImage(IInternalDebugUIConstants.IMG_DLCL_NEW_CONFIG, DLCL + "new_con.png"); //$NON-NLS-1$
declareRegistryImage(IInternalDebugUIConstants.IMG_DLCL_DELETE_CONFIG, DLCL + "rem_co.png"); //$NON-NLS-1$
@@ -129,7 +129,7 @@ public class DebugPluginImages {
declareRegistryImage(IInternalDebugUIConstants.IMG_DLCL_NEXT_THREAD, DLCL+"next_thread_nav.png"); //$NON-NLS-1$
declareRegistryImage(IInternalDebugUIConstants.IMG_DLCL_PREVIOUS_THREAD, DLCL+"prev_thread_nav.png"); //$NON-NLS-1$
declareRegistryImage(IInternalDebugUIConstants.IMG_DLCL_RESTART, DLCL+"restart_co.png"); //$NON-NLS-1$
-
+
// enabled local toolbars
declareRegistryImage(IInternalDebugUIConstants.IMG_ELCL_DETAIL_PANE, ELCL + "toggledetailpane_co.png"); //$NON-NLS-1$
declareRegistryImage(IInternalDebugUIConstants.IMG_ELCL_DETAIL_PANE_UNDER, ELCL + "det_pane_under.png"); //$NON-NLS-1$
@@ -169,7 +169,7 @@ public class DebugPluginImages {
declareRegistryImage(IInternalDebugUIConstants.IMG_ELCL_NEXT_THREAD, ELCL+"next_thread_nav.png"); //$NON-NLS-1$
declareRegistryImage(IInternalDebugUIConstants.IMG_ELCL_PREVIOUS_THREAD, ELCL+"prev_thread_nav.png"); //$NON-NLS-1$
declareRegistryImage(IInternalDebugUIConstants.IMG_ELCL_RESTART, ELCL+"restart_co.png"); //$NON-NLS-1$
-
+
//Object
declareRegistryImage(IDebugUIConstants.IMG_OBJS_LAUNCH_DEBUG, OBJECT + "ldebug_obj.png"); //$NON-NLS-1$
declareRegistryImage(IDebugUIConstants.IMG_OBJS_LAUNCH_RUN, OBJECT + "lrun_obj.png"); //$NON-NLS-1$
@@ -206,13 +206,13 @@ public class DebugPluginImages {
declareRegistryImage(IInternalDebugUIConstants.IMG_OBJECT_MEMORY, OBJECT + "memory_obj.png"); //$NON-NLS-1$
declareRegistryImage(IInternalDebugUIConstants.IMG_OBJS_BREAKPOINT_TYPE, OBJECT + "brkp_type.png"); //$NON-NLS-1$
declareRegistryImage(IInternalDebugUIConstants.IMG_OBJS_LAUNCH_GROUP, OBJECT + "lgroup_obj.png"); //$NON-NLS-1$
-
+
// tabs
declareRegistryImage(IInternalDebugUIConstants.IMG_OBJS_COMMON_TAB, OBJECT + "common_tab.png"); //$NON-NLS-1$
declareRegistryImage(IInternalDebugUIConstants.IMG_OBJS_REFRESH_TAB, OBJECT + "refresh_tab.png"); //$NON-NLS-1$
declareRegistryImage(IInternalDebugUIConstants.IMG_OBJS_PERSPECTIVE_TAB, OBJECT + "persp_tab.png"); //$NON-NLS-1$
declareRegistryImage(IDebugUIConstants.IMG_OBJS_ENVIRONMENT, OBJECT + "environment_obj.png"); //$NON-NLS-1$
-
+
// Views
declareRegistryImage(IDebugUIConstants.IMG_VIEW_BREAKPOINTS, VIEW + "breakpoint_view.png"); //$NON-NLS-1$
declareRegistryImage(IDebugUIConstants.IMG_VIEW_EXPRESSIONS, VIEW + "watchlist_view.png"); //$NON-NLS-1$
@@ -220,10 +220,10 @@ public class DebugPluginImages {
declareRegistryImage(IDebugUIConstants.IMG_VIEW_VARIABLES, VIEW + "variable_view.png"); //$NON-NLS-1$
declareRegistryImage(IInternalDebugUIConstants.IMG_CVIEW_MEMORY_VIEW, VIEW + "memory_view.png"); //$NON-NLS-1$
declareRegistryImage(IInternalDebugUIConstants.IMG_CVIEW_MODULES_VIEW, VIEW + "module_view.png"); //$NON-NLS-1$
-
+
// Perspectives
declareRegistryImage(IDebugUIConstants.IMG_PERSPECTIVE_DEBUG, VIEW + "debug_persp.png"); //$NON-NLS-1$
-
+
//Wizard Banners
declareRegistryImage(IDebugUIConstants.IMG_WIZBAN_DEBUG, WIZBAN + "debug_wiz.png"); //$NON-NLS-1$
declareRegistryImage(IDebugUIConstants.IMG_WIZBAN_RUN, WIZBAN + "run_wiz.png"); //$NON-NLS-1$
@@ -231,12 +231,12 @@ public class DebugPluginImages {
declareRegistryImage(IInternalDebugUIConstants.IMG_WIZBAN_EXPORT_BREAKPOINTS, WIZBAN + "export_brkpts_wizban.png"); //$NON-NLS-1$
declareRegistryImage(IInternalDebugUIConstants.IMG_WIZBAN_IMPORT_CONFIGS, WIZBAN + "import_config_wizban.png"); //$NON-NLS-1$
declareRegistryImage(IInternalDebugUIConstants.IMG_WIZBAN_EXPORT_CONFIGS, WIZBAN + "export_config_wizban.png"); //$NON-NLS-1$
-
+
// Overlays
declareRegistryImage(IDebugUIConstants.IMG_OVR_ERROR, OVR + "error.png"); //$NON-NLS-1$
declareRegistryImage(IInternalDebugUIConstants.IMG_OVR_TRANSPARENT, OVR + "transparent.png"); //$NON-NLS-1$
declareRegistryImage(IDebugUIConstants.IMG_OVR_SKIP_BREAKPOINT, OVR + "skip_breakpoint_ov.png"); //$NON-NLS-1$
-
+
//source location
declareRegistryImage(IInternalDebugUIConstants.IMG_SRC_LOOKUP_MENU, ELCL + "edtsrclkup_co.png"); //$NON-NLS-1$
declareRegistryImage(IInternalDebugUIConstants.IMG_SRC_LOOKUP_MENU_DLCL, DLCL + "edtsrclkup_co.png"); //$NON-NLS-1$
@@ -246,7 +246,7 @@ public class DebugPluginImages {
declareRegistryImage(IInternalDebugUIConstants.IMG_EDIT_SRC_LOC_WIZ, WIZBAN + "edtsrclkup_wiz.png"); //$NON-NLS-1$
declareRegistryImage(IInternalDebugUIConstants.IMG_ADD_SRC_DIR_WIZ, WIZBAN + "adddir_wiz.png"); //$NON-NLS-1$
declareRegistryImage(IInternalDebugUIConstants.IMG_EDIT_SRC_DIR_WIZ, WIZBAN + "editdir_wiz.png"); //$NON-NLS-1$
-
+
// launch configuration types
//try to get the images from the config types themselves, cache those that could not be found
IExtensionPoint extensionPoint= Platform.getExtensionRegistry().getExtensionPoint(DebugUIPlugin.getUniqueIdentifier(), IDebugUIConstants.EXTENSION_POINT_LAUNCH_CONFIGURATION_TYPE_IMAGES);
@@ -261,8 +261,8 @@ public class DebugPluginImages {
if (configTypeID == null) {
// bug 12652
configTypeID = configElement.getAttribute(IConfigurationElementConstants.TYPE);
- }
- imageRegistry.put(configTypeID, descriptor);
+ }
+ imageRegistry.put(configTypeID, descriptor);
}
}
@@ -284,7 +284,7 @@ public class DebugPluginImages {
}
imageRegistry.put(key, desc);
}
-
+
/**
* Returns the ImageRegistry.
*/
@@ -294,10 +294,10 @@ public class DebugPluginImages {
}
return imageRegistry;
}
-
+
/**
* Returns whether the image registry has been initialized.
- *
+ *
* @return whether the image registry has been initialized
*/
public synchronized static boolean isInitialized() {
@@ -347,7 +347,7 @@ public class DebugPluginImages {
public static Image getImage(String key) {
return getImageRegistry().get(key);
}
-
+
/**
* Returns the <code>ImageDescriptor</code> identified by the given key,
* or <code>null</code> if it does not exist.
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIAdapterFactory.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIAdapterFactory.java
index 008d024ec..5997120a0 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIAdapterFactory.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIAdapterFactory.java
@@ -4,13 +4,13 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.debug.internal.ui;
-
+
import org.eclipse.core.runtime.IAdapterFactory;
import org.eclipse.debug.core.model.IBreakpoint;
@@ -33,25 +33,25 @@ public class DebugUIAdapterFactory implements IAdapterFactory {
if (adapterType.isInstance(obj)) {
return (T) obj;
}
-
+
if (adapterType == IPersistableElement.class) {
if (obj instanceof IBreakpoint) {
return (T) new BreakpointPersistableElementAdapter((IBreakpoint)obj);
}
}
-
+
if (adapterType == IWorkbenchAdapter.class) {
if (obj instanceof IBreakpointContainer) {
return (T) new BreakpointContainerWorkbenchAdapter();
}
}
-
+
if (adapterType == IWorkbenchAdapter2.class) {
if (obj instanceof IBreakpointContainer) {
return (T) new BreakpointContainerWorkbenchAdapter();
}
}
-
+
return null;
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIMessages.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIMessages.java
index 4cb94c20b..c1020bc05 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIMessages.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIMessages.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM - Initial API and implementation
* Wind River Systems - Ted Williams - [Memory View] Memory View: Workflow Enhancements (Bug 215432)
@@ -290,12 +290,12 @@ public class DebugUIMessages extends NLS {
public static String WorkingDirectoryBlock_20;
public static String WorkingDirectoryBlock_1;
public static String WorkingDirectoryBlock_Exception_occurred_reading_configuration___15;
-
+
//
// Elements
- //
+ //
public static String ExpressionManagerContentProvider_1;
-
+
static {
// load message values from bundle file
NLS.initializeMessages(BUNDLE_NAME, DebugUIMessages.class);
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIPlugin.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIPlugin.java
index 458546c87..a8ae9ca77 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIPlugin.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIPlugin.java
@@ -13,7 +13,7 @@
*******************************************************************************/
package org.eclipse.debug.internal.ui;
-
+
import java.lang.reflect.InvocationTargetException;
import java.net.MalformedURLException;
import java.net.URL;
@@ -118,17 +118,17 @@ import com.ibm.icu.text.MessageFormat;
/**
* The Debug UI Plug-in.
- *
+ *
* Since 3.3 this plug-in registers an <code>ISaveParticipant</code>, allowing this plug-in to participate
* in workspace persistence life-cycles
- *
+ *
* @see ISaveParticipant
* @see ILaunchListener
* @see LaunchConfigurationManager
* @see PerspectiveManager
*/
public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener, DebugOptionsListener {
-
+
public static boolean DEBUG = false;
public static boolean DEBUG_BREAKPOINT_DELTAS = false;
public static boolean DEBUG_MODEL = false;
@@ -141,7 +141,7 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
public static boolean DEBUG_STATE_SAVE_RESTORE = false;
public static String DEBUG_PRESENTATION_ID = null;
public static boolean DEBUG_DYNAMIC_LOADING = false;
-
+
static final String DEBUG_FLAG = "org.eclipse.debug.ui/debug"; //$NON-NLS-1$
static final String DEBUG_BREAKPOINT_DELTAS_FLAG = "org.eclipse.debug.ui/debug/viewers/breakpointDeltas"; //$NON-NLS-1$
static final String DEBUG_MODEL_FLAG = "org.eclipse.debug.ui/debug/viewers/model"; //$NON-NLS-1$
@@ -159,12 +159,12 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
* @since 3.8
*/
private static DebugTrace fgDebugTrace;
-
+
/**
* The singleton debug plug-in instance
*/
private static DebugUIPlugin fgDebugUIPlugin = null;
-
+
/**
* A utility presentation used to obtain labels
*/
@@ -174,7 +174,7 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
* Default label provider
*/
private static DefaultLabelProvider fgDefaultLabelProvider;
-
+
/**
* Launch configuration attribute - used by the stand-in launch
* config working copies that are created while a launch is waiting
@@ -182,48 +182,48 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
* to access the original config if the user asks to edit it.
*/
public static String ATTR_LAUNCHING_CONFIG_HANDLE= getUniqueIdentifier() + "launching_config_handle"; //$NON-NLS-1$
-
+
/**
* Singleton console document manager
*/
private ProcessConsoleManager fProcessConsoleManager = null;
-
+
/**
* Perspective manager
*/
private PerspectiveManager fPerspectiveManager = null;
-
+
/**
* Launch configuration manager
*/
private LaunchConfigurationManager fLaunchConfigurationManager = null;
-
+
/**
* Context launching manager
*/
private LaunchingResourceManager fContextLaunchingManager = null;
-
+
/**
* Image descriptor registry used for images with common overlays.
- *
+ *
* @since 3.1
*/
private ImageDescriptorRegistry fImageDescriptorRegistry;
-
+
/**
* A set of <code>ISaveParticipant</code>s that want to contribute to saving via this plugin
- *
+ *
* @since 3.3
*/
private Set<ISaveParticipant> fSaveParticipants = new HashSet<ISaveParticipant>();
-
+
/**
* Theme listener.
- *
+ *
* @since 3.4
*/
private IPropertyChangeListener fThemeListener;
-
+
/**
* Dummy launch node representing a launch that is waiting
* for a build to finish before proceeding. This node exists
@@ -249,7 +249,7 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
fJob.cancel();
}
}
-
+
/**
* Constructs the debug UI plug-in
*/
@@ -257,7 +257,7 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
super();
fgDebugUIPlugin= this;
}
-
+
/**
* Prints the given message to System.out and to the OSGi tracing (if started)
* @param option the option or <code>null</code>
@@ -271,17 +271,17 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
fgDebugTrace.trace(option, message, throwable);
}
}
-
+
/**
* Prints the given message to System.out and to the OSGi tracing (if enabled)
- *
+ *
* @param message the message or <code>null</code>
* @since 3.8
*/
public static void trace(String message) {
trace(null, message, null);
}
-
+
/**
* Returns the singleton instance of the debug plug-in.
* @return the singleton {@link DebugUIPlugin}
@@ -292,7 +292,7 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
}
return fgDebugUIPlugin;
}
-
+
/**
* Convenience method which returns the unique identifier of this plug-in.
* @return the identifier of the plug-in
@@ -311,7 +311,7 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
}
return fgPresentation;
}
-
+
/**
* Returns the launch configuration manager
* @return the launch configuration manager
@@ -322,12 +322,12 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
}
return fLaunchConfigurationManager;
}
-
+
/**
* Returns the context launching resource manager. If one has not been created prior to this
* method call, a new manager is created and initialized, by calling its startup() method.
* @return the context launching resource manager
- *
+ *
* @since 3.3
*/
public LaunchingResourceManager getLaunchingResourceManager() {
@@ -337,21 +337,21 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
}
return fContextLaunchingManager;
}
-
+
/**
* Returns the currently active workbench window or <code>null</code>
* if none.
- *
+ *
* @return the currently active workbench window or <code>null</code>
*/
public static IWorkbenchWindow getActiveWorkbenchWindow() {
return getDefault().getWorkbench().getActiveWorkbenchWindow();
}
-
+
/**
* Returns the currently active workbench window shell or <code>null</code>
* if none.
- *
+ *
* @return the currently active workbench window shell or <code>null</code>
*/
public static Shell getShell() {
@@ -413,7 +413,7 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
}
return ret[0];
}
-
+
/**
* @see org.eclipse.ui.plugin.AbstractUIPlugin#createImageRegistry()
*/
@@ -431,9 +431,9 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
if (fProcessConsoleManager != null) {
fProcessConsoleManager.shutdown();
}
-
+
BreakpointOrganizerManager.getDefault().shutdown();
-
+
if (fPerspectiveManager != null) {
fPerspectiveManager.shutdown();
}
@@ -443,36 +443,36 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
if(fContextLaunchingManager != null) {
fContextLaunchingManager.shutdown();
}
-
+
ColorManager.getDefault().dispose();
-
+
if (fgPresentation != null) {
fgPresentation.dispose();
}
-
+
if (fImageDescriptorRegistry != null) {
fImageDescriptorRegistry.dispose();
}
-
+
if (fgDefaultLabelProvider != null) {
fgDefaultLabelProvider.dispose();
}
-
+
SourceLookupFacility.shutdown();
-
+
DebugElementHelper.dispose();
-
+
fSaveParticipants.clear();
-
+
ResourcesPlugin.getWorkspace().removeSaveParticipant(getUniqueIdentifier());
-
+
if (fThemeListener != null) {
if (PlatformUI.isWorkbenchRunning()) {
PlatformUI.getWorkbench().getThemeManager().removePropertyChangeListener(fThemeListener);
}
fThemeListener= null;
}
-
+
} finally {
super.stop(context);
}
@@ -488,19 +488,19 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
public boolean addSaveParticipant(ISaveParticipant participant) {
return fSaveParticipants.add(participant);
}
-
+
/**
* Removes the specified <code>ISaveParticipant</code> from the current listing of registered
* participants
* @param participant the save participant to remove
* @return true if the set contained the specified element
- *
+ *
* @since 3.3
*/
public boolean removeSaveParticipant(ISaveParticipant participant) {
return fSaveParticipants.remove(participant);
}
-
+
/* (non-Javadoc)
* @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
*/
@@ -545,14 +545,14 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
}
}
});
-
+
// make sure the perspective manager is created
// and be the first debug event listener
fPerspectiveManager = new PerspectiveManager();
fPerspectiveManager.startup();
-
+
getLaunchingResourceManager();
-
+
// Listen to launches to lazily create "launch processors"
ILaunchManager launchManager = DebugPlugin.getDefault().getLaunchManager();
ILaunch[] launches = launchManager.getLaunches();
@@ -563,12 +563,12 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
// if no launches, wait for first launch to initialize processors
launchManager.addLaunchListener(this);
}
-
+
// start the breakpoint organizer manager
BreakpointOrganizerManager.getDefault();
-
+
getLaunchConfigurationManager().startup();
-
+
if (PlatformUI.isWorkbenchRunning()) {
fThemeListener= new IPropertyChangeListener() {
@@ -581,7 +581,7 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
};
PlatformUI.getWorkbench().getThemeManager().addPropertyChangeListener(fThemeListener);
}
-
+
// do the asynchronous exec last - see bug 209920
getStandardDisplay().asyncExec(
new Runnable() {
@@ -619,7 +619,7 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
}
}
}
-
+
/**
* Utility method with conventions
* @param shell the shell to open the dialog on
@@ -635,7 +635,7 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
}
ErrorDialog.openError(shell, title, message, s);
}
-
+
/**
* Utility method with conventions
* @param shell the shell to open the dialog on
@@ -661,25 +661,25 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
/**
* Logs the specified status with this plug-in's log.
- *
+ *
* @param status status to log
*/
public static void log(IStatus status) {
getDefault().getLog().log(status);
}
-
+
/**
* Logs the specified throwable with this plug-in's log.
- *
+ *
* @param t throwable to log
*/
public static void log(Throwable t) {
log(newErrorStatus("Error logged from Debug UI: ", t)); //$NON-NLS-1$
}
-
+
/**
* Logs an internal error with the specified message.
- *
+ *
* @param message the error message to log
*/
public static void logErrorMessage(String message) {
@@ -687,7 +687,7 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
// be due to the resource bundle itself
log(newErrorStatus("Internal message logged from Debug UI: " + message, null)); //$NON-NLS-1$
}
-
+
/**
* Returns a new error status for this plug-in with the given message
* @param message the message to be included in the status
@@ -697,7 +697,7 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
public static IStatus newErrorStatus(String message, Throwable exception) {
return new Status(IStatus.ERROR, getUniqueIdentifier(), IDebugUIConstants.INTERNAL_ERROR, message, exception);
}
-
+
/**
* Open the launch configuration dialog on the specified launch
* configuration. The dialog displays the tabs for a single configuration
@@ -716,7 +716,7 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
* @param showCancel if the cancel button should be shown in the particular instance of the dialog
* @return the return code from opening the launch configuration dialog -
* one of <code>Window.OK</code> or <code>Window.CANCEL</code>
- *
+ *
* @since 3.3
*
*/
@@ -729,7 +729,7 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
}
return Window.CANCEL;
}
-
+
/**
* Open the launch configuration dialog on the specified launch
* configuration. The dialog displays the tabs for a single configuration
@@ -750,9 +750,9 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
* @param setDefaults whether to set default values in the configuration
* @return the return code from opening the launch configuration dialog -
* one of <code>Window.OK</code> or <code>Window.CANCEL</code>
- *
+ *
* @since 3.3
- *
+ *
*/
public static int openLaunchConfigurationPropertiesDialog(Shell shell, ILaunchConfiguration configuration, String groupIdentifier, Set<String> reservednames, IStatus status, boolean setDefaults) {
LaunchGroupExtension group = DebugUIPlugin.getDefault().getLaunchConfigurationManager().getLaunchGroup(groupIdentifier);
@@ -764,7 +764,7 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
}
return Window.CANCEL;
}
-
+
/**
* Opens the {@link LaunchConfigurationsDialog} on the given selection for the given group. A status
* can be provided or <code>null</code> and the dialog can initialize the given {@link ILaunchConfiguration}
@@ -787,12 +787,12 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
}
return Window.CANCEL;
}
-
+
/**
* Save all dirty editors in the workbench.
* Returns whether the operation succeeded.
* @param confirm if the user should be asked before saving
- *
+ *
* @return whether all saving was completed
* @deprecated Saving has been moved to the launch delegate <code>LaunchConfigurationDelegate</code> to allow for scoped saving
* of resources that are only involved in the current launch, no longer the entire workspace
@@ -804,12 +804,12 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
}
return PlatformUI.getWorkbench().saveAllEditors(confirm);
}
-
+
/**
* Save & build the workspace according to the user-specified preferences. Return <code>false</code> if
* any problems were encountered, <code>true</code> otherwise.
* @return <code>false</code> if any problems were encountered, <code>true</code> otherwise.
- *
+ *
* @deprecated this method is no longer to be used. It is an artifact from 2.0, and all saving is now done with the
* launch delegate <code>LaunchConfigurationDelegate</code>
*/
@@ -818,7 +818,7 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
boolean status = true;
String saveDirty = getDefault().getPreferenceStore().getString(IInternalDebugUIConstants.PREF_SAVE_DIRTY_EDITORS_BEFORE_LAUNCH);
boolean buildBeforeLaunch = getDefault().getPreferenceStore().getBoolean(IDebugUIConstants.PREF_BUILD_BEFORE_LAUNCH);
-
+
// If we're ignoring dirty editors, check if we need to build
if (saveDirty.equals(MessageDialogWithToggle.NEVER)) {
if (buildBeforeLaunch) {
@@ -830,10 +830,10 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
status = doBuild();
}
}
-
+
return status;
}
-
+
private static boolean doBuild() {
try {
PlatformUI.getWorkbench().getProgressService().busyCursorWhile(new IRunnableWithProgress() {
@@ -858,15 +858,15 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
}
return true;
}
-
+
/**
* Returns the workbench's display.
- * @return the standard display
+ * @return the standard display
*/
public static Display getStandardDisplay() {
return PlatformUI.getWorkbench().getDisplay();
}
-
+
/**
* Returns the a color based on the type of output.
* Valid types:
@@ -884,7 +884,7 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
/**
* Returns the process console manager. The manager will be created lazily on
* the first access.
- *
+ *
* @return ProcessConsoleManager
*/
public ProcessConsoleManager getProcessConsoleManager() {
@@ -893,7 +893,7 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
}
return fProcessConsoleManager;
}
-
+
/**
* Returns a Document that can be used to build a DOM tree
* @return the Document
@@ -907,11 +907,11 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
Document doc= docBuilder.newDocument();
return doc;
}
-
+
/**
* When the first launch is added, instantiate launch processors,
* and stop listening to launch notifications.
- *
+ *
* @see org.eclipse.debug.core.ILaunchListener#launchAdded(org.eclipse.debug.core.ILaunch)
*/
@Override
@@ -919,7 +919,7 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
DebugPlugin.getDefault().getLaunchManager().removeLaunchListener(this);
initializeLaunchListeners();
}
-
+
/**
* Creates/starts launch listeners after a launch has been added.
* <p>
@@ -934,10 +934,10 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
getProcessConsoleManager().startup();
SourceLookupManager.getDefault();
}
-
+
/**
* Returns the perspective manager.
- *
+ *
* @return the singleton {@link PerspectiveManager}
*/
public PerspectiveManager getPerspectiveManager() {
@@ -957,18 +957,18 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
public void launchRemoved(ILaunch launch) {}
/**
- * Formats the given key stroke or click name and the modifier keys
- * to a key binding string that can be used in action texts.
- *
+ * Formats the given key stroke or click name and the modifier keys
+ * to a key binding string that can be used in action texts.
+ *
* @param modifierKeys the modifier keys
* @param keyOrClick a key stroke or click, e.g. "Double Click"
* @return the formatted keyboard shortcut string, e.g. "Shift+Double Click"
- *
+ *
* @since 3.8
*/
public static final String formatKeyBindingString(int modifierKeys, String keyOrClick) {
// this should actually all be delegated to KeyStroke class
- return KeyStroke.getInstance(modifierKeys, KeyStroke.NO_KEY).format() + keyOrClick;
+ return KeyStroke.getInstance(modifierKeys, KeyStroke.NO_KEY).format() + keyOrClick;
}
public static boolean DEBUG_TEST_PRESENTATION_ID(IPresentationContext context) {
@@ -981,7 +981,7 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
/**
* Return the ILaunch associated with a model element, or null if there is
* no such association.
- *
+ *
* @param element the model element
* @return the ILaunch associated with the element, or null.
* @since 3.6
@@ -1001,11 +1001,11 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
}
return launch;
}
-
+
/**
* Save dirty editors before launching, according to preferences.
- *
+ *
* @return whether to proceed with launch
* @deprecated Saving has been moved to the launch delegate <code>LaunchConfigurationDelegate</code> to allow for scoped saving
* of resources that are only involved in the current launch, no longer the entire workspace
@@ -1018,12 +1018,12 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
}
return saveAllEditors(saveDirty.equals(MessageDialogWithToggle.PROMPT));
}
-
+
/**
* Builds the workspace (according to preferences) and launches the given launch
* configuration in the specified mode. May return null if auto build is in process and
* user cancels the launch.
- *
+ *
* @param configuration the configuration to launch
* @param mode launch mode - run or debug
* @param monitor progress monitor
@@ -1032,7 +1032,7 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
*/
public static ILaunch buildAndLaunch(ILaunchConfiguration configuration, String mode, IProgressMonitor monitor) throws CoreException {
boolean buildBeforeLaunch = getDefault().getPreferenceStore().getBoolean(IDebugUIConstants.PREF_BUILD_BEFORE_LAUNCH);
-
+
monitor.beginTask(IInternalDebugCoreConstants.EMPTY_STRING, 1);
try
{
@@ -1046,13 +1046,13 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
monitor.done();
}
}
-
+
/**
* Saves and builds the workspace according to current preference settings and
* launches the given launch configuration in the specified mode in the
* foreground with a progress dialog. Reports any exceptions that occur
* in an error dialog.
- *
+ *
* @param configuration the configuration to launch
* @param mode launch mode
* @since 3.0
@@ -1061,13 +1061,13 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
final IJobManager jobManager = Job.getJobManager();
IPreferenceStore store = DebugUIPlugin.getDefault().getPreferenceStore();
boolean wait = false;
-
+
if (jobManager.find(ResourcesPlugin.FAMILY_AUTO_BUILD).length > 0 || jobManager.find(ResourcesPlugin.FAMILY_MANUAL_BUILD).length >0) {
String waitForBuild = store.getString(IInternalDebugUIConstants.PREF_WAIT_FOR_BUILD);
if (waitForBuild.equals(MessageDialogWithToggle.PROMPT)) {
MessageDialogWithToggle dialog = MessageDialogWithToggle.openYesNoCancelQuestion(getShell(), DebugUIMessages.DebugUIPlugin_23, DebugUIMessages.DebugUIPlugin_24, null, false, store, IInternalDebugUIConstants.PREF_WAIT_FOR_BUILD); //
-
+
switch (dialog.getReturnCode()) {
case IDialogConstants.CANCEL_ID:
return;
@@ -1143,7 +1143,7 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
}
}
-
+
private static void handleInvocationTargetException(InvocationTargetException e, ILaunchConfiguration configuration, String mode) {
Throwable targetException = e.getTargetException();
Throwable t = e;
@@ -1168,13 +1168,13 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
}
DebugUIPlugin.errorDialog(DebugUIPlugin.getShell(), DebugUIMessages.DebugUITools_Error_1, DebugUIMessages.DebugUITools_Exception_occurred_during_launch_2, t); //
}
-
+
/**
* Saves and builds the workspace according to current preference settings and
* launches the given launch configuration in the specified mode in a background
* Job with progress reported via the Job. Exceptions are reported in the Progress
* view.
- *
+ *
* @param configuration the configuration to launch
* @param mode launch mode
* @since 3.0
@@ -1276,7 +1276,7 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
finally {
monitor.done();
}
-
+
return Status.OK_STATUS;
}
};
@@ -1287,7 +1287,7 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
job.setPriority(Job.INTERACTIVE);
job.setProperty(IProgressConstants2.SHOW_IN_TASKBAR_ICON_PROPERTY, Boolean.TRUE);
job.setName(MessageFormat.format(DebugUIMessages.DebugUIPlugin_25, new Object[] {configuration.getName()}));
-
+
if (wait) {
progressService.showInDialog(workbench.getActiveWorkbenchWindow().getShell(), job);
}
@@ -1297,7 +1297,7 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
/**
* Returns the label with any accelerators removed.
* @param label the label to remove accelerators from
- *
+ *
* @return label without accelerators
*/
public static String removeAccelerators(String label) {
@@ -1322,12 +1322,12 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
}
return title;
}
-
+
/**
* Returns the label with any DBCS accelerator moved to the end of the string.
* See bug 186921.
* @param label the label to be adjusted
- *
+ *
* @return label with moved accelerator
*/
public static String adjustDBCSAccelerator(String label) {
@@ -1357,7 +1357,7 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
/**
* Returns the image descriptor registry used for this plug-in.
* @return the singleton {@link ImageDescriptorRegistry}
- *
+ *
* @since 3.1
*/
public static ImageDescriptorRegistry getImageDescriptorRegistry() {
@@ -1366,11 +1366,11 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
}
return getDefault().fImageDescriptorRegistry;
}
-
+
/**
* Returns an image descriptor for the icon referenced by the given attribute
* and configuration element, or <code>null</code> if none.
- *
+ *
* @param element the configuration element
* @param attr the name of the attribute
* @return image descriptor or <code>null</code>
@@ -1395,11 +1395,11 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
}
return null;
}
-
+
/**
* Returns an image descriptor for the icon referenced by the given path
* and contributor name, or <code>null</code> if none.
- *
+ *
* @param name the name of the contributor
* @param path the path of the icon (from the configuration element)
* @return image descriptor or <code>null</code>
@@ -1415,7 +1415,7 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
}
return null;
}
-
+
/**
* Performs extra filtering for launch configurations based on the preferences set on the
* Launch Configurations page
@@ -1441,12 +1441,12 @@ public class DebugUIPlugin extends AbstractUIPlugin implements ILaunchListener,
}
return ret;
}
-
+
/**
* Creates a new {@link IEvaluationContext} initialized with the current platform state if the
* {@link IEvaluationService} can be acquired, otherwise the new context is created with no
* parent context
- *
+ *
* @param defaultvar the default variable for the new context
* @return a new {@link IEvaluationContext}
* @since 3.7
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIPreferenceInitializer.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIPreferenceInitializer.java
index 2d3a1d4fd..f9f0a4303 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIPreferenceInitializer.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIPreferenceInitializer.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Patrick Chuong (Texas Instruments) - Improve usability of the breakpoint view (Bug 238956)
@@ -54,23 +54,23 @@ public class DebugUIPreferenceInitializer extends AbstractPreferenceInitializer
prefs.setDefault(IDebugPreferenceConstants.PREF_PROMPT_REMOVE_ALL_TRIGGER_BREAKPOINTS, true);
prefs.setDefault(IDebugPreferenceConstants.PREF_PROMPT_REMOVE_BREAKPOINTS_FROM_CONTAINER, true);
prefs.setDefault(IDebugPreferenceConstants.PREF_PROMPT_REMOVE_ALL_EXPRESSIONS, true);
-
+
/**
* Context launching preferences. Appear on the the Launching preference page
- *
+ *
* @since 3.3.0
*/
prefs.setDefault(IInternalDebugUIConstants.PREF_USE_CONTEXTUAL_LAUNCH, true);
prefs.setDefault(IInternalDebugUIConstants.PREF_LAUNCH_PARENT_PROJECT, false);
prefs.setDefault(IInternalDebugUIConstants.PREF_LAUNCH_LAST_IF_NOT_LAUNCHABLE, true);
-
+
prefs.setDefault(IInternalDebugUIConstants.PREF_TERMINATE_AND_RELAUNCH_LAUNCH_ACTION, false);
prefs.setDefault(IInternalDebugUIConstants.PREF_BREAKPOINT_SORTING_ORDER, IInternalDebugUIConstants.BREAKPOINT_SORTING_ORDER_NAME);
//View Management preference page
prefs.setDefault(IDebugUIConstants.PREF_MANAGE_VIEW_PERSPECTIVES, IDebugUIConstants.PREF_MANAGE_VIEW_PERSPECTIVES_DEFAULT);
prefs.setDefault(IInternalDebugUIConstants.PREF_TRACK_VIEWS, true);
-
+
//ConsolePreferencePage
prefs.setDefault(IDebugPreferenceConstants.CONSOLE_WRAP, false);
prefs.setDefault(IDebugPreferenceConstants.CONSOLE_WIDTH, 80);
@@ -91,19 +91,19 @@ public class DebugUIPreferenceInitializer extends AbstractPreferenceInitializer
//Launching Preference Page
prefs.setDefault(IDebugUIConstants.PREF_MAX_HISTORY_SIZE, 10);
prefs.setDefault(IInternalDebugUIConstants.PREF_REMOVE_FROM_LAUNCH_HISTORY, true);
-
+
//VariableViewsPreferencePage
prefs.setDefault(IDebugPreferenceConstants.VARIABLES_DETAIL_PANE_ORIENTATION, IDebugPreferenceConstants.VARIABLES_DETAIL_PANE_UNDERNEATH);
PreferenceConverter.setDefault(prefs, IDebugUIConstants.PREF_CHANGED_DEBUG_ELEMENT_COLOR, new RGB(255, 0, 0));
prefs.setDefault(IDebugPreferenceConstants.PREF_DETAIL_PANE_WORD_WRAP, false);
prefs.setDefault(IDebugUIConstants.PREF_MAX_DETAIL_LENGTH, 10000);
-
+
//Registers View
prefs.setDefault(IDebugPreferenceConstants.REGISTERS_DETAIL_PANE_ORIENTATION, IDebugPreferenceConstants.VARIABLES_DETAIL_PANE_UNDERNEATH);
-
+
// Breakpoints view default settings
prefs.setDefault(IDebugPreferenceConstants.BREAKPOINTS_DETAIL_PANE_ORIENTATION, IDebugPreferenceConstants.VARIABLES_DETAIL_PANE_UNDERNEATH);
-
+
// Expression View
prefs.setDefault(IDebugPreferenceConstants.EXPRESSIONS_DETAIL_PANE_ORIENTATION, IDebugPreferenceConstants.VARIABLES_DETAIL_PANE_UNDERNEATH);
@@ -115,37 +115,37 @@ public class DebugUIPreferenceInitializer extends AbstractPreferenceInitializer
prefs.setDefault(IDebugUIConstants.ID_EXPRESSION_VIEW + '+' + "org.eclipse.debug.ui.ShowDetailPaneAction", true); //$NON-NLS-1$
prefs.setDefault(IDebugUIConstants.ID_VARIABLE_VIEW + '+' + "org.eclipse.debug.ui.ShowTypeNamesAction", false); //$NON-NLS-1$
prefs.setDefault(IDebugUIConstants.ID_EXPRESSION_VIEW + '+' + "org.eclipse.debug.ui.ShowTypeNamesAction", false); //$NON-NLS-1$
-
+
// set default for column size preference
prefs.setDefault(IDebugPreferenceConstants.PREF_COLUMN_SIZE,
IDebugPreferenceConstants.PREF_COLUMN_SIZE_DEFAULT);
-
+
// set default for row size preference
prefs.setDefault(IDebugPreferenceConstants.PREF_ROW_SIZE,
IDebugPreferenceConstants.PREF_ROW_SIZE_DEFAULT);
-
+
// set default padded string
prefs.setDefault(IDebugUIConstants.PREF_PADDED_STR,
IDebugPreferenceConstants.PREF_PADDED_STR_DEFAULT);
-
+
// set default code page for ascii and ebcdic
prefs.setDefault(IDebugUIConstants.PREF_DEFAULT_ASCII_CODE_PAGE,
IDebugPreferenceConstants.DEFAULT_ASCII_CP);
prefs.setDefault(IDebugUIConstants.PREF_DEFAULT_EBCDIC_CODE_PAGE,
IDebugPreferenceConstants.DEFAULT_EBCDIC_CP);
-
+
if (MemoryViewUtil.isLinuxGTK()) {
prefs.setDefault(IDebugPreferenceConstants.PREF_DYNAMIC_LOAD_MEM, false);
}
else {
prefs.setDefault(IDebugPreferenceConstants.PREF_DYNAMIC_LOAD_MEM, true);
}
-
+
prefs.setDefault(IDebugPreferenceConstants.PREF_TABLE_RENDERING_PAGE_SIZE, IDebugPreferenceConstants.DEFAULT_PAGE_SIZE);
prefs.setDefault(IDebugPreferenceConstants.PREF_RESET_MEMORY_BLOCK, IDebugPreferenceConstants.RESET_VISIBLE);
prefs.setDefault(IDebugPreferenceConstants.PREF_TABLE_RENDERING_PRE_BUFFER_SIZE,IDebugPreferenceConstants.DEFAULT_PAGE_SIZE);
prefs.setDefault(IDebugPreferenceConstants.PREF_TABLE_RENDERING_POST_BUFFER_SIZE,IDebugPreferenceConstants.DEFAULT_PAGE_SIZE);
-
+
/**
* new launch configuration filtering options
* @since 3.2
@@ -154,10 +154,10 @@ public class DebugUIPreferenceInitializer extends AbstractPreferenceInitializer
prefs.setDefault(IInternalDebugUIConstants.PREF_FILTER_LAUNCH_DELETED, true);
prefs.setDefault(IInternalDebugUIConstants.PREF_FILTER_WORKING_SETS, false);
prefs.setDefault(IInternalDebugUIConstants.PREF_FILTER_LAUNCH_TYPES, false);
-
+
/**
* Debug view mode default
- *
+ *
* @since 3.5
*/
prefs.setDefault(IDebugPreferenceConstants.DEBUG_VIEW_MODE, IDebugPreferenceConstants.DEBUG_VIEW_MODE_AUTO);
@@ -165,7 +165,7 @@ public class DebugUIPreferenceInitializer extends AbstractPreferenceInitializer
/**
* Returns the RGB for the given key in the given color registry.
- *
+ *
* @param registry the color registry
* @param key the key for the constant in the registry
* @param defaultRGB the default RGB if no entry is found
@@ -176,19 +176,19 @@ public class DebugUIPreferenceInitializer extends AbstractPreferenceInitializer
if (registry == null) {
return defaultRGB;
}
-
+
RGB rgb= registry.getRGB(key);
if (rgb != null) {
return rgb;
}
-
+
return defaultRGB;
}
/**
* Sets the default value and fires a property
* change event if necessary.
- *
+ *
* @param store the preference store
* @param key the preference key
* @param newValue the new value
@@ -203,9 +203,9 @@ public class DebugUIPreferenceInitializer extends AbstractPreferenceInitializer
if (store.isDefault(key)) {
oldValue= PreferenceConverter.getDefaultColor(store, key);
}
-
+
PreferenceConverter.setDefault(store, key, newValue);
-
+
if (oldValue != null && !oldValue.equals(newValue)) {
store.firePropertyChangeEvent(key, oldValue, newValue);
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DefaultLabelProvider.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DefaultLabelProvider.java
index e6e52995b..c25826f35 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DefaultLabelProvider.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DefaultLabelProvider.java
@@ -8,7 +8,7 @@
* Contributors:
* IBM Corporation - initial API and implementation
* QNX Software Systems - Mikhail Khodjaiants - Registers View (Bug 53640)
- * Valentin Ciocoi - Bug 414994 Guard against out of bounds exception when handling escaped characters in DefaultLabelProvider
+ * Valentin Ciocoi - Bug 414994 Guard against out of bounds exception when handling escaped characters in DefaultLabelProvider
*******************************************************************************/
package org.eclipse.debug.internal.ui;
@@ -57,7 +57,7 @@ import org.eclipse.ui.model.IWorkbenchAdapter;
import com.ibm.icu.text.MessageFormat;
public class DefaultLabelProvider implements ILabelProvider {
-
+
/**
* Maps image descriptors to images.
*/
@@ -77,7 +77,7 @@ public class DefaultLabelProvider implements ILabelProvider {
if (de != null) {
ImageDescriptor descriptor= de.getImageDescriptor(element);
if( descriptor != null) {
- return getImage(descriptor);
+ return getImage(descriptor);
}
}
return null;
@@ -87,11 +87,11 @@ public class DefaultLabelProvider implements ILabelProvider {
}
return DebugPluginImages.getImage(key);
}
-
+
/**
* Returns an image created from the given image descriptor or <code>null</code>.
* Caches and reuses images.
- *
+ *
* @param descriptor image descriptor
* @return image or <code>null</code>
*/
@@ -104,9 +104,9 @@ public class DefaultLabelProvider implements ILabelProvider {
if (image != null) {
fImages.put(descriptor, image);
}
- return image;
+ return image;
}
-
+
/**
* Returns the key (<code>String</code>) of the default image
* appropriate for the given element or <code>null</code>
@@ -123,7 +123,7 @@ public class DefaultLabelProvider implements ILabelProvider {
} else if (element instanceof IVariable || element instanceof IValue) {
if (element instanceof IndexedVariablePartition) {
return IInternalDebugUIConstants.IMG_OBJS_ARRAY_PARTITION;
- }
+ }
return IDebugUIConstants.IMG_OBJS_VARIABLE;
} else if (element instanceof IStackFrame) {
if (((IStackFrame)element).getThread().isSuspended()) {
@@ -159,7 +159,7 @@ public class DefaultLabelProvider implements ILabelProvider {
} else if (element instanceof IProcess) {
if (((IProcess) element).isTerminated()) {
return IDebugUIConstants.IMG_OBJS_OS_PROCESS_TERMINATED;
- }
+ }
return IDebugUIConstants.IMG_OBJS_OS_PROCESS;
} else if (element instanceof ILaunch) {
// determine the image from the launch config type
@@ -180,7 +180,7 @@ public class DefaultLabelProvider implements ILabelProvider {
return IDebugUIConstants.IMG_OBJS_LAUNCH_RUN_TERMINATED;
} else {
return IDebugUIConstants.IMG_OBJS_LAUNCH_RUN;
- }
+ }
} else if (element instanceof ILaunchConfigurationType) {
return ((ILaunchConfigurationType)element).getIdentifier();
} else if (element instanceof ILaunchConfiguration) {
@@ -192,7 +192,7 @@ public class DefaultLabelProvider implements ILabelProvider {
}
}
}
- return null;
+ return null;
}
/**
@@ -220,7 +220,7 @@ public class DefaultLabelProvider implements ILabelProvider {
} else if (element instanceof IRegisterGroup) {
label.append(getRegisterGroupText((IRegisterGroup)element));
} else if (element instanceof IValue) {
- label.append(((IValue)element).getValueString());
+ label.append(((IValue)element).getValueString());
}
} else {
if (element instanceof IMarker) {
@@ -258,25 +258,25 @@ public class DefaultLabelProvider implements ILabelProvider {
int exit = process.getExitValue();
terminatedMessage = MessageFormat.format(DebugUIMessages.DefaultLabelProvider_16, new Object[] { Integer.valueOf(exit).toString() });
} else {
- terminatedMessage= DebugUIMessages.DefaultLabelProvider_1;
+ terminatedMessage= DebugUIMessages.DefaultLabelProvider_1;
}
label.insert(0, terminatedMessage);
}
} else if (element instanceof IDisconnect) {
if (((IDisconnect) element).isDisconnected()) {
- label.insert(0, DebugUIMessages.DefaultLabelProvider__disconnected__1);
+ label.insert(0, DebugUIMessages.DefaultLabelProvider__disconnected__1);
}
}
} catch (DebugException e) {
DebugUIPlugin.log(e);
- label.append(DebugUIMessages.DefaultLabelProvider__unknown__1);
+ label.append(DebugUIMessages.DefaultLabelProvider__unknown__1);
}
return label.toString();
}
-
+
/**
* Returns default label for a breakpoint.
- *
+ *
* @param breakpoint
* @return default label for a breakpoint
*/
@@ -303,16 +303,16 @@ public class DefaultLabelProvider implements ILabelProvider {
return de.getLabel(object);
}
}
- return DebugUIMessages.DefaultLabelProvider__unknown__1;
+ return DebugUIMessages.DefaultLabelProvider__unknown__1;
}
-
+
/**
* Used to render launch history items in the re-launch drop downs
*/
protected String getLaunchText(ILaunch launch) {
if (launch.getLaunchConfiguration() == null || (!launch.getLaunchConfiguration().exists() && !launch.getLaunchConfiguration().isWorkingCopy())) {
- return DebugUIMessages.DefaultLabelProvider__unknown__1;
- }
+ return DebugUIMessages.DefaultLabelProvider__unknown__1;
+ }
// new launch configuration
ILaunchConfiguration config = launch.getLaunchConfiguration();
StringBuffer buff= new StringBuffer(config.getName());
@@ -323,7 +323,7 @@ public class DefaultLabelProvider implements ILabelProvider {
DebugUIPlugin.log(e);
}
buff.append("]"); //$NON-NLS-1$
- return buff.toString();
+ return buff.toString();
}
protected String getExpressionText(IExpression expression) {
@@ -342,18 +342,18 @@ public class DefaultLabelProvider implements ILabelProvider {
}
if (valueString != null && valueString.length() > 0) {
buffer.append("= "); //$NON-NLS-1$
- buffer.append(valueString);
+ buffer.append(valueString);
}
return buffer.toString();
- }
-
+ }
+
/**
* @param expression
* @return
*/
protected String getWatchExpressionText(IWatchExpression expression) {
StringBuffer result= new StringBuffer();
-
+
String snippet = expression.getExpressionText().trim();
StringBuffer snippetBuffer = new StringBuffer();
if (snippet.length() > 30){
@@ -364,18 +364,18 @@ public class DefaultLabelProvider implements ILabelProvider {
snippetBuffer.append(snippet);
}
snippet = snippetBuffer.toString().replaceAll("[\n\r\t]+", " "); //$NON-NLS-1$//$NON-NLS-2$
-
+
result.append('"');
result.append(snippet);
result.append('"');
if (expression.isPending()) {
- result.append(DebugUIMessages.DefaultLabelProvider_12);
+ result.append(DebugUIMessages.DefaultLabelProvider_12);
} else if (expression.hasErrors()) {
- result.append(DebugUIMessages.DefaultLabelProvider_13);
+ result.append(DebugUIMessages.DefaultLabelProvider_13);
} else {
IValue value= expression.getValue();
- if (value != null) {
+ if (value != null) {
String valueString= DebugUIPlugin.getModelPresentation().getText(value);
if (valueString.length() > 0) {
result.append(" = ").append(valueString); //$NON-NLS-1$
@@ -383,7 +383,7 @@ public class DefaultLabelProvider implements ILabelProvider {
}
}
if (!expression.isEnabled()) {
- result.append(DebugUIMessages.DefaultLabelProvider_15);
+ result.append(DebugUIMessages.DefaultLabelProvider_15);
}
return result.toString();
}
@@ -400,7 +400,7 @@ public class DefaultLabelProvider implements ILabelProvider {
}
return buffer.toString();
}
-
+
protected String getRegisterGroupText(IRegisterGroup registerGroup) {
StringBuffer buffer= new StringBuffer();
try {
@@ -410,32 +410,32 @@ public class DefaultLabelProvider implements ILabelProvider {
}
return buffer.toString();
}
-
+
protected String getMarkerText(IMarker marker) {
try {
if (marker.exists() && marker.isSubtypeOf(IBreakpoint.BREAKPOINT_MARKER)) {
- return DebugUIMessages.DefaultLabelProvider_Breakpoint_1;
+ return DebugUIMessages.DefaultLabelProvider_Breakpoint_1;
}
} catch (CoreException e) {
DebugUIPlugin.log(e);
}
return IInternalDebugCoreConstants.EMPTY_STRING;
}
-
+
protected String getMarkerImageKey(IMarker marker) {
try {
IBreakpoint breakpoint= DebugPlugin.getDefault().getBreakpointManager().getBreakpoint(marker);
if (breakpoint != null && marker.exists()) {
if (breakpoint.isEnabled()) {
return IDebugUIConstants.IMG_OBJS_BREAKPOINT;
- }
+ }
return IDebugUIConstants.IMG_OBJS_BREAKPOINT_DISABLED;
}
} catch (CoreException e) {
}
return null;
}
-
+
protected String getBreakpointImageKey(IBreakpoint breakpoint) {
if (breakpoint != null && breakpoint.getMarker().exists()) {
try {
@@ -447,17 +447,17 @@ public class DefaultLabelProvider implements ILabelProvider {
//access and modification
if (enabled) {
return IDebugUIConstants.IMG_OBJS_WATCHPOINT;
- }
+ }
return IDebugUIConstants.IMG_OBJS_WATCHPOINT_DISABLED;
}
if (enabled) {
return IDebugUIConstants.IMG_OBJS_ACCESS_WATCHPOINT;
- }
+ }
return IDebugUIConstants.IMG_OBJS_ACCESS_WATCHPOINT_DISABLED;
} else if (watchpoint.isModification()) {
if (enabled) {
return IDebugUIConstants.IMG_OBJS_MODIFICATION_WATCHPOINT;
- }
+ }
return IDebugUIConstants.IMG_OBJS_MODIFICATION_WATCHPOINT_DISABLED;
} else {
//neither access nor modification
@@ -466,7 +466,7 @@ public class DefaultLabelProvider implements ILabelProvider {
}
if (enabled) {
return IDebugUIConstants.IMG_OBJS_BREAKPOINT;
- }
+ }
return IDebugUIConstants.IMG_OBJS_BREAKPOINT_DISABLED;
} catch (CoreException e) {
}
@@ -506,10 +506,10 @@ public class DefaultLabelProvider implements ILabelProvider {
@Override
public void removeListener(ILabelProviderListener listener) {
}
-
+
/**
* Returns the given string with special chars in escaped sequences.
- *
+ *
* @param label
* @return the given string with special chars in escaped sequences
* @since 3.3
@@ -527,7 +527,7 @@ public class DefaultLabelProvider implements ILabelProvider {
break;
case '\f':
escaped.append("\\f"); //$NON-NLS-1$
- break;
+ break;
case '\n':
escaped.append("\\n"); //$NON-NLS-1$
break;
@@ -539,18 +539,18 @@ public class DefaultLabelProvider implements ILabelProvider {
break;
case '\\':
escaped.append("\\\\"); //$NON-NLS-1$
- break;
+ break;
default:
escaped.append(c);
break;
}
}
return escaped.toString();
- }
-
+ }
+
/**
* Returns the string with escaped sequences replaced with single chars.
- *
+ *
* @param string
* @return the string with escaped sequences replaced with single chars
* @since 3.3
@@ -597,11 +597,11 @@ public class DefaultLabelProvider implements ILabelProvider {
break;
default :
break;
- }
+ }
}
encoded.append(c);
}
- return encoded.toString();
+ return encoded.toString();
}
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DelegatingModelPresentation.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DelegatingModelPresentation.java
index 994ca765a..e80176e86 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DelegatingModelPresentation.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DelegatingModelPresentation.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -50,11 +50,11 @@ import org.eclipse.ui.IEditorPart;
* presentation contains a table of specialized presentations that are defined
* as <code>org.eclipse.debug.ui.debugModelPresentations</code> extensions. When
* asked to render an object from a debug model, this presentation delegates
- * to the extension registered for that debug model.
+ * to the extension registered for that debug model.
*/
public class DelegatingModelPresentation implements IDebugModelPresentation, IDebugEditorPresentation,
IColorProvider, IFontProvider, IInstructionPointerPresentation, IDebugModelPresentationExtension {
-
+
/**
* A mapping of attribute ids to their values
* @see IDebugModelPresentation#setAttribute
@@ -151,7 +151,7 @@ public class DelegatingModelPresentation implements IDebugModelPresentation, IDe
// If no delegate returned an image, use the default
return getDefaultImage(item);
}
-
+
/**
* @see IDebugModelPresentation#getText(Object)
*/
@@ -163,7 +163,7 @@ public class DelegatingModelPresentation implements IDebugModelPresentation, IDe
}
return getDefaultText(item);
}
-
+
/* (non-Javadoc)
* @see org.eclipse.debug.ui.ISourcePresentation#getEditorInput(java.lang.Object)
*/
@@ -175,7 +175,7 @@ public class DelegatingModelPresentation implements IDebugModelPresentation, IDe
}
return null;
}
-
+
/* (non-Javadoc)
* @see org.eclipse.debug.ui.ISourcePresentation#getEditorId(org.eclipse.ui.IEditorInput, java.lang.Object)
*/
@@ -202,7 +202,7 @@ public class DelegatingModelPresentation implements IDebugModelPresentation, IDe
protected Image getDefaultImage(Object element) {
return DebugUIPlugin.getDefaultLabelProvider().getImage(element);
}
-
+
/* (non-Javadoc)
* @see org.eclipse.debug.ui.IDebugModelPresentation#computeDetail(org.eclipse.debug.core.model.IValue, org.eclipse.debug.ui.IValueDetailListener)
*/
@@ -210,11 +210,11 @@ public class DelegatingModelPresentation implements IDebugModelPresentation, IDe
public void computeDetail(IValue value, IValueDetailListener listener) {
IDebugModelPresentation lp= getConfiguredPresentation(value);
if (lp != null) {
- lp.computeDetail(value, listener);
+ lp.computeDetail(value, listener);
} else {
listener.detailComputed(value, getText(value));
}
- }
+ }
/**
* Delegate to all extensions.
@@ -269,7 +269,7 @@ public class DelegatingModelPresentation implements IDebugModelPresentation, IDe
return null;
}
-
+
/**
* Returns the presentation registered for the given id, or <code>null</code>
* of nothing is registered for the id.
@@ -277,7 +277,7 @@ public class DelegatingModelPresentation implements IDebugModelPresentation, IDe
public IDebugModelPresentation getPresentation(String id) {
return getLabelProviders().get(id);
}
-
+
/* (non-Javadoc)
* @see org.eclipse.debug.ui.IDebugModelPresentation#setAttribute(java.lang.String, java.lang.Object)
*/
@@ -291,10 +291,10 @@ public class DelegatingModelPresentation implements IDebugModelPresentation, IDe
p.setAttribute(id, value);
}
}
-
+
/**
* Sets the value of the given attribute without setting in child presentations.
- *
+ *
* @param id id
* @param value value
*/
@@ -312,7 +312,7 @@ public class DelegatingModelPresentation implements IDebugModelPresentation, IDe
show= show == null ? Boolean.FALSE : show;
return show.booleanValue();
}
-
+
/**
* Returns the raw attribute map
* @return the raw attribute map
@@ -320,10 +320,10 @@ public class DelegatingModelPresentation implements IDebugModelPresentation, IDe
public HashMap<String, Object> getAttributes() {
return fAttributes;
}
-
+
/**
* Returns a copy of the attribute map for this presentation.
- *
+ *
* @return a copy of the attribute map for this presentation
* @since 3.0
*/
@@ -333,7 +333,7 @@ public class DelegatingModelPresentation implements IDebugModelPresentation, IDe
/**
* Returns the live-list of registered {@link ILabelProvider}s
- *
+ *
* @return the live list of label providers
*/
protected HashMap<String, IDebugModelPresentation> getLabelProviders() {
@@ -493,7 +493,7 @@ public class DelegatingModelPresentation implements IDebugModelPresentation, IDe
}
if (presentation instanceof IDebugModelPresentationExtension) {
return ((IDebugModelPresentationExtension)presentation).requiresUIThread(element);
- }
+ }
return false;
- }
+ }
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DynamicInstructionPointerAnnotation.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DynamicInstructionPointerAnnotation.java
index 8d377a251..c9d2fb90b 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DynamicInstructionPointerAnnotation.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DynamicInstructionPointerAnnotation.java
@@ -4,13 +4,13 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.debug.internal.ui;
-
+
import org.eclipse.debug.core.model.IStackFrame;
import org.eclipse.jface.text.source.Annotation;
@@ -24,9 +24,9 @@ public class DynamicInstructionPointerAnnotation extends Annotation {
* instances of this class can be distinguished by equals().
*/
private IStackFrame fStackFrame;
-
+
/**
- *
+ *
* @param frame
* @param markerAnnotationSpecificationId
* @param text
@@ -35,18 +35,18 @@ public class DynamicInstructionPointerAnnotation extends Annotation {
super(markerAnnotationSpecificationId, false, text);
fStackFrame = frame;
}
-
+
/* (non-Javadoc)
* @see java.lang.Object#equals(java.lang.Object)
*/
@Override
public boolean equals(Object other) {
if (other instanceof DynamicInstructionPointerAnnotation) {
- return getStackFrame().equals(((DynamicInstructionPointerAnnotation)other).getStackFrame());
+ return getStackFrame().equals(((DynamicInstructionPointerAnnotation)other).getStackFrame());
}
return false;
}
-
+
/* (non-Javadoc)
* @see java.lang.Object#hashCode()
*/
@@ -57,7 +57,7 @@ public class DynamicInstructionPointerAnnotation extends Annotation {
/**
* Returns the stack frame associated with this annotation
- *
+ *
* @return the stack frame associated with this annotation
*/
private IStackFrame getStackFrame() {
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/IDebugHelpContextIds.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/IDebugHelpContextIds.java
index d7361f3a4..2ae06eff4 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/IDebugHelpContextIds.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/IDebugHelpContextIds.java
@@ -12,7 +12,7 @@
*******************************************************************************/
package org.eclipse.debug.internal.ui;
-
+
import org.eclipse.debug.ui.IDebugUIConstants;
/**
@@ -21,16 +21,16 @@ import org.eclipse.debug.ui.IDebugUIConstants;
* This interface contains constants only; it is not intended to be implemented
* or extended.
* </p>
- *
+ *
*/
public interface IDebugHelpContextIds {
-
+
public static final String PREFIX = IDebugUIConstants.PLUGIN_ID + "."; //$NON-NLS-1$
-
+
// Actions
- public static final String CHANGE_VALUE_ACTION = PREFIX + "change_value_action_context"; //$NON-NLS-1$
+ public static final String CHANGE_VALUE_ACTION = PREFIX + "change_value_action_context"; //$NON-NLS-1$
public static final String OPEN_BREAKPOINT_ACTION = PREFIX + "open_breakpoint_action_context"; //$NON-NLS-1$
- public static final String RELAUNCH_HISTORY_ACTION = PREFIX + "relaunch_history_action_context"; //$NON-NLS-1$
+ public static final String RELAUNCH_HISTORY_ACTION = PREFIX + "relaunch_history_action_context"; //$NON-NLS-1$
public static final String SHOW_BREAKPOINTS_FOR_MODEL_ACTION = PREFIX + "show_breakpoints_for_model_action_context"; //$NON-NLS-1$
public static final String COPY_BREAKPOINTS_ACTION = PREFIX + "copy_breakpoints_action_context"; //$NON-NLS-1$
public static final String PASTE_BREAKPOINTS_ACTION = PREFIX + "paste_breakpoints_action_context"; //$NON-NLS-1$
@@ -39,7 +39,7 @@ public interface IDebugHelpContextIds {
public static final String VARIABLES_SELECT_LOGICAL_STRUCTURE = PREFIX + "variables_select_logical_structure"; //$NON-NLS-1$
public static final String VARIABLES_SELECT_DETAIL_PANE = PREFIX + "variables_select_detail_pane_action_context"; //$NON-NLS-1$
public static final String VARIABLES_AUTO_EXPAND = PREFIX + "variables_auto_expand_action_context"; //$NON-NLS-1$
- public static final String SELECT_WORKING_SET_ACTION = PREFIX + "select_working_set_context"; //$NON-NLS-1$
+ public static final String SELECT_WORKING_SET_ACTION = PREFIX + "select_working_set_context"; //$NON-NLS-1$
public static final String CLEAR_WORKING_SET_ACTION = PREFIX + "clear_working_set_context"; //$NON-NLS-1$
public static final String EDIT_LAUNCH_CONFIGURATION_ACTION = PREFIX + "edit_launch_configuration_action_context"; //$NON-NLS-1$
public static final String OPEN_LAUNCH_CONFIGURATION_ACTION = PREFIX + "open_launch_configuration_action_context"; //$NON-NLS-1$
@@ -88,7 +88,7 @@ public interface IDebugHelpContextIds {
public static final String REGISTERS_VIEW = PREFIX + "registers_view_context"; //$NON-NLS-1$
public static final String PROCESS_CONSOLE = PREFIX + "process_console_context"; //$NON-NLS-1$
public static final String MODULES_VIEW = PREFIX + "modules_view_context"; //$NON-NLS-1$
-
+
// Preference pages
public static final String DEBUG_PREFERENCE_PAGE = PREFIX + "debug_preference_page_context"; //$NON-NLS-1$
public static final String CONSOLE_PREFERENCE_PAGE = PREFIX + "console_preference_page_context"; //$NON-NLS-1$
@@ -98,7 +98,7 @@ public interface IDebugHelpContextIds {
public static final String LAUNCH_CONFIGURATION_PREFERENCE_PAGE = PREFIX + "launch_configuration_preference_page_context"; //$NON-NLS-1$
public static final String VIEW_MANAGEMENT_PREFERENCE_PAGE = PREFIX + "view_management_preference_page_context"; //$NON-NLS-1$
public static final String LAUNCH_DELEGATES_PREFERENCE_PAGE = PREFIX + "launch_delegate_preference_page_context"; //$NON-NLS-1$
-
+
// Dialogs
public static final String LAUNCH_CONFIGURATION_DIALOG = PREFIX + "launch_configuration_dialog"; //$NON-NLS-1$
public static final String LAUNCH_CONFIGURATION_PROPERTIES_DIALOG = PREFIX + "launch_configuration_properties_dialog"; //$NON-NLS-1$
@@ -129,28 +129,28 @@ public interface IDebugHelpContextIds {
public static final String SELECT_FAVORITES_DIALOG = PREFIX + "select_favorites_dialog"; //$NON-NLS-1$
public static final String SELECT_NATIVE_ENVIRONMENT_DIALOG = PREFIX + "select_native_environment_dialog"; //$NON-NLS-1$
public static final String SELECT_LAUNCH_CONFIGURATION_MIGRATION_DIALOG = PREFIX + "select_launch_configuration_migration_dialog"; //$NON-NLS-1$
-
+
// Property pages
public static final String PROCESS_PROPERTY_PAGE = PREFIX + "process_property_page_context"; //$NON-NLS-1$
public static final String PROCESS_PAGE_RUN_AT = PREFIX + "process_page_run_at_time_widget"; //$NON-NLS-1$
public static final String RUN_DEBUG_RESOURCE_PROPERTY_PAGE = PREFIX + "run_debug_resource_property_page"; //$NON-NLS-1$
-
+
// Launch configuration dialog pages
public static final String LAUNCH_CONFIGURATION_DIALOG_COMMON_TAB = PREFIX + "launch_configuration_dialog_common_tab"; //$NON-NLS-1$
- public static final String LAUNCH_CONFIGURATION_DIALOG_PERSPECTIVE_TAB = PREFIX + "launch_configuration_dialog_perspective_tab"; //$NON-NLS-1$
+ public static final String LAUNCH_CONFIGURATION_DIALOG_PERSPECTIVE_TAB = PREFIX + "launch_configuration_dialog_perspective_tab"; //$NON-NLS-1$
public static final String LAUNCH_CONFIGURATION_DIALOG_REFRESH_TAB = PREFIX + "launch_configuration_dialog_refresh_tab"; //$NON-NLS-1$
public static final String LAUNCH_CONFIGURATION_DIALOG_ENVIRONMENT_TAB = PREFIX + "launch_configuration_dialog_environment_tab"; //$NON-NLS-1$
-
+
// Working set page
- public static final String WORKING_SET_PAGE = PREFIX + "working_set_page_context"; //$NON-NLS-1$
-
+ public static final String WORKING_SET_PAGE = PREFIX + "working_set_page_context"; //$NON-NLS-1$
+
//Wizards
public static final String IMPORT_BREAKPOINTS_WIZARD_PAGE = PREFIX + "import_breakpoints_wizard_page_context"; //$NON-NLS-1$
public static final String EXPORT_BREAKPOINTS_WIZARD_PAGE = PREFIX + "export_breakpoints_wizard_page_context"; //$NON-NLS-1$
public static final String IMPORT_LAUNCH_CONFIGURATIONS_PAGE = PREFIX + "import_launch_configurations_context"; //$NON-NLS-1$
public static final String EXPORT_LAUNCH_CONFIGURATIONS_PAGE = PREFIX + "export_launch_configurations_context"; //$NON-NLS-1$
-
- //Editor
+
+ //Editor
public static final String NO_SOURCE_EDITOR = PREFIX + "debugger_editor_no_source_common";//$NON-NLS-1$
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/IInternalDebugUIConstants.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/IInternalDebugUIConstants.java
index 2a7dcc536..3ed20ea8d 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/IInternalDebugUIConstants.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/IInternalDebugUIConstants.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* QNX Software Systems - Mikhail Khodjaiants - Bug 114664
@@ -16,24 +16,24 @@ import org.eclipse.debug.internal.ui.views.memory.MemoryBlocksTreeViewPane;
import org.eclipse.debug.internal.ui.views.memory.RenderingViewPane;
import org.eclipse.debug.ui.IDebugUIConstants;
-
+
public interface IInternalDebugUIConstants {
-
+
public static final String DIALOGSTORE_LASTEXTJAR= "org.eclipse.debug.ui.lastextjar"; //$NON-NLS-1$
-
+
//Folders
public static final String ID_NAVIGATOR_FOLDER_VIEW= "org.eclipse.debug.internal.ui.NavigatorFolderView"; //$NON-NLS-1$
public static final String ID_TOOLS_FOLDER_VIEW= "org.eclipse.debug.internal.ui.ToolsFolderView"; //$NON-NLS-1$
public static final String ID_CONSOLE_FOLDER_VIEW= "org.eclipse.debug.internal.ui.ConsoleFolderView"; //$NON-NLS-1$
public static final String ID_OUTLINE_FOLDER_VIEW= "org.eclipse.debug.internal.ui.OutlineFolderView"; //$NON-NLS-1$
-
+
// tool images
public static final String IMG_LCL_COLLAPSE_ALL = "IMG_LCL_COLLAPSE_ALL"; //$NON-NLS-1$
public static final String IMG_LCL_TERMINATE = "IMG_LCL_TERMINATE"; //$NON-NLS-1$
public static final String IMG_LCL_SHOW_LOGICAL_STRUCTURE = "IMG_LCL_SHOW_LOGICAL_STRUCTURE"; //$NON-NLS-1$
public static final String IMG_LCL_RUN_TO_LINE= "IMG_LCL_RUN_TO_LINE"; //$NON-NLS-1$
public static final String IMG_SRC_LOOKUP_MENU = "IMG_SRC_LOOKUP_MENU"; //$NON-NLS-1$
-
+
/**
* @deprecated Use IDebugUIConstants#IMG_LCL_ADD
*/
@@ -43,7 +43,7 @@ public interface IInternalDebugUIConstants {
public static final String IMG_LCL_RESET_MEMORY= "IMG_LCL_RESET_MEMORY";//$NON-NLS-1$
public static final String IMG_LCL_COPY_VIEW_TO_CLIPBOARD = "IMG_LCL_COPY_VIEW_TO_CLIPBOARD"; //$NON-NLS-1$
public static final String IMG_LCL_PRINT_TOP_VIEW_TAB = "IMG_LCL_PRINT_TOP_VIEW_TAB"; //$NON-NLS-1$
-
+
// disabled local tool images
public static final String IMG_DLCL_LOCK= "IMG_DLCL_LOCK"; //$NON-NLS-1$
public static final String IMG_DLCL_DETAIL_PANE= "IMG_DLCL_DETAIL_PANE"; //$NON-NLS-1$
@@ -81,12 +81,12 @@ public interface IInternalDebugUIConstants {
public static final String IMG_DLCL_NEXT_THREAD = "IMG_DLCL_NEXT_THREAD"; //$NON-NLS-1$
public static final String IMG_DLCL_PREVIOUS_THREAD = "IMG_DLCL_PREVIOUS_THREAD"; //$NON-NLS-1$
public static final String IMG_DLCL_RESTART = "IMG_DLCL_RESTART"; //$NON-NLS-1$
-
+
//TODO: Move this IDebugUIConstants. Created too late in 3.2 cycle to add API.
//The enabled icon is already API.
public static final String IMG_DLCL_DISCONNECT= "IMG_DLCL_DISCONNECT"; //$NON-NLS-1$
-
- // enabled local tool images
+
+ // enabled local tool images
public static final String IMG_ELCL_LOCK= "IMG_ELCL_LOCK"; //$NON-NLS-1$
public static final String IMG_ELCL_DETAIL_PANE= "IMG_ELCL_DETAIL_PANE"; //$NON-NLS-1$
public static final String IMG_ELCL_CHANGE_VARIABLE_VALUE= "IMG_ELCL_CHANGE_VARIABLE_VALUE"; //$NON-NLS-1$
@@ -128,7 +128,7 @@ public interface IInternalDebugUIConstants {
public static final String IMG_ELCL_PREVIOUS_THREAD = "IMG_ELCL_PREVIOUS_THREAD"; //$NON-NLS-1$
public static final String IMG_ELCL_RESTART = "IMG_ELCL_RESTART"; //$NON-NLS-1$
public static final String IMG_ELCL_DEBUG_VIEW_COMPACT_LAYOUT = "IMG_ELCL_DEBUG_VIEW_BREADCRUMB_LAYOUT"; //$NON-NLS-1$
-
+
public static final String IMG_OBJS_COMMON_TAB = "IMG_OBJS_COMMON_TAB"; //$NON-NLS-1$
public static final String IMG_OBJS_REFRESH_TAB = "IMG_OBJS_REFRESH_TAB"; //$NON-NLS-1$
public static final String IMG_OBJS_PERSPECTIVE_TAB = "IMG_OBJS_PERSPECTIVE_TAB"; //$NON-NLS-1$
@@ -138,111 +138,111 @@ public interface IInternalDebugUIConstants {
public static final String IMG_OBJECT_MEMORY="IMG_OBJECT_MEMORY"; //$NON-NLS-1$
public static final String IMG_OBJS_BREAKPOINT_TYPE="IMG_OBJ_BREAKPOINT_TYPE"; //$NON-NLS-1$
public static final String IMG_OBJS_LAUNCH_GROUP = "IMG_OBJ_LAUNCH_GROUP"; //$NON-NLS-1$
-
+
// wizard images
public static final String IMG_WIZBAN_IMPORT_BREAKPOINTS = "IMG_WIZBAN_IMPORT_BREAKPOINTS"; //$NON-NLS-1$
public static final String IMG_WIZBAN_EXPORT_BREAKPOINTS = "IMG_WIZBAN_EXPORT_BREAKPOINTS"; //$NON-NLS-1$
public static final String IMG_WIZBAN_IMPORT_CONFIGS = "IMG_WIZBAN_IMPORT_CONFIGS"; //$NON-NLS-1$
- public static final String IMG_WIZBAN_EXPORT_CONFIGS = "IMG_WIZBAN_EXPORT_CONFIGS"; //$NON-NLS-1$
+ public static final String IMG_WIZBAN_EXPORT_CONFIGS = "IMG_WIZBAN_EXPORT_CONFIGS"; //$NON-NLS-1$
public static final String IMG_ADD_SRC_LOC_WIZ = "IMG_ADD_SRC_LOCATION"; //$NON-NLS-1$
public static final String IMG_EDIT_SRC_LOC_WIZ = "IMG_EDIT_SRC_LOCATION"; //$NON-NLS-1$
public static final String IMG_ADD_SRC_DIR_WIZ = "IMG_ADD_SRC_DIRECTORY"; //$NON-NLS-1$
public static final String IMG_EDIT_SRC_DIR_WIZ = "IMG_EDIT_SRC_DIRECTORY"; //$NON-NLS-1$
-
+
// internal preferences
/**
* XML for perspective settings - see PerspectiveManager.
* @since 3.0
*/
public static final String PREF_LAUNCH_PERSPECTIVES = IDebugUIConstants.PLUGIN_ID + ".PREF_LAUNCH_PERSPECTIVES"; //$NON-NLS-1$
-
+
/**
* Preference for enabling/disabling launch configuration filtering based on project accessibility status
- *
+ *
* @since 3.2
*/
public static final String PREF_FILTER_LAUNCH_CLOSED = IDebugUIConstants.PLUGIN_ID + ".PREF_FILTER_LAUNCH_CLOSED"; //$NON-NLS-1$
-
+
/**
* Preference for enabling/disabling launch configuration filtering based on project context
- *
+ *
* @since 3.2
*/
public static final String PREF_FILTER_LAUNCH_DELETED = IDebugUIConstants.PLUGIN_ID + ".PREF_FILTER_LAUNCH_DELETED"; //$NON-NLS-1$
-
+
/**
* Preference for enabling/disabling filtering based on selected items from the launch configuration type table
* @since 3.2
*/
public static final String PREF_FILTER_LAUNCH_TYPES = IDebugUIConstants.PLUGIN_ID + ".PREF_FILTER_LAUNCH_TYPES"; //$NON-NLS-1$
-
+
/**
* Preference that saves which launch configuration types have been checked on the Launch Configurations pref page
* @since 3.2
*/
public static final String PREF_FILTER_TYPE_LIST = IDebugUIConstants.PLUGIN_ID + ".PREF_FILTER_TYPE_LIST"; //$NON-NLS-1$
-
+
/**
* Preference for filtering launch configurations based on the currently active working sets
* @since 3.2
*/
- public static final String PREF_FILTER_WORKING_SETS = IDebugUIConstants.PLUGIN_ID + ".PREF_FILTER_WORKING_SETS"; //$NON-NLS-1$
-
- /**
- * Transparent overlay image identifier.
+ public static final String PREF_FILTER_WORKING_SETS = IDebugUIConstants.PLUGIN_ID + ".PREF_FILTER_WORKING_SETS"; //$NON-NLS-1$
+
+ /**
+ * Transparent overlay image identifier.
*/
public static final String IMG_OVR_TRANSPARENT = "IMG_OVR_TRANSPARENT"; //$NON-NLS-1$
-
+
/**
* Editor Id for the "Source Not Found" editor
*/
public static final String ID_SOURCE_NOT_FOUND_EDITOR = "org.eclipse.debug.ui.NoSourceFoundEditor"; //$NON-NLS-1$
-
+
/**
* Boolean preference indicating if contextual launch options should be visible
* to the user rather than the "run as" menu.
- *
+ *
* @since 3.3.0
* CONTEXTLAUNCHING
- */
+ */
public static final String PREF_USE_CONTEXTUAL_LAUNCH = IDebugUIConstants.PLUGIN_ID + ".UseContextualLaunch"; //$NON-NLS-1$
-
+
/**
* Boolean preference indicating that if the selected resource is not launchable, then we should
* launch the last configuration that was launched.
- *
+ *
* @since 3.3.0
* CONTEXTLAUNCHING
*/
public static final String PREF_LAUNCH_LAST_IF_NOT_LAUNCHABLE = IDebugUIConstants.PLUGIN_ID + ".LaunchLastIfNotLaunchable"; //$NON-NLS-1$
-
+
/**
* Boolean preference indicating if we should always consider the parent project when
* a selected context is not runnable
- *
+ *
* @since 3.3.0
* CONTEXTLAUNCHING
*/
public static final String PREF_LAUNCH_PARENT_PROJECT = IDebugUIConstants.PLUGIN_ID + ".LaunchParentProject"; //$NON-NLS-1$
-
+
/**
* Boolean preference indicating if the user should be prompted prior to removing a launch configuration
* from the launch history drop down
- *
+ *
* @since 3.4
*/
public static final String PREF_REMOVE_FROM_LAUNCH_HISTORY = IDebugUIConstants.PLUGIN_ID + ".RemoveFromLaunchHistory"; //$NON-NLS-1$
-
+
/**
* String preference controlling whether editors are saved before launching.
* Valid values are either "always", "never", or "prompt".
* If "always" or "never", launching will save editors (or not) automatically.
* If "prompt", the user will be prompted each time.
- *
+ *
* @since 3.0
*/
public static final String PREF_SAVE_DIRTY_EDITORS_BEFORE_LAUNCH = IDebugUIConstants.PLUGIN_ID + ".save_dirty_editors_before_launch"; //$NON-NLS-1$
-
+
/**
* Preference specifying that all launches should be DEBUG_MODE if breakpoints exist in the workspace
* @since 3.0
@@ -253,12 +253,12 @@ public interface IInternalDebugUIConstants {
* Preference specifying that launches should continue when compile errors exist.
* @since 3.0
*/
- public static final String PREF_CONTINUE_WITH_COMPILE_ERROR = IDebugUIConstants.PLUGIN_ID + ".cancel_launch_with_compile_errors"; //$NON-NLS-1$
+ public static final String PREF_CONTINUE_WITH_COMPILE_ERROR = IDebugUIConstants.PLUGIN_ID + ".cancel_launch_with_compile_errors"; //$NON-NLS-1$
/**
* Boolean preference controlling whether the debugger will force activate the debug
* view when a breakpoint is hit.
- *
+ *
* @since 3.0
*/
public static final String PREF_ACTIVATE_DEBUG_VIEW= IDebugUIConstants.PLUGIN_ID + ".activate_debug_view"; //$NON-NLS-1$
@@ -269,7 +269,7 @@ public interface IInternalDebugUIConstants {
* Valid values are either "always", "never", or "prompt".
* If "always" or "never", launching will switch perspectives (or not) automatically.
* If "prompt", the user will be prompted each time.
- *
+ *
* @since 3.0
*/
public static final String PREF_SWITCH_TO_PERSPECTIVE= IDebugUIConstants.PLUGIN_ID + ".switch_to_perspective"; //$NON-NLS-1$
@@ -280,7 +280,7 @@ public interface IInternalDebugUIConstants {
* Valid values are either "always", "never", or "prompt".
* If "always" or "never", suspension will switch perspectives (or not) automatically.
* If "prompt", the user will be prompted each time.
- *
+ *
* @since 3.0
*/
public static final String PREF_SWITCH_PERSPECTIVE_ON_SUSPEND= IDebugUIConstants.PLUGIN_ID + ".switch_perspective_on_suspend"; //$NON-NLS-1$
@@ -291,18 +291,18 @@ public interface IInternalDebugUIConstants {
* Valid values are either "always", "never", or "prompt".
* If "always" or "never", launching will wait for builds to finish (or not) automatically.
* If "prompt", the user will be prompted each time.
- *
+ *
* @since 3.0
*/
public static final String PREF_WAIT_FOR_BUILD= IDebugUIConstants.PLUGIN_ID + ".wait_for_build"; //$NON-NLS-1$
-
+
/**
* Font for Memory View
- *
+ *
* @since 3.0
*/
public final static String FONT_NAME = IDebugUIConstants.PLUGIN_ID + ".MemoryViewTableFont"; //$NON-NLS-1$
-
+
public final static int ADD_UNIT_PER_LINE = 16; // number of addressable unit per line
public final static int CHAR_PER_BYTE = 2; // number of characters to represent one byte
@@ -311,24 +311,24 @@ public interface IInternalDebugUIConstants {
* @since 3.1
*/
public static String ID_RENDERING_VIEW_PANE = RenderingViewPane.RENDERING_VIEW_PANE_ID;
-
+
/**
* Memory view's memory block tree viewer's identifier. (value <code>"org.eclipse.debug.ui.MemoryView.MemoryBlocksTreeViewPane"</code>).
* @since 3.1
*/
public static String ID_MEMORY_BLOCK_TREE_VIEWER = MemoryBlocksTreeViewPane.PANE_ID;
- /**
+ /**
* Memory view image identifier
- *
+ *
* @since 3.0
* */
public static final String IMG_CVIEW_MEMORY_VIEW= "IMG_CVIEW_MEMORY_VIEW"; //$NON-NLS-1$
-
-
- /**
+
+
+ /**
* Modules view image identifier
- *
+ *
* @since 3.4
* */
public static final String IMG_CVIEW_MODULES_VIEW= "IMG_CVIEW_MODULES_VIEW"; //$NON-NLS-1$
@@ -337,103 +337,103 @@ public interface IInternalDebugUIConstants {
* Boolean preference controlling whether the debug view tracks
* views as the user manually opens/closes them for the purpose
* of not automatically opening/closing such views.
- *
+ *
* @since 3.0
*/
public static final String PREF_TRACK_VIEWS= IDebugUIConstants.PLUGIN_ID + ".track_views"; //$NON-NLS-1$
-
+
/**
* Comma separated list of view ids closed by the user, that have view context bindings.
* @since 3.2
*/
public static final String PREF_USER_VIEW_BINDINGS = IDebugUIConstants.PLUGIN_ID + ".user_view_bindings"; //$NON-NLS-1$
-
+
/**
* Preference storing memento for the default breakpoint working set in
* the breakpoints view.
- *
+ *
* @since 3.1
*/
public static final String MEMENTO_BREAKPOINT_WORKING_SET_NAME = DebugUIPlugin.getUniqueIdentifier() + ".MEMENTO_BREAKPOINT_WORKING_SET_NAME"; //$NON-NLS-1$
/**
* Breakpoint working set identifier.
- *
+ *
* @since 3.1
* @deprecated There is an API equivalent constant that should be used, see
* {@link IDebugUIConstants#BREAKPOINT_WORKINGSET_ID}
*/
@Deprecated
public static final String ID_BREAKPOINT_WORKINGSET = "org.eclipse.debug.ui.breakpointWorkingSet"; //$NON-NLS-1$
-
-
+
+
/**
* Address at the beginning of a page in a table rendering.
* @since 3.1
*/
public static final String PROPERTY_PAGE_START_ADDRESS = "pageStart"; //$NON-NLS-1$
-
+
/**
* This constant is used as a "quick-fix" for the issue of breakpoint to working set
* persistence when the state of a project changes.
- *
+ *
* @since 3.2
*/
public static final String WORKING_SET_NAME = "workingset_name"; //$NON-NLS-1$
-
+
/**
* This constant is used as a "quick-fix" for the issue of breakpoint to working set
* persistence when the state of a project changes.
- *
+ *
* @since 3.2
*/
public static final String WORKING_SET_ID = "workingset_id"; //$NON-NLS-1$
-
+
/**
* Annotation type identifier for annotation of the an instruction
* pointer with a dynamic image. Value is <code>org.eclipse.debug.ui.dynamicIP</code>,
* identifying a <code>org.eclipse.ui.editors.markerAnnotationSpecification</code>
* extension.
- *
+ *
* @since 3.2
*/
public static final String ANNOTATION_TYPE_DYNAMIC_INSTRUCTION_POINTER = "org.eclipse.debug.ui.dynamicIP"; //$NON-NLS-1$
-
+
/**
* Identifier of the external tool builder launch category. Defined here since
* external tools is actually a dependent plug-in.
- *
+ *
* @since 3.4
*/
public static final String ID_EXTERNAL_TOOL_BUILDER_LAUNCH_CATEGORY = "org.eclipse.ui.externaltools.builder"; //$NON-NLS-1$
-
+
//themes
-
+
/**
* Theme color definition for process console background color.
- *
+ *
* @since 3.4
*/
public static final String THEME_CONSOLE_COLOR_BACKGROUND= "org.eclipse.debug.ui.console.background"; //$NON-NLS-1$
-
+
/**
* Theme color definition for process console standard out.
- *
+ *
* @since 3.4
*/
- public static final String THEME_CONSOLE_COLOR_STD_OUT= "org.eclipse.debug.ui.console.stream.out"; //$NON-NLS-1$
+ public static final String THEME_CONSOLE_COLOR_STD_OUT= "org.eclipse.debug.ui.console.stream.out"; //$NON-NLS-1$
/**
* Theme color definition for process console standard in.
- *
+ *
* @since 3.4
*/
public static final String THEME_CONSOLE_COLOR_STD_IN= "org.eclipse.debug.ui.console.stream.in"; //$NON-NLS-1$
-
+
/**
* Theme color definition for process console standard err.
- *
+ *
* @since 3.4
*/
public static final String THEME_CONSOLE_COLOR_STD_ERR = "org.eclipse.debug.ui.console.stream.err"; //$NON-NLS-1$
@@ -442,28 +442,28 @@ public interface IInternalDebugUIConstants {
/**
* Boolean preference indicating if launch action should launch or terminate
* and relaunch by default
- *
+ *
* @since 3.11
*/
public static final String PREF_TERMINATE_AND_RELAUNCH_LAUNCH_ACTION = IDebugUIConstants.PLUGIN_ID + ".RelaunchAndTerminateLaunchAction"; //$NON-NLS-1$
/**
* Int preference indicating the sorting order of breakpoints
- *
+ *
* @since 3.12
*/
public static final String PREF_BREAKPOINT_SORTING_ORDER = IDebugUIConstants.PLUGIN_ID + ".BreakpointSortingOrder"; //$NON-NLS-1$
/**
* Int indicating the breakpoints will be sorted by name
- *
+ *
* @since 3.12
*/
public static final int BREAKPOINT_SORTING_ORDER_NAME = 0;
/**
* Int indicating the breakpoints will be sorted by Creation Time
- *
+ *
* @since 3.12
*/
public static final int BREAKPOINT_SORTING_ORDER_CREATION_TIME = 1;
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ILaunchHistoryChangedListener.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ILaunchHistoryChangedListener.java
index 1156d2fea..fee755caf 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ILaunchHistoryChangedListener.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ILaunchHistoryChangedListener.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ILaunchLabelChangedListener.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ILaunchLabelChangedListener.java
index fe3013466..557f8b27a 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ILaunchLabelChangedListener.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ILaunchLabelChangedListener.java
@@ -13,24 +13,24 @@ package org.eclipse.debug.internal.ui;
import org.eclipse.debug.ui.ILaunchGroup;
/**
- * Implementors of this interface are notified when a changed has been made to
+ * Implementors of this interface are notified when a changed has been made to
* the cache of context sensitive labels stored in the <code>LaunchingResourceManager</code>.
* A change can come from either a selection change, or from a change to the launch history(s).
- *
+ *
* <p>
* Clients are intended to implement this interface
* </p>
- *
+ *
* @since 3.3
*/
public interface ILaunchLabelChangedListener {
-
+
/**
* This method is called back to by <code>LaunchingResourceManager</code> iff the cache of labels
* for the current set of listeners has changed
*/
public void labelChanged();
-
+
/**
* Returns the launch group that this listener is associated with.
* @return the launch group that this listener is associated with, or <code>null</code> if none
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ImageDescriptorRegistry.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ImageDescriptorRegistry.java
index e2d19e2c0..25c71b47a 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ImageDescriptorRegistry.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ImageDescriptorRegistry.java
@@ -11,7 +11,7 @@
*******************************************************************************/
package org.eclipse.debug.internal.ui;
-
+
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
@@ -28,7 +28,7 @@ public class ImageDescriptorRegistry {
private Map<ImageDescriptor, Image> fRegistry = Collections.synchronizedMap(new HashMap<ImageDescriptor, Image>(10));
private Display fDisplay;
-
+
/**
* Creates a new image descriptor registry for the current or default display,
* respectively.
@@ -36,22 +36,22 @@ public class ImageDescriptorRegistry {
public ImageDescriptorRegistry() {
this(DebugUIPlugin.getStandardDisplay());
}
-
+
/**
* Creates a new image descriptor registry for the given display. All images
* managed by this registry will be disposed when the display gets disposed.
- *
- * @param display the display the images managed by this registry are allocated for
+ *
+ * @param display the display the images managed by this registry are allocated for
*/
public ImageDescriptorRegistry(Display display) {
fDisplay= display;
Assert.isNotNull(fDisplay);
hookDisplay();
}
-
+
/**
* Returns the image associated with the given image descriptor.
- *
+ *
* @param descriptor the image descriptor for which the registry manages an image
* @return the image associated with the image descriptor or <code>null</code>
* if the image descriptor can't create the requested image.
@@ -60,13 +60,13 @@ public class ImageDescriptorRegistry {
if (descriptor == null) {
descriptor= ImageDescriptor.getMissingImageDescriptor();
}
-
+
Image result= fRegistry.get(descriptor);
if (result != null) {
return result;
}
-
- Assert.isTrue(fDisplay == DebugUIPlugin.getStandardDisplay(), DebugUIMessages.ImageDescriptorRegistry_0);
+
+ Assert.isTrue(fDisplay == DebugUIPlugin.getStandardDisplay(), DebugUIMessages.ImageDescriptorRegistry_0);
result= descriptor.createImage();
if (result != null) {
fRegistry.put(descriptor, result);
@@ -76,14 +76,14 @@ public class ImageDescriptorRegistry {
/**
* Disposes all images managed by this registry.
- */
+ */
public void dispose() {
for (Image image : fRegistry.values()) {
image.dispose();
}
fRegistry.clear();
}
-
+
private void hookDisplay() {
fDisplay.asyncExec(new Runnable() {
@Override
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InstructionPointerAnnotation.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InstructionPointerAnnotation.java
index 38443e0d9..92ca6a105 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InstructionPointerAnnotation.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InstructionPointerAnnotation.java
@@ -4,13 +4,13 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.debug.internal.ui;
-
+
import org.eclipse.debug.core.model.IStackFrame;
import org.eclipse.swt.graphics.Image;
@@ -18,15 +18,15 @@ import org.eclipse.swt.graphics.Image;
* Default instruction pointer annotation.
*/
public class InstructionPointerAnnotation extends DynamicInstructionPointerAnnotation {
-
+
/**
* The image for this annotation.
*/
private Image fImage;
-
+
/**
* Constructs an instruction pointer image.
- *
+ *
* @param frame stack frame the instruction pointer is associated with
* @param annotationType the type of annotation to display (annotation identifier)
* @param text the message to display with the annotation as hover help
@@ -36,10 +36,10 @@ public class InstructionPointerAnnotation extends DynamicInstructionPointerAnnot
super(frame, annotationType, text);
fImage = image;
}
-
+
/**
* Returns this annotation's image.
- *
+ *
* @return image
*/
protected Image getImage() {
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InstructionPointerContext.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InstructionPointerContext.java
index 7a8216f25..0aececb17 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InstructionPointerContext.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InstructionPointerContext.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -26,17 +26,17 @@ public class InstructionPointerContext {
* The thread this context belongs to.
*/
private IThread fThread;
-
+
/**
* The debug target this context belongs to.
*/
private IDebugTarget fDebugTarget;
-
+
/**
* The editor that the annotation is being displayed in
*/
private ITextEditor fEditor;
-
+
/**
* The vertical ruler annotation for this context.
*/
@@ -48,7 +48,7 @@ public class InstructionPointerContext {
fEditor = editor;
fAnnotation = annotation;
}
-
+
/* (non-Javadoc)
* @see java.lang.Object#equals(java.lang.Object)
*/
@@ -62,7 +62,7 @@ public class InstructionPointerContext {
}
return false;
}
-
+
/* (non-Javadoc)
* @see java.lang.Object#hashCode()
*/
@@ -91,7 +91,7 @@ public class InstructionPointerContext {
public ITextEditor getEditor() {
return fEditor;
}
-
+
/**
* @return the annotation
*/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InstructionPointerImageProvider.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InstructionPointerImageProvider.java
index 27e02df18..f86cece14 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InstructionPointerImageProvider.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InstructionPointerImageProvider.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Richard Birenheide - Bug 459664
@@ -47,5 +47,5 @@ public class InstructionPointerImageProvider implements IAnnotationImageProvider
public ImageDescriptor getImageDescriptor(String imageDescritporId) {
return null;
}
-
+
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InstructionPointerManager.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InstructionPointerManager.java
index 19401b008..fb3cfeda1 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InstructionPointerManager.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InstructionPointerManager.java
@@ -51,29 +51,29 @@ public class InstructionPointerManager{
* Set containing all instruction pointer contexts this class manages
*/
private Set<InstructionPointerContext> fIPCSet = new HashSet<InstructionPointerContext>();
-
+
/**
* Maps ITextEditors to the set of instruction pointer contexts that are displayed in the editor
*/
private Map<ITextEditor, Set<InstructionPointerContext>> fEditorMap = new HashMap<ITextEditor, Set<InstructionPointerContext>>();
-
+
/**
* Part listener added to editors that contain annotations. Allows instruction pointer contexts to
* be removed when the editor they are displayed in is removed.
*/
private IPartListener2 fPartListener;
-
+
/**
- * Page listener added to the workbench window to remove part listeners when the page is closed.
+ * Page listener added to the workbench window to remove part listeners when the page is closed.
*/
private IPageListener fPageListener;
-
+
/**
* Clients must not instantiate this class.
*/
private InstructionPointerManager() {
}
-
+
/**
* Return the singleton instance of this class, creating it if necessary.
*/
@@ -83,25 +83,25 @@ public class InstructionPointerManager{
}
return fgDefault;
}
-
+
/**
- * Adds an instruction pointer annotation in the specified editor for the
+ * Adds an instruction pointer annotation in the specified editor for the
* specified stack frame.
*/
public void addAnnotation(ITextEditor textEditor, IStackFrame frame, Annotation annotation) {
-
+
IDocumentProvider docProvider = textEditor.getDocumentProvider();
IEditorInput editorInput = textEditor.getEditorInput();
// If there is no annotation model, there's nothing more to do
IAnnotationModel annModel = docProvider.getAnnotationModel(editorInput);
if (annModel == null) {
return;
- }
-
+ }
+
// Create the Position object that specifies a location for the annotation
Position position = null;
int charStart = -1;
- int length = -1;
+ int length = -1;
try {
charStart = frame.getCharStart();
length = frame.getCharEnd() - charStart;
@@ -127,20 +127,20 @@ public class InstructionPointerManager{
return;
}
position = new Position(charStart, length);
-
+
if (frame.isTerminated()) {
return;
}
-
+
synchronized (fIPCSet) {
-
+
// Add the annotation at the position to the editor's annotation model.
annModel.removeAnnotation(annotation);
annModel.addAnnotation(annotation, position);
-
+
// Create the instruction pointer context
InstructionPointerContext ipc = new InstructionPointerContext(frame.getDebugTarget(), frame.getThread(), textEditor, annotation);
-
+
// Add the IPC to the set and map
Set<InstructionPointerContext> editorIPCs = fEditorMap.get(textEditor);
if (editorIPCs == null){
@@ -152,13 +152,13 @@ public class InstructionPointerManager{
editorIPCs.add(ipc);
fIPCSet.remove(ipc);
fIPCSet.add(ipc);
-
+
// Add a listener to the editor so we can remove the IPC when the editor is closed
textEditor.getSite().getPage().addPartListener(getPartListener());
textEditor.getSite().getPage().getWorkbenchWindow().addPageListener(getPageListener());
}
}
-
+
/**
* Remove all annotations associated with the specified debug target that this class
* is tracking.
@@ -176,7 +176,7 @@ public class InstructionPointerManager{
}
}
}
-
+
/**
* Remove all annotations associated with the specified thread that this class
* is tracking.
@@ -194,7 +194,7 @@ public class InstructionPointerManager{
}
}
}
-
+
/**
* Remove all annotations associated with the specified editor that this class
* is tracking.
@@ -225,9 +225,9 @@ public class InstructionPointerManager{
fEditorMap.remove(ipc.getEditor());
}
}
-
+
}
-
+
/**
* Remove the annotation from the document model.
*/
@@ -240,29 +240,29 @@ public class InstructionPointerManager{
}
}
}
-
+
/**
* Returns the number of instruction pointers.
* Used by the test suite.
- *
+ *
* @return the number of instruction pointers
* @since 3.2
*/
public int getInstructionPointerCount() {
return fIPCSet.size();
}
-
+
/**
* Returns the number of keys in the editor to IPC mapping
* Used by the test suite.
- *
+ *
* @return the number of keys in the editor mapping
* @since 3.3
*/
public int getEditorMappingCount() {
return fEditorMap.size();
}
-
+
/**
* @return the page listener to add to workbench window.
*/
@@ -272,7 +272,7 @@ public class InstructionPointerManager{
}
return fPageListener;
}
-
+
/**
* @return the part listener to add to editors.
*/
@@ -300,7 +300,7 @@ public class InstructionPointerManager{
public void partVisible(IWorkbenchPartReference partRef) {}
@Override
public void partBroughtToTop(IWorkbenchPartReference partRef) {}
-
+
/* (non-Javadoc)
* @see org.eclipse.ui.IPartListener2#partClosed(org.eclipse.ui.IWorkbenchPartReference)
*/
@@ -310,9 +310,9 @@ public class InstructionPointerManager{
if (part instanceof ITextEditor){
removeAnnotations((ITextEditor)part);
}
-
+
}
-
+
/* (non-Javadoc)
* @see org.eclipse.ui.IPartListener2#partInputChanged(org.eclipse.ui.IWorkbenchPartReference)
*/
@@ -324,7 +324,7 @@ public class InstructionPointerManager{
}
}
}
-
+
/**
* Page listener that is added to the workbench to remove the part listener when the page is closed.
*/
@@ -343,7 +343,7 @@ public class InstructionPointerManager{
page.removePartListener(getPartListener());
page.getWorkbenchWindow().removePageListener(getPageListener());
}
-
+
}
-
+
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LaunchConfigurationTabExtension.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LaunchConfigurationTabExtension.java
index ba0aaac3e..f951538ef 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LaunchConfigurationTabExtension.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LaunchConfigurationTabExtension.java
@@ -20,7 +20,7 @@ import org.eclipse.debug.ui.ILaunchConfigurationTab;
/**
* Provides a proxy to a launchConfigurationTabs extension point
- *
+ *
* @since 3.3
*/
public final class LaunchConfigurationTabExtension {
@@ -30,7 +30,7 @@ public final class LaunchConfigurationTabExtension {
*/
IConfigurationElement fElement = null;
private Set<String> fDelegates = null;
-
+
/**
* Constructor
* @param element the <code>IConfigurationElement</code> for this proxy
@@ -38,7 +38,7 @@ public final class LaunchConfigurationTabExtension {
public LaunchConfigurationTabExtension(IConfigurationElement element) {
fElement = element;
}
-
+
/**
* Returns the unique id of the tab
* @return the unique id of the tab
@@ -76,11 +76,11 @@ public final class LaunchConfigurationTabExtension {
public String getTabGroupId() {
return fElement.getAttribute(IConfigurationElementConstants.GROUP);
}
-
+
/**
* This method returns the id of the tab that this tab should be placed immediately after.
* @return the id of the relative tab or <code>null</code> if one has not been specified
- *
+ *
*/
public String getRelativeTabId() {
IConfigurationElement[] elems = fElement.getChildren(IConfigurationElementConstants.PLACEMENT);
@@ -89,7 +89,7 @@ public final class LaunchConfigurationTabExtension {
}
return null;
}
-
+
/**
* Returns the id of the plugin that contributed this tab extension
* @return the id of the plugin tat contributed this tab
@@ -97,7 +97,7 @@ public final class LaunchConfigurationTabExtension {
public String getPluginIdentifier() {
return fElement.getContributor().getName();
}
-
+
/**
* Returns a set of strings of the launch delegates that this tab contribution is associated with
* @return the set of strings of the associated launch delegates, which can be an empty collection, never <code>null</code>.
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LazyModelPresentation.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LazyModelPresentation.java
index f9588cd4f..355fdf203 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LazyModelPresentation.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/LazyModelPresentation.java
@@ -50,9 +50,9 @@ import org.eclipse.ui.IEditorPart;
* when it is needed.
*/
-public class LazyModelPresentation implements IDebugModelPresentation, IDebugEditorPresentation,
+public class LazyModelPresentation implements IDebugModelPresentation, IDebugEditorPresentation,
IColorProvider, IFontProvider, IInstructionPointerPresentation, IDebugModelPresentationExtension {
-
+
/**
* A temporary mapping of attribute ids to their values
* @see IDebugModelPresentation#setAttribute
@@ -63,24 +63,24 @@ public class LazyModelPresentation implements IDebugModelPresentation, IDebugEdi
* The config element that defines the extension
*/
protected IConfigurationElement fConfig = null;
-
+
/**
* The actual presentation instance - null until called upon
*/
protected IDebugModelPresentation fPresentation = null;
-
+
/**
* Temp holding for listeners - we do not add to presentation until
* it needs to be instantiated.
*/
protected ListenerList<ILabelProviderListener> fListeners = new ListenerList<>();
-
+
/**
* Non-null when nested inside a delegating model presentation
*/
private DelegatingModelPresentation fOwner = null;
-
-
+
+
/* (non-Javadoc)
* @see org.eclipse.debug.ui.IDebugEditorPresentation#removeAnntations(org.eclipse.ui.IEditorPart, org.eclipse.debug.core.model.IThread)
*/
@@ -110,18 +110,18 @@ public class LazyModelPresentation implements IDebugModelPresentation, IDebugEdi
public LazyModelPresentation(IConfigurationElement configElement) {
fConfig = configElement;
}
-
+
/**
* Constructs a lazy presentation from the config element, owned by the specified
* delegating model presentation.
- *
+ *
* @param parent owning presentation
* @param configElement XML configuration element
*/
public LazyModelPresentation(DelegatingModelPresentation parent, IConfigurationElement configElement) {
this(configElement);
fOwner = parent;
- }
+ }
/**
* @see IDebugModelPresentation#getImage(Object)
@@ -142,7 +142,7 @@ public class LazyModelPresentation implements IDebugModelPresentation, IDebugEdi
}
return image;
}
-
+
/**
* Initializes the image registry
*/
@@ -154,7 +154,7 @@ public class LazyModelPresentation implements IDebugModelPresentation, IDebugEdi
/**
* Computes and return common adornment flags for the given element.
- *
+ *
* @param element
* @return adornment flags defined in CompositeDebugImageDescriptor
*/
@@ -180,14 +180,14 @@ public class LazyModelPresentation implements IDebugModelPresentation, IDebugEdi
protected Image getDefaultImage(Object element) {
return DebugUIPlugin.getDefaultLabelProvider().getImage(element);
}
-
+
/**
* @see IDebugModelPresentation#getText(Object)
*/
@Override
public String getText(Object element) {
if (!(element instanceof IndexedVariablePartition)) {
- // Attempt to delegate
+ // Attempt to delegate
String text = getPresentation().getText(element);
if (text != null) {
return text;
@@ -207,7 +207,7 @@ public class LazyModelPresentation implements IDebugModelPresentation, IDebugEdi
}
}
buf.append(getDefaultText(element));
- return buf.toString();
+ return buf.toString();
} else if (element instanceof IVariable) {
return new StringBuffer(((IVariable)element).getValue().getReferenceTypeName()).append(' ').append(getDefaultText(element)).toString();
}
@@ -217,7 +217,7 @@ public class LazyModelPresentation implements IDebugModelPresentation, IDebugEdi
}
return getDefaultText(element);
}
-
+
/**
* Whether or not to show variable type names.
* This option is configured per model presentation.
@@ -228,15 +228,15 @@ public class LazyModelPresentation implements IDebugModelPresentation, IDebugEdi
show = show == null ? Boolean.FALSE : show;
return show.booleanValue();
}
-
+
/**
* @see IDebugModelPresentation#computeDetail(IValue, IValueDetailListener)
*/
@Override
public void computeDetail(IValue value, IValueDetailListener listener) {
getPresentation().computeDetail(value, listener);
- }
-
+ }
+
/**
* @see ISourcePresentation#getEditorInput(Object)
*/
@@ -244,7 +244,7 @@ public class LazyModelPresentation implements IDebugModelPresentation, IDebugEdi
public IEditorInput getEditorInput(Object element) {
return getPresentation().getEditorInput(element);
}
-
+
/**
* @see ISourcePresentation#getEditorId(IEditorInput, Object)
*/
@@ -282,7 +282,7 @@ public class LazyModelPresentation implements IDebugModelPresentation, IDebugEdi
public boolean isLabelProperty(Object element, String property) {
if (fPresentation != null) {
return getPresentation().isLabelProperty(element, property);
- }
+ }
return false;
}
@@ -299,7 +299,7 @@ public class LazyModelPresentation implements IDebugModelPresentation, IDebugEdi
listeners.remove(listener);
}
}
-
+
/**
* Returns the real presentation, instantiating if required.
*/
@@ -347,12 +347,12 @@ public class LazyModelPresentation implements IDebugModelPresentation, IDebugEdi
}
fAttributes.put(id, value);
-
+
if (fOwner != null) {
fOwner.basicSetAttribute(id, value);
}
}
-
+
/**
* Returns the identifier of the debug model this
* presentation is registered for.
@@ -360,12 +360,12 @@ public class LazyModelPresentation implements IDebugModelPresentation, IDebugEdi
public String getDebugModelIdentifier() {
return fConfig.getAttribute("id"); //$NON-NLS-1$
}
-
+
/**
* Returns a new source viewer configuration for the details
* area of the variables view, or <code>null</code> if
* unspecified.
- *
+ *
* @return source viewer configuration or <code>null</code>
* @exception CoreException if unable to create the specified
* source viewer configuration
@@ -377,20 +377,20 @@ public class LazyModelPresentation implements IDebugModelPresentation, IDebugEdi
}
return null;
}
-
+
/**
* Returns a copy of the attributes in this model presentation.
- *
+ *
* @return a copy of the attributes in this model presentation
* @since 3.0
*/
public Map<String, Object> getAttributeMap() {
return new HashMap<String, Object>(fAttributes);
}
-
+
/**
* Returns the raw attribute map
- *
+ *
* @return the raw attribute map
*/
public Map<String, Object> getAttributes() {
@@ -422,7 +422,7 @@ public class LazyModelPresentation implements IDebugModelPresentation, IDebugEdi
}
return null;
}
-
+
/* (non-Javadoc)
* @see org.eclipse.jface.viewers.IFontProvider#getFont(java.lang.Object)
*/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/MultipleInputDialog.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/MultipleInputDialog.java
index d02ea8404..871301813 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/MultipleInputDialog.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/MultipleInputDialog.java
@@ -44,24 +44,24 @@ public class MultipleInputDialog extends Dialog {
protected static final int BROWSE = 101;
protected static final int VARIABLE = 102;
protected static final int MULTILINE_VARIABLE = 103;
-
+
protected Composite panel;
-
+
protected List<FieldSummary> fieldList = new ArrayList<FieldSummary>();
protected List<Text> controlList = new ArrayList<Text>();
protected List<Validator> validators = new ArrayList<Validator>();
protected Map<Object, String> valueMap = new HashMap<Object, String>();
private String title;
-
-
-
+
+
+
public MultipleInputDialog(Shell shell, String title) {
super(shell);
this.title = title;
setShellStyle(getShellStyle() | SWT.RESIZE);
}
-
+
/* (non-Javadoc)
* @see org.eclipse.jface.window.Window#configureShell(org.eclipse.swt.widgets.Shell)
*/
@@ -71,9 +71,9 @@ public class MultipleInputDialog extends Dialog {
if (title != null) {
shell.setText(title);
}
-
+
}
-
+
/* (non-Javadoc)
* @see org.eclipse.jface.dialogs.Dialog#createButtonBar(org.eclipse.swt.widgets.Composite)
*/
@@ -83,7 +83,7 @@ public class MultipleInputDialog extends Dialog {
validateFields();
return bar;
}
-
+
/* (non-Javadoc)
* @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
*/
@@ -92,7 +92,7 @@ public class MultipleInputDialog extends Dialog {
Composite container = (Composite)super.createDialogArea(parent);
container.setLayout(new GridLayout(2, false));
container.setLayoutData(new GridData(GridData.FILL_BOTH));
-
+
panel = new Composite(container, SWT.NONE);
GridLayout layout = new GridLayout(2, false);
panel.setLayout(layout);
@@ -115,12 +115,12 @@ public class MultipleInputDialog extends Dialog {
break;
}
}
-
+
fieldList = null; // allow it to be gc'd
Dialog.applyDialogFont(container);
return container;
}
-
+
public void addBrowseField(String labelText, String initialValue, boolean allowsEmpty) {
fieldList.add(new FieldSummary(BROWSE, labelText, initialValue, allowsEmpty));
}
@@ -133,23 +133,23 @@ public class MultipleInputDialog extends Dialog {
public void addMultilinedVariablesField(String labelText, String initialValue, boolean allowsEmpty) {
fieldList.add(new FieldSummary(MULTILINE_VARIABLE, labelText, initialValue, allowsEmpty));
}
-
- protected void createTextField(String labelText, String initialValue, boolean allowEmpty) {
+
+ protected void createTextField(String labelText, String initialValue, boolean allowEmpty) {
Label label = new Label(panel, SWT.NONE);
label.setText(labelText);
label.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING));
-
+
final Text text = new Text(panel, SWT.SINGLE | SWT.BORDER);
text.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
text.setData(FIELD_NAME, labelText);
-
+
// make sure rows are the same height on both panels.
- label.setSize(label.getSize().x, text.getSize().y);
-
+ label.setSize(label.getSize().x, text.getSize().y);
+
if (initialValue != null) {
text.setText(initialValue);
}
-
+
if (!allowEmpty) {
validators.add(new Validator() {
@Override
@@ -164,22 +164,22 @@ public class MultipleInputDialog extends Dialog {
}
});
}
-
+
controlList.add(text);
}
-
+
protected void createBrowseField(String labelText, String initialValue, boolean allowEmpty) {
Label label = new Label(panel, SWT.NONE);
label.setText(labelText);
label.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING));
-
+
Composite comp = new Composite(panel, SWT.NONE);
GridLayout layout = new GridLayout();
layout.marginHeight=0;
layout.marginWidth=0;
comp.setLayout(layout);
comp.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
-
+
final Text text = new Text(comp, SWT.SINGLE | SWT.BORDER);
GridData data = new GridData(GridData.FILL_HORIZONTAL);
data.widthHint = 200;
@@ -187,8 +187,8 @@ public class MultipleInputDialog extends Dialog {
text.setData(FIELD_NAME, labelText);
// make sure rows are the same height on both panels.
- label.setSize(label.getSize().x, text.getSize().y);
-
+ label.setSize(label.getSize().x, text.getSize().y);
+
if (initialValue != null) {
text.setText(initialValue);
}
@@ -208,45 +208,45 @@ public class MultipleInputDialog extends Dialog {
}
});
}
-
- Button button = createButton(comp, IDialogConstants.IGNORE_ID, DebugUIMessages.MultipleInputDialog_6, false);
+
+ Button button = createButton(comp, IDialogConstants.IGNORE_ID, DebugUIMessages.MultipleInputDialog_6, false);
button.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
DirectoryDialog dialog = new DirectoryDialog(getShell());
- dialog.setMessage(DebugUIMessages.MultipleInputDialog_7);
+ dialog.setMessage(DebugUIMessages.MultipleInputDialog_7);
String currentWorkingDir = text.getText();
if (!currentWorkingDir.trim().equals(IInternalDebugCoreConstants.EMPTY_STRING)) {
File path = new File(currentWorkingDir);
if (path.exists()) {
dialog.setFilterPath(currentWorkingDir);
- }
+ }
}
-
+
String selectedDirectory = dialog.open();
if (selectedDirectory != null) {
text.setText(selectedDirectory);
- }
+ }
}
});
controlList.add(text);
-
+
}
-
-
+
+
public void createVariablesField(String labelText, String initialValue, boolean allowEmpty) {
Label label = new Label(panel, SWT.NONE);
label.setText(labelText);
label.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING));
-
+
Composite comp = new Composite(panel, SWT.NONE);
GridLayout layout = new GridLayout();
layout.marginHeight=0;
layout.marginWidth=0;
comp.setLayout(layout);
comp.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
-
+
final Text text = new Text(comp, SWT.SINGLE | SWT.BORDER);
GridData data = new GridData(GridData.FILL_HORIZONTAL);
data.widthHint = 200;
@@ -254,8 +254,8 @@ public class MultipleInputDialog extends Dialog {
text.setData(FIELD_NAME, labelText);
// make sure rows are the same height on both panels.
- label.setSize(label.getSize().x, text.getSize().y);
-
+ label.setSize(label.getSize().x, text.getSize().y);
+
if (initialValue != null) {
text.setText(initialValue);
}
@@ -275,8 +275,8 @@ public class MultipleInputDialog extends Dialog {
}
});
}
-
- Button button = createButton(comp, IDialogConstants.IGNORE_ID, DebugUIMessages.MultipleInputDialog_8, false);
+
+ Button button = createButton(comp, IDialogConstants.IGNORE_ID, DebugUIMessages.MultipleInputDialog_8, false);
button.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
@@ -292,16 +292,16 @@ public class MultipleInputDialog extends Dialog {
});
controlList.add(text);
-
+
}
-
+
public void createMultilineVariablesField(String labelText, String initialValue, boolean allowEmpty) {
Label label = new Label(panel, SWT.NONE);
label.setText(labelText);
GridData gd = new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);
gd.horizontalSpan = 2;
label.setLayoutData(gd);
-
+
final Text text = new Text(panel, SWT.MULTI | SWT.BORDER | SWT.V_SCROLL);
gd = new GridData(GridData.FILL_BOTH);
gd.widthHint = 300;
@@ -309,7 +309,7 @@ public class MultipleInputDialog extends Dialog {
gd.horizontalSpan = 2;
text.setLayoutData(gd);
text.setData(FIELD_NAME, labelText);
-
+
text.addTraverseListener(new TraverseListener () {
@Override
public void keyTraversed(TraverseEvent e) {
@@ -318,10 +318,10 @@ public class MultipleInputDialog extends Dialog {
}
}
});
-
+
// make sure rows are the same height on both panels.
- label.setSize(label.getSize().x, text.getSize().y);
-
+ label.setSize(label.getSize().x, text.getSize().y);
+
if (initialValue != null) {
text.setText(initialValue);
}
@@ -341,13 +341,13 @@ public class MultipleInputDialog extends Dialog {
}
});
}
- Composite comp = SWTFactory.createComposite(panel, panel.getFont(), 1, 2, GridData.HORIZONTAL_ALIGN_END);
+ Composite comp = SWTFactory.createComposite(panel, panel.getFont(), 1, 2, GridData.HORIZONTAL_ALIGN_END);
GridLayout ld = (GridLayout)comp.getLayout();
ld.marginHeight = 1;
ld.marginWidth = 0;
ld.horizontalSpacing = 0;
Button button = createButton(comp, IDialogConstants.IGNORE_ID, DebugUIMessages.MultipleInputDialog_8, false);
-
+
button.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
@@ -362,9 +362,9 @@ public class MultipleInputDialog extends Dialog {
}
});
- controlList.add(text);
+ controlList.add(text);
}
-
+
/* (non-Javadoc)
* @see org.eclipse.jface.dialogs.Dialog#okPressed()
*/
@@ -377,7 +377,7 @@ public class MultipleInputDialog extends Dialog {
super.okPressed();
}
-
+
/* (non-Javadoc)
* @see org.eclipse.jface.window.Window#open()
*/
@@ -386,15 +386,15 @@ public class MultipleInputDialog extends Dialog {
applyDialogFont(panel);
return super.open();
}
-
+
public Object getValue(String key) {
return valueMap.get(key);
}
-
+
public String getStringValue(String key) {
return (String) getValue(key);
}
-
+
public void validateFields() {
for (Validator validator : validators) {
if (!validator.validate()) {
@@ -404,13 +404,13 @@ public class MultipleInputDialog extends Dialog {
}
getButton(IDialogConstants.OK_ID).setEnabled(true);
}
-
+
protected class FieldSummary {
int type;
String name;
String initialValue;
boolean allowsEmpty;
-
+
public FieldSummary(int type, String name, String initialValue, boolean allowsEmpty) {
this.type = type;
this.name = name;
@@ -418,7 +418,7 @@ public class MultipleInputDialog extends Dialog {
this.allowsEmpty = allowsEmpty;
}
}
-
+
protected class Validator {
boolean validate() {
return true;
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/Pair.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/Pair.java
index 69a6bf324..cb28ccf56 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/Pair.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/Pair.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ResourceExtender.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ResourceExtender.java
index 347d1aa34..cebd8de1e 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ResourceExtender.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ResourceExtender.java
@@ -71,7 +71,7 @@ public class ResourceExtender extends PropertyTester {
}
}
} else {
- if (PROPERTY_MATCHES_PATTERN.equals(method)) {
+ if (PROPERTY_MATCHES_PATTERN.equals(method)) {
String fileName = resource.getName();
String expected = (String) expectedValue;
expected = expected.replaceAll("\\.", "\\\\."); //$NON-NLS-1$//$NON-NLS-2$
@@ -92,11 +92,11 @@ public class ResourceExtender extends PropertyTester {
}
return false;
}
-
+
/**
- * Returns whether the given type or one of its base types matches the
+ * Returns whether the given type or one of its base types matches the
* given content type identifier.
- *
+ *
* @param type content type or <code>null</code>
* @param typeId content type identifier
* @return
@@ -114,9 +114,9 @@ public class ResourceExtender extends PropertyTester {
/**
* Returns whether or not the given file's content type matches the
* specified content type.
- *
+ *
* Content types are looked up in the content type registry.
- *
+ *
* @return whether or not the given resource has the given content type
*/
private boolean matchesContentType(IResource resource, String contentType) {
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/SWTFactory.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/SWTFactory.java
index 618c247d3..99e66b8b2 100755
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/SWTFactory.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/SWTFactory.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -34,10 +34,10 @@ import org.eclipse.ui.dialogs.PreferencesUtil;
import org.eclipse.ui.forms.widgets.ExpandableComposite;
/**
- * Factory class to create some SWT resources.
+ * Factory class to create some SWT resources.
*/
public class SWTFactory {
-
+
/**
* Returns a width hint for a button control.
*/
@@ -47,28 +47,28 @@ public class SWTFactory {
int widthHint= converter.convertHorizontalDLUsToPixels(IDialogConstants.BUTTON_WIDTH);
return Math.max(widthHint, button.computeSize(SWT.DEFAULT, SWT.DEFAULT, true).x);
}
-
+
/**
* Sets width and height hint for the button control.
* <b>Note:</b> This is a NOP if the button's layout data is not
* an instance of <code>GridData</code>.
- *
+ *
* @param the button for which to set the dimension hint
- */
+ */
public static void setButtonDimensionHint(Button button) {
Assert.isNotNull(button);
Object gd= button.getLayoutData();
if (gd instanceof GridData) {
- ((GridData)gd).widthHint= getButtonWidthHint(button);
- ((GridData)gd).horizontalAlignment = GridData.FILL;
+ ((GridData)gd).widthHint= getButtonWidthHint(button);
+ ((GridData)gd).horizontalAlignment = GridData.FILL;
}
- }
-
+ }
+
/**
* Creates a check box button using the parents' font
* @param parent the parent to add the button to
* @param label the label for the button
- * @param image the image for the button
+ * @param image the image for the button
* @param checked the initial checked state of the button
* @param hspan the horizontal span to take up in the parent composite
* @return a new checked button set to the initial checked state
@@ -90,15 +90,15 @@ public class SWTFactory {
setButtonDimensionHint(button);
return button;
}
-
+
/**
* Creates and returns a new push button with the given
* label and/or image.
- *
+ *
* @param parent parent control
* @param label button label or <code>null</code>
* @param image image of <code>null</code>
- *
+ *
* @return a new push button
*/
public static Button createPushButton(Composite parent, String label, Image image) {
@@ -111,20 +111,20 @@ public class SWTFactory {
button.setText(label);
}
GridData gd = new GridData();
- button.setLayoutData(gd);
+ button.setLayoutData(gd);
setButtonDimensionHint(button);
- return button;
- }
+ return button;
+ }
/**
* Creates and returns a new push button with the given
* label and/or image.
- *
+ *
* @param parent parent control
* @param label button label or <code>null</code>
* @param image image of <code>null</code>
* @param fill the alignment for the new button
- *
+ *
* @return a new push button
* @since 3.4
*/
@@ -138,20 +138,20 @@ public class SWTFactory {
button.setText(label);
}
GridData gd = new GridData(fill);
- button.setLayoutData(gd);
+ button.setLayoutData(gd);
setButtonDimensionHint(button);
- return button;
- }
-
+ return button;
+ }
+
/**
* Creates and returns a new push button with the given
* label, tooltip and/or image.
- *
+ *
* @param parent parent control
* @param label button label or <code>null</code>
* @param tooltip the tooltip text for the button or <code>null</code>
* @param image image of <code>null</code>
- *
+ *
* @return a new push button
* @since 3.6
*/
@@ -160,14 +160,14 @@ public class SWTFactory {
button.setToolTipText(tooltip);
return button;
}
-
+
/**
* Creates and returns a new radio button with the given
* label.
- *
+ *
* @param parent parent control
* @param label button label or <code>null</code>
- *
+ *
* @return a new radio button
*/
public static Button createRadioButton(Composite parent, String label) {
@@ -177,19 +177,19 @@ public class SWTFactory {
button.setText(label);
}
GridData gd = new GridData();
- button.setLayoutData(gd);
+ button.setLayoutData(gd);
setButtonDimensionHint(button);
- return button;
- }
-
+ return button;
+ }
+
/**
* Creates and returns a new radio button with the given
* label.
- *
+ *
* @param parent parent control
* @param label button label or <code>null</code>
* @param hspan the number of columns to span in the parent composite
- *
+ *
* @return a new radio button
* @since 3.6
*/
@@ -201,11 +201,11 @@ public class SWTFactory {
}
GridData gd = new GridData(GridData.BEGINNING);
gd.horizontalSpan = hspan;
- button.setLayoutData(gd);
+ button.setLayoutData(gd);
setButtonDimensionHint(button);
- return button;
+ return button;
}
-
+
/**
* Creates a new label widget
* @param parent the parent composite to add this label widget to
@@ -213,7 +213,7 @@ public class SWTFactory {
* @param hspan the horizontal span to take up in the parent composite
* @return the new label
* @since 3.2
- *
+ *
*/
public static Label createLabel(Composite parent, String text, int hspan) {
Label l = new Label(parent, SWT.NONE);
@@ -225,7 +225,7 @@ public class SWTFactory {
l.setLayoutData(gd);
return l;
}
-
+
/**
* Creates a new label widget
* @param parent the parent composite to add this label widget to
@@ -244,7 +244,7 @@ public class SWTFactory {
l.setLayoutData(gd);
return l;
}
-
+
/**
* Creates a wrapping label
* @param parent the parent composite to add this label to
@@ -264,7 +264,7 @@ public class SWTFactory {
l.setLayoutData(gd);
return l;
}
-
+
/**
* Creates a new <code>CLabel</code> that will wrap at the specified width and has the specified image
* @param parent the parent to add this label to
@@ -290,7 +290,7 @@ public class SWTFactory {
label.setLayoutData(gd);
return label;
}
-
+
/**
* Creates a wrapping label
* @param parent the parent composite to add this label to
@@ -308,14 +308,14 @@ public class SWTFactory {
l.setLayoutData(gd);
return l;
}
-
+
/**
- * Creates a new text widget
+ * Creates a new text widget
* @param parent the parent composite to add this text widget to
* @param hspan the horizontal span to take up on the parent composite
* @return the new text widget
* @since 3.2
- *
+ *
*/
public static Text createSingleText(Composite parent, int hspan) {
Text t = new Text(parent, SWT.SINGLE | SWT.BORDER);
@@ -325,9 +325,9 @@ public class SWTFactory {
t.setLayoutData(gd);
return t;
}
-
+
/**
- * Creates a new text widget
+ * Creates a new text widget
* @param parent the parent composite to add this text widget to
* @param style the style bits for the text widget
* @param hspan the horizontal span to take up on the parent composite
@@ -343,9 +343,9 @@ public class SWTFactory {
t.setLayoutData(gd);
return t;
}
-
+
/**
- * Creates a new text widget
+ * Creates a new text widget
* @param parent the parent composite to add this text widget to
* @param style the style bits for the text widget
* @param hspan the horizontal span to take up on the parent composite
@@ -360,9 +360,9 @@ public class SWTFactory {
t.setLayoutData(gd);
return t;
}
-
+
/**
- * Creates a new text widget
+ * Creates a new text widget
* @param parent the parent composite to add this text widget to
* @param style the style bits for the text widget
* @param hspan the horizontal span to take up on the parent composite
@@ -382,9 +382,9 @@ public class SWTFactory {
t.setLayoutData(gd);
return t;
}
-
+
/**
- * Creates a new styled text widget
+ * Creates a new styled text widget
* @param parent the parent composite to add this styled text widget to
* @param style the style bits for the styled text widget
* @param hspan the horizontal span to take up on the parent composite
@@ -404,9 +404,9 @@ public class SWTFactory {
t.setLayoutData(gd);
return t;
}
-
+
/**
- * Creates a new text widget
+ * Creates a new text widget
* @param parent the parent composite to add this text widget to
* @param style the style bits for the text widget
* @param hspan the horizontal span to take up on the parent composite
@@ -423,7 +423,7 @@ public class SWTFactory {
t.setText(text);
return t;
}
-
+
/**
* Creates a Group widget
* @param parent the parent composite to add this group to
@@ -433,7 +433,7 @@ public class SWTFactory {
* @param fill the style for how this composite should fill into its parent
* @return the new group
* @since 3.2
- *
+ *
*/
public static Group createGroup(Composite parent, String text, int columns, int hspan, int fill) {
Group g = new Group(parent, SWT.NONE);
@@ -445,7 +445,7 @@ public class SWTFactory {
g.setLayoutData(gd);
return g;
}
-
+
/**
* Creates a Composite widget
* @param parent the parent composite to add this composite to
@@ -465,7 +465,7 @@ public class SWTFactory {
g.setLayoutData(gd);
return g;
}
-
+
/**
* Creates an ExpandibleComposite widget
* @param parent the parent to add this widget to
@@ -486,7 +486,7 @@ public class SWTFactory {
ex.setLayoutData(gd);
return ex;
}
-
+
/**
* Creates a composite that uses the parent's font and has a grid layout
* @param parent the parent to add the composite to
@@ -494,7 +494,7 @@ public class SWTFactory {
* @param hspan the horizontal span the new composite should take up in the parent
* @param fill the fill style of the composite {@link GridData}
* @return a new composite with a grid layout
- *
+ *
* @since 3.3
*/
public static Composite createComposite(Composite parent, int columns, int hspan, int fill) {
@@ -506,12 +506,12 @@ public class SWTFactory {
g.setLayoutData(gd);
return g;
}
-
+
/**
- * Creates a vertical spacer for separating components. If applied to a
+ * Creates a vertical spacer for separating components. If applied to a
* <code>GridLayout</code>, this method will automatically span all of the columns of the parent
* to make vertical space
- *
+ *
* @param parent the parent composite to add this spacer to
* @param numlines the number of vertical lines to make as space
* @since 3.3
@@ -526,7 +526,7 @@ public class SWTFactory {
gd.heightHint = numlines;
lbl.setLayoutData(gd);
}
-
+
/**
* creates a horizontal spacer for separating components
* @param comp
@@ -539,7 +539,7 @@ public class SWTFactory {
gd.horizontalSpan = numlines;
lbl.setLayoutData(gd);
}
-
+
/**
* Creates a Composite widget
* @param parent the parent composite to add this composite to
@@ -564,7 +564,7 @@ public class SWTFactory {
g.setLayoutData(gd);
return g;
}
-
+
/**
* Creates a {@link ViewForm}
* @param parent
@@ -589,7 +589,7 @@ public class SWTFactory {
form.setLayoutData(gd);
return form;
}
-
+
/**
* Creates a Composite widget
* @param parent the parent composite to add this composite to
@@ -615,7 +615,7 @@ public class SWTFactory {
g.setLayoutData(gd);
return g;
}
-
+
/**
* This method is used to make a combo box
* @param parent the parent composite to add the new combo to
@@ -641,7 +641,7 @@ public class SWTFactory {
c.select(0);
return c;
}
-
+
/**
* This method is used to make a combo box with a default fill style of GridData.FILL_HORIZONTAL
* @param parent the parent composite to add the new combo to
@@ -665,7 +665,7 @@ public class SWTFactory {
c.select(0);
return c;
}
-
+
/**
* This method allows us to open the preference dialog on the specific page, in this case the perspective page
* @param id the id of preference page to show
@@ -675,15 +675,15 @@ public class SWTFactory {
public static void showPreferencePage(String id) {
PreferencesUtil.createPreferenceDialogOn(DebugUIPlugin.getShell(), id, new String[] {id}, null).open();
}
-
+
/**
* This method allows users to open a specific preference page and supply a custom
* set of page filter items.
- *
- * This alternative to <code>showPreferencePage(String)</code> allows other related
+ *
+ * This alternative to <code>showPreferencePage(String)</code> allows other related
* pref pages to be shown at the same time at the developers/context discretion.
- * All pages can be shown if <code>null</code> is passed.
- *
+ * All pages can be shown if <code>null</code> is passed.
+ *
* @param page_id the id for the page to open
* @param page_filters the listing of pages to be shown in the dialog
* @since 3.6
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/TerminateToggleValue.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/TerminateToggleValue.java
index f1bb6d541..c9f943d6c 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/TerminateToggleValue.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/TerminateToggleValue.java
@@ -16,7 +16,7 @@ import org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtensio
* Class stores the data for shortcut and if Shift was pressed with shortcut
* This is used to store that data for selected selection and later used at the
* launching of the shortcut
- *
+ *
* @since 3.12
*/
public class TerminateToggleValue {
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/VariableValueEditorManager.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/VariableValueEditorManager.java
index b1fda8424..26bf56f98 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/VariableValueEditorManager.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/VariableValueEditorManager.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial implementation
*******************************************************************************/
@@ -24,12 +24,12 @@ import org.eclipse.debug.ui.actions.IVariableValueEditor;
* Manager which provides the variable value editors contributed
* via the org.eclipse.debug.ui.variableValueEditors extension
* point.
- *
+ *
* @see org.eclipse.debug.ui.actions.IVariableValueEditor
* @since 3.1
*/
public class VariableValueEditorManager {
-
+
/**
* Mapping of debug model identifiers to variable value editors.
* The keys in this map are always Strings (model ids).
@@ -38,7 +38,7 @@ public class VariableValueEditorManager {
* are instantiated (editors are loaded lazily, then cached).
*/
private Map<String, Object> fEditorMap = new HashMap<String, Object>();
-
+
/**
* The singleton instance of this manager.
*/
@@ -63,7 +63,7 @@ public class VariableValueEditorManager {
}
return fgManager;
}
-
+
/**
* Returns the variable value editor associated with the given debug
* model identifier or <code>null</code> if no editor has been supplied
@@ -89,7 +89,7 @@ public class VariableValueEditorManager {
}
return editor;
}
-
+
/**
* Loads contributors to the org.eclipse.debug.ui.variableValueEditors extension point,
* for use when the user runs this action.
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/VariablesViewModelPresentation.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/VariablesViewModelPresentation.java
index eb01c255e..0b9dbef0d 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/VariablesViewModelPresentation.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/VariablesViewModelPresentation.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -17,7 +17,7 @@ public class VariablesViewModelPresentation extends DelegatingModelPresentation
/**
* @see DelegatingModelPresentation#getText(Object)
- *
+ *
* Strips out control characters and replaces them with string representations
*/
@Override
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/WorkingDirectoryStatusHandler.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/WorkingDirectoryStatusHandler.java
index 94e4cede3..d0bb87c70 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/WorkingDirectoryStatusHandler.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/WorkingDirectoryStatusHandler.java
@@ -30,8 +30,8 @@ public class WorkingDirectoryStatusHandler implements IStatusHandler {
DebugUIPlugin.getStandardDisplay().syncExec(new Runnable() {
@Override
public void run() {
- String title= DebugUIMessages.WorkingDirectoryStatusHandler_Eclipse_Runtime_1;
- String message= DebugUIMessages.WorkingDirectoryStatusHandler_0;
+ String title= DebugUIMessages.WorkingDirectoryStatusHandler_Eclipse_Runtime_1;
+ String message= DebugUIMessages.WorkingDirectoryStatusHandler_0;
result[0]= (MessageDialog.openQuestion(DebugUIPlugin.getShell(), title, message));
}
});
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AbstractDebugActionDelegate.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AbstractDebugActionDelegate.java
index c91cc5698..a5d928e23 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AbstractDebugActionDelegate.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AbstractDebugActionDelegate.java
@@ -38,7 +38,7 @@ import org.eclipse.ui.IWorkbenchWindow;
* @see IActionDelegate2
*/
public abstract class AbstractDebugActionDelegate implements IViewActionDelegate, IActionDelegate2 {
-
+
/**
* The underlying action for this delegate
*/
@@ -48,17 +48,17 @@ public abstract class AbstractDebugActionDelegate implements IViewActionDelegate
* if not installed in a view.
*/
private IViewPart fViewPart;
-
+
/**
* Cache of the most recent selection
*/
private IStructuredSelection fSelection = StructuredSelection.EMPTY;
-
+
/**
* Whether this delegate has been initialized
*/
private boolean fInitialized = false;
-
+
/**
* Whether this delegate was started with Shift pressed
*/
@@ -70,7 +70,7 @@ public abstract class AbstractDebugActionDelegate implements IViewActionDelegate
* set in the plugin's plugin.xml file.
*/
public AbstractDebugActionDelegate() {}
-
+
/* (non-Javadoc)
* @see org.eclipse.ui.IWorkbenchWindowActionDelegate#dispose()
*/
@@ -92,15 +92,15 @@ public abstract class AbstractDebugActionDelegate implements IViewActionDelegate
runInForeground(selection, false);
}
}
-
+
/**
* Runs this action in the UI thread.
* @param selection the current selection
*/
private void runInForeground(final IStructuredSelection selection, boolean isShift) {
fIsShift = isShift;
- final MultiStatus status=
- new MultiStatus(DebugUIPlugin.getUniqueIdentifier(), DebugException.REQUEST_FAILED, getStatusMessage(), null);
+ final MultiStatus status=
+ new MultiStatus(DebugUIPlugin.getUniqueIdentifier(), DebugException.REQUEST_FAILED, getStatusMessage(), null);
BusyIndicator.showWhile(Display.getCurrent(), new Runnable() {
@Override
public void run() {
@@ -143,14 +143,14 @@ public abstract class AbstractDebugActionDelegate implements IViewActionDelegate
*/
@Override
public void selectionChanged(IAction action, ISelection s) {
- boolean wasInitialized= initialize(action, s);
+ boolean wasInitialized= initialize(action, s);
if (!wasInitialized) {
if (getView() != null) {
update(action, s);
}
}
}
-
+
/**
* Updates the specified selection based on the selection, as well as setting the selection
* for this action
@@ -167,7 +167,7 @@ public abstract class AbstractDebugActionDelegate implements IViewActionDelegate
setSelection(StructuredSelection.EMPTY);
}
}
-
+
/**
* Returns a selection this operation should act on based on the given selection.
* Provides an opportunity for actions to translate the selection/targets of the
@@ -182,7 +182,7 @@ public abstract class AbstractDebugActionDelegate implements IViewActionDelegate
protected IStructuredSelection getTargetSelection(IStructuredSelection s) {
return s;
}
-
+
/**
* Performs the specific action on this element.
* @param element the element context to perform the action on
@@ -218,11 +218,11 @@ public abstract class AbstractDebugActionDelegate implements IViewActionDelegate
public void init(IViewPart view) {
fViewPart = view;
}
-
+
/**
* Returns this action's view part, or <code>null</code>
* if not installed in a view.
- *
+ *
* @return view part or <code>null</code>
*/
protected IViewPart getView() {
@@ -232,9 +232,9 @@ public abstract class AbstractDebugActionDelegate implements IViewActionDelegate
/**
* Initialize this delegate, updating this delegate's
* presentation.
- * As well, all of the flavors of AbstractDebugActionDelegates need to
+ * As well, all of the flavors of AbstractDebugActionDelegates need to
* have the initial enabled state set with a call to update(IAction, ISelection).
- *
+ *
* @param action the presentation for this action
* @param selection the current selection - workbench or text
* @return whether the action was initialized
@@ -251,22 +251,22 @@ public abstract class AbstractDebugActionDelegate implements IViewActionDelegate
/**
* Returns the most recent selection
- *
+ *
* @return structured selection
- */
+ */
protected IStructuredSelection getSelection() {
return fSelection;
}
-
+
/**
* Sets the most recent selection
- *
+ *
* @param selection structured selection
- */
+ */
private void setSelection(IStructuredSelection selection) {
fSelection = selection;
- }
-
+ }
+
/**
* Allows the underlying <code>IAction</code> to be set to the specified <code>IAction</code>
* @param action the action to set
@@ -282,7 +282,7 @@ public abstract class AbstractDebugActionDelegate implements IViewActionDelegate
protected IAction getAction() {
return fAction;
}
-
+
/**
* Returns if this action has been initialized or not
* @return if this action has been initialized or not
@@ -298,7 +298,7 @@ public abstract class AbstractDebugActionDelegate implements IViewActionDelegate
protected void setInitialized(boolean initialized) {
fInitialized = initialized;
}
-
+
/**
* Return whether the action should be enabled or not based on the given selection.
* @param selection the selection
@@ -315,7 +315,7 @@ public abstract class AbstractDebugActionDelegate implements IViewActionDelegate
return false;
}
}
- return true;
+ return true;
}
/**
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AbstractRemoveAllActionDelegate.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AbstractRemoveAllActionDelegate.java
index c32ae9b09..054067d57 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AbstractRemoveAllActionDelegate.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AbstractRemoveAllActionDelegate.java
@@ -10,7 +10,7 @@
*******************************************************************************/
package org.eclipse.debug.internal.ui.actions;
-
+
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.swt.widgets.Event;
@@ -22,14 +22,14 @@ import org.eclipse.ui.IWorkbenchWindowActionDelegate;
/**
* This class is a base implementation of a 'remove all' debug action
- *
+ *
* This class is intended to be extended by clients
* @see IViewActionDelegate
* @see IActionDelegate2
* @see IWorkbenchWindowActionDelegate
*/
public abstract class AbstractRemoveAllActionDelegate implements IViewActionDelegate, IActionDelegate2, IWorkbenchWindowActionDelegate {
-
+
/**
* The underlying <code>IAction</code>
*/
@@ -39,7 +39,7 @@ public abstract class AbstractRemoveAllActionDelegate implements IViewActionDele
* Needed for reflective creation
*/
public AbstractRemoveAllActionDelegate() {}
-
+
/* (non-Javadoc)
* @see org.eclipse.ui.IActionDelegate2#dispose()
*/
@@ -58,13 +58,13 @@ public abstract class AbstractRemoveAllActionDelegate implements IViewActionDele
/**
* Returns this delegate's action.
- *
+ *
* @return the underlying <code>IAction</code>
*/
protected IAction getAction() {
return fAction;
}
-
+
/* (non-Javadoc)
* @see org.eclipse.ui.IActionDelegate2#runWithEvent(org.eclipse.jface.action.IAction, org.eclipse.swt.widgets.Event)
*/
@@ -95,7 +95,7 @@ public abstract class AbstractRemoveAllActionDelegate implements IViewActionDele
* Initializes any listeners, etc.
*/
protected abstract void initialize();
-
+
/**
* Update enablement.
*/
@@ -105,14 +105,14 @@ public abstract class AbstractRemoveAllActionDelegate implements IViewActionDele
action.setEnabled(isEnabled());
}
}
-
+
/**
* Returns whether this action is enabled
- *
+ *
* @return true if this action is enabled, false otherwise
*/
protected abstract boolean isEnabled();
-
+
/* (non-Javadoc)
* @see org.eclipse.ui.IActionDelegate#selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)
*/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AbstractSelectionActionDelegate.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AbstractSelectionActionDelegate.java
index 6d2078c39..c108869a5 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AbstractSelectionActionDelegate.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AbstractSelectionActionDelegate.java
@@ -28,9 +28,9 @@ import org.eclipse.ui.progress.IWorkbenchSiteProgressService;
/**
* This class provides a base implementation of a selection action delegate, more specifically a delegate
* that uses a selection context to update its underlying <code>IAction</code>.
- *
+ *
* This class is intended to be extended by clients
- *
+ *
* @see IViewActionDelegate
* @see IActionDelegate2
*
@@ -41,7 +41,7 @@ public abstract class AbstractSelectionActionDelegate implements IViewActionDele
* The underlying action for this delegate
*/
private IAction fAction;
-
+
/**
* This action's view part, or <code>null</code> if not installed in a
* view.
@@ -57,7 +57,7 @@ public abstract class AbstractSelectionActionDelegate implements IViewActionDele
* Used to schedule jobs, or <code>null</code> if none
*/
private IWorkbenchSiteProgressService fProgressService = null;
-
+
/**
* It's crucial that delegate actions have a zero-arg constructor so that
* they can be reflected into existence when referenced in an action set in
@@ -67,7 +67,7 @@ public abstract class AbstractSelectionActionDelegate implements IViewActionDele
/*
* (non-Javadoc)
- *
+ *
* @see org.eclipse.ui.IWorkbenchWindowActionDelegate#dispose()
*/
@Override
@@ -94,7 +94,7 @@ public abstract class AbstractSelectionActionDelegate implements IViewActionDele
* Returns the String to use as an error dialog message for a failed action.
* This message appears as the "Message:" in the error dialog for this
* action. Default is to return null.
- *
+ *
* @return the message for the error dialog
*/
protected String getErrorDialogMessage() {
@@ -105,7 +105,7 @@ public abstract class AbstractSelectionActionDelegate implements IViewActionDele
* Returns the String to use as a status message for a failed action. This
* message appears as the "Reason:" in the error dialog for this action.
* Default is to return the empty String.
- *
+ *
* @return the status message
*/
protected String getStatusMessage() {
@@ -114,7 +114,7 @@ public abstract class AbstractSelectionActionDelegate implements IViewActionDele
/*
* (non-Javadoc)
- *
+ *
* @see org.eclipse.ui.IViewActionDelegate#init(org.eclipse.ui.IViewPart)
*/
@Override
@@ -126,7 +126,7 @@ public abstract class AbstractSelectionActionDelegate implements IViewActionDele
/**
* Returns this action's view part, or <code>null</code> if not installed
* in a view.
- *
+ *
* @return the underlying <code>IViewPart</code> or <code>null</code>
*/
protected IViewPart getView() {
@@ -135,7 +135,7 @@ public abstract class AbstractSelectionActionDelegate implements IViewActionDele
/**
* Returns the most recent selection
- *
+ *
* @return structured selection
*/
protected IStructuredSelection getSelection() {
@@ -144,7 +144,7 @@ public abstract class AbstractSelectionActionDelegate implements IViewActionDele
/**
* Sets the most recent selection
- *
+ *
* @param context structured selection
*/
private void setSelection(IStructuredSelection context) {
@@ -179,7 +179,7 @@ public abstract class AbstractSelectionActionDelegate implements IViewActionDele
* Return whether the action should be enabled or not based on the given
* selection.
* @param selection the current selection
- *
+ *
* @return true if the action should be enabled for the specified selection context
* false otherwise
*/
@@ -225,7 +225,7 @@ public abstract class AbstractSelectionActionDelegate implements IViewActionDele
/**
* Schedules the given job with this action's progress service
- *
+ *
* @param job the {@link Job} to schedule
*/
protected void schedule(Job job) {
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ActionMessages.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ActionMessages.java
index 8032a01d5..fa785991b 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ActionMessages.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ActionMessages.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM - Initial API and implementation
* Mike Morearty - Bug 271411
@@ -25,7 +25,7 @@ public class ActionMessages extends NLS {
public static String AbstractLaunchHistoryAction_5;
public static String AbstractLaunchHistoryAction_6;
-
+
public static String AddToFavoritesAction_1;
public static String AddToFavoritesAction_2;
public static String AddToFavoritesAction_3;
@@ -44,7 +44,7 @@ public class ActionMessages extends NLS {
public static String ConfigureColumnsAction_0;
public static String ConfigureColumnsAction_1;
public static String ConfigureColumnsAction_2;
-
+
public static String CopyToClipboardActionDelegate_Problem_Copying_to_Clipboard_1;
public static String CopyToClipboardActionDelegate_There_was_a_problem_when_accessing_the_system_clipboard__Retry__2;
@@ -91,7 +91,7 @@ public class ActionMessages extends NLS {
public static String RelaunchLastAction_Cannot_relaunch___0___because_it_does_not_support__2__mode_2;
public static String RelaunchLastAction_Error_relaunching_3;
public static String RelaunchLastAction_Error_encountered_attempting_to_relaunch_4;
-
+
public static String RemoveAllBreakpointsAction_0;
public static String RemoveAllBreakpointsAction_1;
public static String RemoveAllBreakpointsAction_2;
@@ -108,7 +108,7 @@ public class ActionMessages extends NLS {
public static String RemoveAllTriggerPointsAction_0;
public static String RemoveAllTriggerPointsAction_1;
-
+
public static String DeleteBreakpointOperationName;
public static String DeleteBreakpointsOperationName;
@@ -128,13 +128,13 @@ public class ActionMessages extends NLS {
public static String SkipAllBreakpointsAction_0;
public static String SkipAllBreakpointsAction_2;
-
+
public static String TerminateAndRelaunchAction_0;
public static String TerminateAndRelaunchAction_3;
public static String TerminateAndRelaunchAction_4;
public static String TerminateAndRemoveAction_0;
public static String TerminateAndRemoveAction_3;
-
+
public static String ToggleDetailPaneAction_0;
public static String ToggleDetailPaneAction_1;
@@ -163,7 +163,7 @@ public class ActionMessages extends NLS {
public static String WatchExpressionDialogMenu_2;
public static String WatchAction_0;
public static String WatchAction_1;
-
+
public static String RunToLineAction_0;
public static String RunToLineAction_1;
public static String RunToLineHandler_0;
@@ -237,7 +237,7 @@ public class ActionMessages extends NLS {
public static String VirtualFindAction_0;
public static String VirtualFindAction_1;
-
+
public static String ToggleBreakpointsTargetManager_defaultToggleTarget_name;
- public static String ToggleBreakpointsTargetManager_defaultToggleTarget_description;
+ public static String ToggleBreakpointsTargetManager_defaultToggleTarget_description;
} \ No newline at end of file
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AddToFavoritesAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AddToFavoritesAction.java
index aaa58be3c..5c896783e 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AddToFavoritesAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/AddToFavoritesAction.java
@@ -39,7 +39,7 @@ import com.ibm.icu.text.MessageFormat;
* Adds the selected launch configuration to the launch favorites.
*/
public class AddToFavoritesAction extends SelectionListenerAction {
-
+
private ILaunchConfiguration fConfiguration = null;
private String fMode =null;
private ILaunchGroup fGroup = null;
@@ -65,7 +65,7 @@ public class AddToFavoritesAction extends SelectionListenerAction {
Object object = selection.getFirstElement();
ILaunch launch = null;
if (object instanceof IAdaptable) {
- launch = ((IAdaptable)object).getAdapter(ILaunch.class);
+ launch = ((IAdaptable)object).getAdapter(ILaunch.class);
}
if (launch == null) {
if (object instanceof ILaunch) {
@@ -85,21 +85,21 @@ public class AddToFavoritesAction extends SelectionListenerAction {
}
setGroup(group);
setLaunchConfiguration(configuration);
- setMode(launch.getLaunchMode());
+ setMode(launch.getLaunchMode());
setText(MessageFormat.format(ActionMessages.AddToFavoritesAction_1, new Object[] { DebugUIPlugin.removeAccelerators(getGroup().getLabel()) }));
}
}
}
-
+
// Disable the action if the launch config is private
ILaunchConfiguration config = getLaunchConfiguration();
if (config == null) {
return false;
- }
+ }
if (DebugUITools.isPrivate(config)) {
return false;
}
-
+
if (getGroup() != null) {
try {
List<String> groups = config.getAttribute(IDebugUIConstants.ATTR_FAVORITE_GROUPS, (List<String>) null);
@@ -109,9 +109,9 @@ public class AddToFavoritesAction extends SelectionListenerAction {
return true;
} catch (CoreException e) {
}
-
+
}
-
+
return false;
}
@@ -122,7 +122,7 @@ public class AddToFavoritesAction extends SelectionListenerAction {
protected void setLaunchConfiguration(ILaunchConfiguration configuration) {
fConfiguration = configuration;
}
-
+
/**
* Returns the underlying <code>ILaunchConfiguration</code>
* @return the underlying <code>ILaunchConfiguration</code>
@@ -130,7 +130,7 @@ public class AddToFavoritesAction extends SelectionListenerAction {
protected ILaunchConfiguration getLaunchConfiguration() {
return fConfiguration;
}
-
+
/**
* Sets the mode this action applies to
* @param mode the modes to set
@@ -138,7 +138,7 @@ public class AddToFavoritesAction extends SelectionListenerAction {
protected void setMode(String mode) {
fMode = mode;
}
-
+
/**
* Returns the mode this action applies to
* @return the {@link ILaunchMode} this action applies to
@@ -146,7 +146,7 @@ public class AddToFavoritesAction extends SelectionListenerAction {
protected String getMode() {
return fMode;
}
-
+
/**
* Sets the <code>ILaunchGroup</code> this action applies to
* @param group the new <code>ILaunchGroup</code>
@@ -154,7 +154,7 @@ public class AddToFavoritesAction extends SelectionListenerAction {
protected void setGroup(ILaunchGroup group) {
fGroup = group;
}
-
+
/**
* Returns the underlying <code>ILaunchGroup</code>
* @return the underlying <code>ILaunchGroup</code>
@@ -162,7 +162,7 @@ public class AddToFavoritesAction extends SelectionListenerAction {
protected ILaunchGroup getGroup() {
return fGroup;
}
-
+
/**
* @see org.eclipse.jface.action.IAction#run()
*/
@@ -188,7 +188,7 @@ public class AddToFavoritesAction extends SelectionListenerAction {
}
});
if (ex[0] != null) {
- DebugUIPlugin.errorDialog(DebugUIPlugin.getShell(), ActionMessages.AddToFavoritesAction_2, ActionMessages.AddToFavoritesAction_3, ex[0].getStatus()); //
+ DebugUIPlugin.errorDialog(DebugUIPlugin.getShell(), ActionMessages.AddToFavoritesAction_2, ActionMessages.AddToFavoritesAction_3, ex[0].getStatus()); //
}
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/CollapseAllAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/CollapseAllAction.java
index be528d019..99905322e 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/CollapseAllAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/CollapseAllAction.java
@@ -22,9 +22,9 @@ import org.eclipse.ui.texteditor.IUpdate;
* CollapseAllAction
*/
public class CollapseAllAction extends Action implements IUpdate {
-
+
private TreeModelViewer fViewer;
-
+
public CollapseAllAction(TreeModelViewer viewer) {
super(ActionMessages.CollapseAllAction_0, DebugPluginImages.getImageDescriptor(IInternalDebugUIConstants.IMG_ELCL_COLLAPSE_ALL));
setToolTipText(ActionMessages.CollapseAllAction_0);
@@ -33,7 +33,7 @@ public class CollapseAllAction extends Action implements IUpdate {
setActionDefinitionId(CollapseAllHandler.COMMAND_ID);
fViewer = viewer;
}
-
+
/* (non-Javadoc)
* @see org.eclipse.jface.action.IAction#run()
*/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ConfigureColumnsAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ConfigureColumnsAction.java
index d2721208b..3359d8888 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ConfigureColumnsAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ConfigureColumnsAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -32,13 +32,13 @@ import org.eclipse.ui.texteditor.IUpdate;
/**
* Configures visible columns in an asynch tree viewer/
- *
+ *
* @since 3.2
*/
public class ConfigureColumnsAction extends Action implements IUpdate {
-
+
private TreeModelViewer fViewer;
-
+
class ColumnContentProvider implements IStructuredContentProvider {
/* (non-Javadoc)
@@ -60,13 +60,13 @@ public class ConfigureColumnsAction extends Action implements IUpdate {
* @see org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)
*/
@Override
- public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
+ public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
}
-
+
}
-
+
class ColumnLabelProvider extends LabelProvider {
-
+
private Map<ImageDescriptor, Image> fImages = new HashMap<ImageDescriptor, Image>();
@Override
@@ -96,9 +96,9 @@ public class ConfigureColumnsAction extends Action implements IUpdate {
}
fImages.clear();
}
-
-
-
+
+
+
}
public ConfigureColumnsAction(TreeModelViewer viewer) {
@@ -146,7 +146,7 @@ public class ConfigureColumnsAction extends Action implements IUpdate {
fViewer.setVisibleColumns(ids);
}
}
-
+
}
-
+
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/DebugAsAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/DebugAsAction.java
index 9a870f6be..73289d1ce 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/DebugAsAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/DebugAsAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/DebugContextualLaunchAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/DebugContextualLaunchAction.java
index d114aabbd..e0d7938ff 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/DebugContextualLaunchAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/DebugContextualLaunchAction.java
@@ -15,11 +15,11 @@ import org.eclipse.debug.ui.actions.ContextualLaunchAction;
/**
* Specialization of <code>ContextualLaunchAction</code> for the debug mode
- *
+ *
* @see {@link ContextualLaunchAction}
*/
public class DebugContextualLaunchAction extends ContextualLaunchAction {
-
+
/**
* Constructor
*/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/DebugHistoryMenuAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/DebugHistoryMenuAction.java
index 496a5e344..432b7ed8b 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/DebugHistoryMenuAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/DebugHistoryMenuAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -16,11 +16,11 @@ import org.eclipse.debug.ui.actions.AbstractLaunchHistoryAction;
/**
* Debug history menu in the top-level "Run" menu.
- */
+ */
public class DebugHistoryMenuAction extends AbstractLaunchHistoryAction {
-
+
public DebugHistoryMenuAction() {
super(IDebugUIConstants.ID_DEBUG_LAUNCH_GROUP);
}
-
+
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/DebugLastAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/DebugLastAction.java
index 8a46b096f..f628c83cd 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/DebugLastAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/DebugLastAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -19,22 +19,22 @@ import org.eclipse.debug.ui.actions.RelaunchLastAction;
/**
* Re-launches the last debug-mode launch
- *
+ *
* This menu item appears in the main 'Run' menu
- *
+ *
* @see RelaunchLastAction
* @see RunLastAction
* @see ProfileLastAction
*/
public class DebugLastAction extends RelaunchLastAction {
-
+
/* (non-Javadoc)
* @see org.eclipse.debug.ui.actions.RelaunchLastAction#getMode()
*/
@Override
public String getMode() {
return ILaunchManager.DEBUG_MODE;
- }
+ }
/* (non-Javadoc)
* @see org.eclipse.debug.internal.ui.actions.RelaunchLastAction#getLaunchGroupId()
@@ -71,8 +71,8 @@ public class DebugLastAction extends RelaunchLastAction {
@Override
protected String getCommandId() {
return "org.eclipse.debug.ui.commands.DebugLast"; //$NON-NLS-1$
- }
-
+ }
+
/* (non-Javadoc)
* @see org.eclipse.debug.internal.ui.actions.RelaunchLastAction#getDescription()
*/
@@ -84,5 +84,5 @@ public class DebugLastAction extends RelaunchLastAction {
else {
return ActionMessages.DebugLastAction_3;
}
- }
+ }
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/DebugToolbarAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/DebugToolbarAction.java
index 6e8152fc0..ebcf5c8ab 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/DebugToolbarAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/DebugToolbarAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/EditLaunchConfigurationAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/EditLaunchConfigurationAction.java
index 9131390b5..2ce898a26 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/EditLaunchConfigurationAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/EditLaunchConfigurationAction.java
@@ -36,7 +36,7 @@ import com.ibm.icu.text.MessageFormat;
* on the the launch associated with the selected element.
*/
public class EditLaunchConfigurationAction extends SelectionListenerAction {
-
+
private ILaunchConfiguration fConfiguration = null;
private String fMode = null;
private boolean fTerminated = false;
@@ -61,7 +61,7 @@ public class EditLaunchConfigurationAction extends SelectionListenerAction {
Object object = selection.getFirstElement();
ILaunch launch = null;
if (object instanceof IAdaptable) {
- launch = ((IAdaptable)object).getAdapter(ILaunch.class);
+ launch = ((IAdaptable)object).getAdapter(ILaunch.class);
}
if (launch == null) {
if (object instanceof ILaunch) {
@@ -88,7 +88,7 @@ public class EditLaunchConfigurationAction extends SelectionListenerAction {
}
}
} catch (CoreException e1) {
- }
+ }
setLaunchConfiguration(configuration);
setMode(launch.getLaunchMode());
setIsTerminated(launch.isTerminated());
@@ -103,7 +103,7 @@ public class EditLaunchConfigurationAction extends SelectionListenerAction {
}
}
}
-
+
// Disable the action if the launch config is private
ILaunchConfiguration config = getLaunchConfiguration();
if (config == null) {
@@ -115,27 +115,27 @@ public class EditLaunchConfigurationAction extends SelectionListenerAction {
protected void setLaunchConfiguration(ILaunchConfiguration configuration) {
fConfiguration = configuration;
}
-
+
protected ILaunchConfiguration getLaunchConfiguration() {
return fConfiguration;
}
-
+
protected void setMode(String mode) {
fMode = mode;
}
-
+
protected String getMode() {
return fMode;
}
-
+
protected boolean isTerminated() {
return fTerminated;
}
-
+
protected void setIsTerminated(boolean terminated) {
fTerminated = terminated;
}
-
+
/**
* @see org.eclipse.jface.action.IAction#run()
*/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ExecutionAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ExecutionAction.java
index d6659102c..8f3cbb16f 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ExecutionAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ExecutionAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -26,13 +26,13 @@ import org.eclipse.ui.IWorkbenchWindow;
* This is the super class of the Run & Debug actions which appears in the desktop menu and toolbar.
*/
public abstract class ExecutionAction implements IActionDelegate2 {
-
+
private String fLaunchGroupIdentifier;
-
+
public ExecutionAction(String launchGroupIdentifier) {
fLaunchGroupIdentifier = launchGroupIdentifier;
}
-
+
/**
* @see IActionDelegate2#runWithEvent(IAction, Event)
*/
@@ -51,16 +51,16 @@ public abstract class ExecutionAction implements IActionDelegate2 {
}
DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUIPlugin.getShell(), new StructuredSelection(), fLaunchGroupIdentifier);
}
-
+
protected LaunchConfigurationManager getLaunchConfigurationManager() {
return DebugUIPlugin.getDefault().getLaunchConfigurationManager();
}
-
+
/**
* Returns the mode of a launcher to use for this action
*/
protected abstract String getMode();
-
+
/**
* @see org.eclipse.ui.IActionDelegate2#dispose()
*/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/LaunchConfigurationAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/LaunchConfigurationAction.java
index e554b3ed4..659393685 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/LaunchConfigurationAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/LaunchConfigurationAction.java
@@ -26,14 +26,14 @@ import com.ibm.icu.text.MessageFormat;
/**
* This class provides an action wrapper for adding launch configuration actions to the context menu
* of the Run->... menu item
- *
+ *
* @since 3.3
*/
public class LaunchConfigurationAction extends Action {
private ILaunchConfiguration fConfig;
private String fMode;
-
+
/**
* Constructor
* @param mode
@@ -46,7 +46,7 @@ public class LaunchConfigurationAction extends Action {
fConfig = config;
fMode = mode;
}
-
+
/**
* Allows access to the launch configuration associated with the action
* @return the associated launch configuration
@@ -62,7 +62,7 @@ public class LaunchConfigurationAction extends Action {
public void run() {
runInternal(false);
}
-
+
/* (non-Javadoc)
* @see org.eclipse.jface.action.Action#runWithEvent(org.eclipse.swt.widgets.Event)
*/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/LaunchShortcutAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/LaunchShortcutAction.java
index 41a264a3c..58c975542 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/LaunchShortcutAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/LaunchShortcutAction.java
@@ -42,9 +42,9 @@ import org.eclipse.ui.IEditorPart;
* Launch shortcut action (proxy to a launch shortcut extension)
*/
public class LaunchShortcutAction extends Action {
-
+
private String fMode;
- private LaunchShortcutExtension fShortcut;
+ private LaunchShortcutExtension fShortcut;
/**
@@ -59,10 +59,10 @@ public class LaunchShortcutAction extends Action {
fMode = mode;
updateEnablement();
}
-
+
/**
* Runs with either the active editor or workbench selection.
- *
+ *
* @see IAction#run()
*/
@Override
@@ -86,7 +86,7 @@ public class LaunchShortcutAction extends Action {
DebugUITools.removeLaunchToggleTerminate(ss);
}
}
-
+
/* (non-Javadoc)
* @see org.eclipse.jface.action.Action#runWithEvent(org.eclipse.swt.widgets.Event)
*/
@@ -135,7 +135,7 @@ public class LaunchShortcutAction extends Action {
runInternal(((event.stateMask & SWT.SHIFT) > 0) ? true : false);
}
}
-
+
/**
* Since these actions are re-created each time the run/debug as menu is
* filled, the enablement of this action is static.
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/LaunchablePropertyTester.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/LaunchablePropertyTester.java
index 842403363..7073c522c 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/LaunchablePropertyTester.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/LaunchablePropertyTester.java
@@ -53,10 +53,10 @@ public class LaunchablePropertyTester extends PropertyTester {
protected LaunchConfigurationManager getLaunchConfigurationManager() {
return DebugUIPlugin.getDefault().getLaunchConfigurationManager();
}
-
+
/**
* Returns the resource this property page is open on.
- *
+ *
* @return resource
*/
protected IResource getResource(Object element) {
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/OpenDebugConfigurations.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/OpenDebugConfigurations.java
index 4445eee01..fa0551df1 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/OpenDebugConfigurations.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/OpenDebugConfigurations.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -22,5 +22,5 @@ public class OpenDebugConfigurations extends OpenLaunchDialogAction {
public OpenDebugConfigurations() {
super(IDebugUIConstants.ID_DEBUG_LAUNCH_GROUP);
}
-
+
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/OpenProfileConfigurations.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/OpenProfileConfigurations.java
index 51e62eefe..5157bb01b 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/OpenProfileConfigurations.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/OpenProfileConfigurations.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -22,5 +22,5 @@ public class OpenProfileConfigurations extends OpenLaunchDialogAction {
public OpenProfileConfigurations() {
super(IDebugUIConstants.ID_PROFILE_LAUNCH_GROUP);
}
-
+
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/OpenRunConfigurations.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/OpenRunConfigurations.java
index b84d91291..35cc0f962 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/OpenRunConfigurations.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/OpenRunConfigurations.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -22,5 +22,5 @@ public class OpenRunConfigurations extends OpenLaunchDialogAction {
public OpenRunConfigurations() {
super(IDebugUIConstants.ID_RUN_LAUNCH_GROUP);
}
-
+
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ProfileAsAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ProfileAsAction.java
index 321d03cfa..1e96455d4 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ProfileAsAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ProfileAsAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ProfileContextualLaunchAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ProfileContextualLaunchAction.java
index 257eee5d1..ad470e021 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ProfileContextualLaunchAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ProfileContextualLaunchAction.java
@@ -15,11 +15,11 @@ import org.eclipse.debug.ui.actions.ContextualLaunchAction;
/**
* Specialization of <code>ContextualLaunchAction</code> for the profile mode
- *
+ *
* @see {@link ContextualLaunchAction}
*/
public class ProfileContextualLaunchAction extends ContextualLaunchAction {
-
+
/**
* Constructor
*/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ProfileHistoryMenuAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ProfileHistoryMenuAction.java
index 317ae7a64..8e7af674f 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ProfileHistoryMenuAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ProfileHistoryMenuAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -16,11 +16,11 @@ import org.eclipse.debug.ui.actions.AbstractLaunchHistoryAction;
/**
* Profile history menu in the top-level "Run" menu.
- */
+ */
public class ProfileHistoryMenuAction extends AbstractLaunchHistoryAction {
-
+
public ProfileHistoryMenuAction() {
super(IDebugUIConstants.ID_PROFILE_LAUNCH_GROUP);
}
-
+
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ProfileLastAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ProfileLastAction.java
index fcb010d7c..edd138713 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ProfileLastAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ProfileLastAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -19,13 +19,13 @@ import org.eclipse.debug.ui.actions.RelaunchLastAction;
/**
* Re-launches the last profile-mode launch
- *
+ *
* This menu item appears in the main 'Run' menu
- *
+ *
* @see RelaunchLastAction
* @see RunLastAction
* @see DebugLastAction
- *
+ *
*/
public class ProfileLastAction extends RelaunchLastAction {
@@ -35,8 +35,8 @@ public class ProfileLastAction extends RelaunchLastAction {
@Override
public String getMode() {
return ILaunchManager.PROFILE_MODE;
- }
-
+ }
+
/* (non-Javadoc)
* @see org.eclipse.debug.internal.ui.actions.RelaunchLastAction#getLaunchGroupId()
*/
@@ -65,15 +65,15 @@ public class ProfileLastAction extends RelaunchLastAction {
protected String getTooltipText() {
return IInternalDebugCoreConstants.EMPTY_STRING;
}
-
+
/* (non-Javadoc)
* @see org.eclipse.debug.internal.ui.actions.RelaunchLastAction#getCommandId()
*/
@Override
protected String getCommandId() {
return "org.eclipse.debug.ui.commands.ProfileLast"; //$NON-NLS-1$
- }
-
+ }
+
/* (non-Javadoc)
* @see org.eclipse.debug.internal.ui.actions.RelaunchLastAction#getDescription()
*/
@@ -85,5 +85,5 @@ public class ProfileLastAction extends RelaunchLastAction {
else {
return ActionMessages.ProfileLastAction_3;
}
- }
+ }
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ProfileToolbarAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ProfileToolbarAction.java
index 469f8fdbc..dc3db87e0 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ProfileToolbarAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ProfileToolbarAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RelaunchActionDelegate.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RelaunchActionDelegate.java
index 49ea10867..7580f42c1 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RelaunchActionDelegate.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RelaunchActionDelegate.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -24,7 +24,7 @@ import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.viewers.StructuredSelection;
public class RelaunchActionDelegate extends AbstractDebugActionDelegate {
-
+
/**
* @see AbstractDebugActionDelegate#doAction(Object)
*/
@@ -38,7 +38,7 @@ public class RelaunchActionDelegate extends AbstractDebugActionDelegate {
/**
* Re-launches the given configuration in the specified mode.
- *
+ *
*/
public static void relaunch(ILaunchConfiguration config, String mode) {
DebugUITools.launch(config, mode);
@@ -47,7 +47,7 @@ public class RelaunchActionDelegate extends AbstractDebugActionDelegate {
/**
* Re-launches the given configuration in the specified mode after
* terminating the previous if Preferred.
- *
+ *
* @param isShift is Shift pressed (use <code>false</code> if no support for
* Shift)
*/
@@ -63,7 +63,7 @@ public class RelaunchActionDelegate extends AbstractDebugActionDelegate {
ILaunch launch= DebugUIPlugin.getLaunch(element);
return launch != null && launch.getLaunchConfiguration() != null && LaunchConfigurationManager.isVisible(launch.getLaunchConfiguration());
}
-
+
/* (non-Javadoc)
* @see org.eclipse.debug.internal.ui.actions.AbstractDebugActionDelegate#getTargetSelection(org.eclipse.jface.viewers.IStructuredSelection)
*/
@@ -84,20 +84,20 @@ public class RelaunchActionDelegate extends AbstractDebugActionDelegate {
}
return new StructuredSelection(dups.toArray());
}
-
+
/**
* @see AbstractDebugActionDelegate#getErrorDialogMessage()
*/
@Override
protected String getErrorDialogMessage() {
- return ActionMessages.RelaunchActionDelegate_Launch_Failed_1;
+ return ActionMessages.RelaunchActionDelegate_Launch_Failed_1;
}
-
+
/**
* @see AbstractDebugActionDelegate#getStatusMessage()
*/
@Override
protected String getStatusMessage() {
- return ActionMessages.RelaunchActionDelegate_An_exception_occurred_while_launching_2;
+ return ActionMessages.RelaunchActionDelegate_An_exception_occurred_while_launching_2;
}
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RelaunchLastAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RelaunchLastAction.java
index b89310db6..43e2ff5a9 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RelaunchLastAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RelaunchLastAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Wind River Systems - bug 227877
@@ -17,7 +17,7 @@ import org.eclipse.debug.internal.ui.contextlaunching.ContextRunner;
/**
* Re-launches the last launch.
- *
+ *
* @see ContextRunner
* @see ILaunchConfiguration
* @see RunLastAction
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RemoveAllTerminatedAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RemoveAllTerminatedAction.java
index 7f542dbf3..67b35642f 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RemoveAllTerminatedAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RemoveAllTerminatedAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -19,7 +19,7 @@ import org.eclipse.debug.core.ILaunch;
import org.eclipse.debug.core.ILaunchManager;
import org.eclipse.debug.core.ILaunchesListener2;
import org.eclipse.jface.action.IAction;
-
+
/**
* Removes all terminated/detached launches from the
* active debug view.
@@ -53,9 +53,9 @@ public class RemoveAllTerminatedAction extends AbstractRemoveAllActionDelegate i
if (!removed.isEmpty()) {
ILaunchManager manager = DebugPlugin.getDefault().getLaunchManager();
manager.removeLaunches(removed.toArray(new ILaunch[removed.size()]));
- }
+ }
}
-
+
/* (non-Javadoc)
* @see org.eclipse.debug.internal.ui.actions.selection.AbstractRemoveAllActionDelegate#initialize()
*/
@@ -63,7 +63,7 @@ public class RemoveAllTerminatedAction extends AbstractRemoveAllActionDelegate i
protected void initialize() {
DebugPlugin.getDefault().getLaunchManager().addLaunchListener(this);
}
-
+
/* (non-Javadoc)
* @see org.eclipse.debug.internal.ui.actions.selection.AbstractRemoveAllActionDelegate#dispose()
*/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RetargetAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RetargetAction.java
index a66d4f5a0..f58e5c5e4 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RetargetAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RetargetAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Wind River Systems - added support for IToggleBreakpointsTargetFactory
@@ -34,17 +34,17 @@ import org.eclipse.ui.IWorkbenchWindowActionDelegate;
/**
* Global retargettable debug action.
- *
+ *
* @since 3.0
*/
public abstract class RetargetAction implements IWorkbenchWindowActionDelegate, IPartListener, IActionDelegate2 {
-
+
protected IWorkbenchWindow fWindow = null;
private IWorkbenchPart fActivePart = null;
private Object fTargetAdapter = null;
private IAction fAction = null;
- private static final ISelection EMPTY_SELECTION = new EmptySelection();
-
+ private static final ISelection EMPTY_SELECTION = new EmptySelection();
+
static class EmptySelection implements ISelection {
/* (non-Javadoc)
@@ -55,11 +55,11 @@ public abstract class RetargetAction implements IWorkbenchWindowActionDelegate,
return true;
}
}
-
+
/**
* Returns the current selection in the active part, possibly
* and empty selection, but never <code>null</code>.
- *
+ *
* @return the selection in the active part, possibly empty
*/
protected ISelection getTargetSelection() {
@@ -71,11 +71,11 @@ public abstract class RetargetAction implements IWorkbenchWindowActionDelegate,
}
return EMPTY_SELECTION;
}
-
+
protected IWorkbenchPart getActivePart() {
return fActivePart;
}
-
+
/* (non-Javadoc)
* @see org.eclipse.ui.IWorkbenchWindowActionDelegate#dispose()
*/
@@ -84,7 +84,7 @@ public abstract class RetargetAction implements IWorkbenchWindowActionDelegate,
fWindow.getPartService().removePartListener(this);
fActivePart = null;
fTargetAdapter = null;
-
+
}
/* (non-Javadoc)
* @see org.eclipse.ui.IWorkbenchWindowActionDelegate#init(org.eclipse.ui.IWorkbenchWindow)
@@ -114,29 +114,29 @@ public abstract class RetargetAction implements IWorkbenchWindowActionDelegate,
DebugUIPlugin.errorDialog(DebugUIPlugin.getShell(), DebugUIPlugin.removeAccelerators(action.getText()), message, status);
}
} catch (CoreException e) {
- DebugUIPlugin.errorDialog(fWindow.getShell(), ActionMessages.RetargetAction_2, ActionMessages.RetargetAction_3, e.getStatus()); //
+ DebugUIPlugin.errorDialog(fWindow.getShell(), ActionMessages.RetargetAction_2, ActionMessages.RetargetAction_3, e.getStatus()); //
}
}
}
-
+
/**
* Returns a message to display when we find that the operation is not enabled
* when invoked in an editor (we check enabled state before running in this case,
* rather than updating on each selection change - see bug 180441).
- *
+ *
* @return information message when unavailable
*/
protected abstract String getOperationUnavailableMessage();
-
+
/**
* Performs the specific breakpoint toggling.
- *
- * @param selection selection in the active part
+ *
+ * @param selection selection in the active part
* @param part active part
* @throws CoreException if an exception occurs
*/
protected abstract void performAction(Object target, ISelection selection, IWorkbenchPart part) throws CoreException;
-
+
/* (non-Javadoc)
* @see org.eclipse.ui.IActionDelegate#selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)
*/
@@ -154,7 +154,7 @@ public abstract class RetargetAction implements IWorkbenchWindowActionDelegate,
action.setEnabled(fTargetAdapter != null && isTargetEnabled());
}
}
-
+
/* (non-Javadoc)
* @see org.eclipse.ui.IPartListener#partActivated(org.eclipse.ui.IWorkbenchPart)
*/
@@ -175,30 +175,30 @@ public abstract class RetargetAction implements IWorkbenchWindowActionDelegate,
fAction.setEnabled(fTargetAdapter != null && isTargetEnabled());
}
}
-
+
protected Object getAdapter(IAdaptable adaptable) {
Object adapter = adaptable.getAdapter(getAdapterClass());
if (adapter == null) {
IAdapterManager adapterManager = Platform.getAdapterManager();
- if (adapterManager.hasAdapter(adaptable, getAdapterClass().getName())) {
- adapter = adapterManager.loadAdapter(adaptable, getAdapterClass().getName());
+ if (adapterManager.hasAdapter(adaptable, getAdapterClass().getName())) {
+ adapter = adapterManager.loadAdapter(adaptable, getAdapterClass().getName());
}
}
return adapter;
}
-
+
/**
* Returns the type of adapter (target) this action works on.
- *
+ *
* @return the type of adapter this action works on
*/
protected abstract Class<?> getAdapterClass();
-
+
/* (non-Javadoc)
* @see org.eclipse.ui.IPartListener#partBroughtToTop(org.eclipse.ui.IWorkbenchPart)
*/
@Override
- public void partBroughtToTop(IWorkbenchPart part) {
+ public void partBroughtToTop(IWorkbenchPart part) {
}
/* (non-Javadoc)
* @see org.eclipse.ui.IPartListener#partClosed(org.eclipse.ui.IWorkbenchPart)
@@ -207,11 +207,11 @@ public abstract class RetargetAction implements IWorkbenchWindowActionDelegate,
public void partClosed(IWorkbenchPart part) {
clearPart(part);
}
-
+
/**
* Clears reference to active part and adapter when a relevant part
* is closed or no longer active.
- *
+ *
* @param part workbench part that has been closed or no longer active
*/
protected void clearPart(IWorkbenchPart part) {
@@ -231,12 +231,12 @@ public abstract class RetargetAction implements IWorkbenchWindowActionDelegate,
* @see org.eclipse.ui.IPartListener#partOpened(org.eclipse.ui.IWorkbenchPart)
*/
@Override
- public void partOpened(IWorkbenchPart part) {
+ public void partOpened(IWorkbenchPart part) {
}
/**
* Returns whether the target adapter is enabled
- *
+ *
* @return whether target adapter is enabled
*/
protected boolean isTargetEnabled() {
@@ -247,17 +247,17 @@ public abstract class RetargetAction implements IWorkbenchWindowActionDelegate,
}
return false;
}
-
+
/**
* Returns whether the specific operation is supported.
- *
- * @param target the target adapter
+ *
+ * @param target the target adapter
* @param selection the selection to verify the operation on
* @param part the part the operation has been requested on
* @return whether the operation can be performed
*/
protected abstract boolean canPerformAction(Object target, ISelection selection, IWorkbenchPart part);
-
+
/* (non-Javadoc)
* @see org.eclipse.ui.IActionDelegate2#init(org.eclipse.jface.action.IAction)
*/
@@ -276,7 +276,7 @@ public abstract class RetargetAction implements IWorkbenchWindowActionDelegate,
/**
* Returns the proxy to this action delegate or <code>null</code>
- *
+ *
* @return action proxy or <code>null</code>
*/
protected IAction getAction() {
@@ -285,7 +285,7 @@ public abstract class RetargetAction implements IWorkbenchWindowActionDelegate,
/**
* Returns whether there is currently a target adapter for this action.
- *
+ *
* @return whether the action has a target adapter.
*/
protected boolean hasTargetAdapter() {
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RetargetRunToLineAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RetargetRunToLineAction.java
index 759d55e5d..cdbd7b2c1 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RetargetRunToLineAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RetargetRunToLineAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Wind River - Pawel Piech - Added use of adapters to support non-standard models (bug 213074)
@@ -27,14 +27,14 @@ import org.eclipse.ui.IWorkbenchWindow;
/**
* Global retargettable run to line action.
- *
+ *
* @since 3.0
*/
public class RetargetRunToLineAction extends RetargetAction {
-
+
private DebugContextListener fContextListener = new DebugContextListener();
private ISuspendResume fTargetElement = null;
-
+
class DebugContextListener implements IDebugContextListener {
protected void contextActivated(ISelection selection) {
@@ -56,10 +56,10 @@ public class RetargetRunToLineAction extends RetargetAction {
public void debugContextChanged(DebugContextEvent event) {
contextActivated(event.getContext());
}
-
-
+
+
}
-
+
/* (non-Javadoc)
* @see org.eclipse.ui.IWorkbenchWindowActionDelegate#dispose()
*/
@@ -79,13 +79,13 @@ public class RetargetRunToLineAction extends RetargetAction {
ISelection activeContext = service.getActiveContext();
fContextListener.contextActivated(activeContext);
}
-
+
@Override
public void init(IAction action) {
super.init(action);
action.setActionDefinitionId("org.eclipse.debug.ui.commands.RunToLine"); //$NON-NLS-1$
}
-
+
/* (non-Javadoc)
* @see org.eclipse.debug.internal.ui.actions.RetargetAction#canPerformAction(java.lang.Object, org.eclipse.jface.viewers.ISelection, org.eclipse.ui.IWorkbenchPart)
*/
@@ -94,7 +94,7 @@ public class RetargetRunToLineAction extends RetargetAction {
return fTargetElement != null &&
((IRunToLineTarget)target).canRunToLine(part, selection, fTargetElement);
}
-
+
/* (non-Javadoc)
* @see org.eclipse.debug.internal.ui.actions.RetargetAction#getAdapterClass()
*/
@@ -109,15 +109,15 @@ public class RetargetRunToLineAction extends RetargetAction {
protected void performAction(Object target, ISelection selection, IWorkbenchPart part) throws CoreException {
((IRunToLineTarget)target).runToLine(part, selection, fTargetElement);
}
-
+
/* (non-Javadoc)
* @see org.eclipse.debug.internal.ui.actions.RetargetAction#getOperationUnavailableMessage()
*/
@Override
protected String getOperationUnavailableMessage() {
return ActionMessages.RetargetRunToLineAction_0;
- }
-
+ }
+
/* (non-Javadoc)
* @see org.eclipse.ui.IActionDelegate#selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)
*/
@@ -128,5 +128,5 @@ public class RetargetRunToLineAction extends RetargetAction {
} else {
super.selectionChanged(action, selection);
}
- }
+ }
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RunAsAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RunAsAction.java
index efbd37503..30d13ea39 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RunAsAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RunAsAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RunContextualLaunchAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RunContextualLaunchAction.java
index 25b996484..7deb1cb76 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RunContextualLaunchAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RunContextualLaunchAction.java
@@ -15,11 +15,11 @@ import org.eclipse.debug.ui.actions.ContextualLaunchAction;
/**
* Specialization of <code>ContextualLaunchAction</code> for the run mode
- *
+ *
* @see {@link ContextualLaunchAction}
*/
public class RunContextualLaunchAction extends ContextualLaunchAction {
-
+
/**
* Constructor
*/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RunHistoryMenuAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RunHistoryMenuAction.java
index fedfecc8e..1520e6fc9 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RunHistoryMenuAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RunHistoryMenuAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -16,11 +16,11 @@ import org.eclipse.debug.ui.actions.AbstractLaunchHistoryAction;
/**
* Run history menu in the top-level "Run" menu.
- */
+ */
public class RunHistoryMenuAction extends AbstractLaunchHistoryAction {
-
+
public RunHistoryMenuAction() {
super(IDebugUIConstants.ID_RUN_LAUNCH_GROUP);
}
-
+
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RunLastAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RunLastAction.java
index f3635497d..b90071941 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RunLastAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RunLastAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -19,9 +19,9 @@ import org.eclipse.debug.ui.actions.RelaunchLastAction;
/**
* Re-launches the last run-mode launch
- *
+ *
* This menu item appears in the main 'Run' menu
- *
+ *
* @see RelaunchLastAction
* @see DebugLastAction
* @see ProfileLastAction
@@ -34,8 +34,8 @@ public class RunLastAction extends RelaunchLastAction {
@Override
public String getMode() {
return ILaunchManager.RUN_MODE;
- }
-
+ }
+
/* (non-Javadoc)
* @see org.eclipse.debug.internal.ui.actions.RelaunchLastAction#getLaunchGroupId()
*/
@@ -64,7 +64,7 @@ public class RunLastAction extends RelaunchLastAction {
protected String getTooltipText() {
return IInternalDebugCoreConstants.EMPTY_STRING;
}
-
+
/* (non-Javadoc)
* @see org.eclipse.debug.internal.ui.actions.RelaunchLastAction#getCommandId()
*/
@@ -72,7 +72,7 @@ public class RunLastAction extends RelaunchLastAction {
protected String getCommandId() {
return "org.eclipse.debug.ui.commands.RunLast"; //$NON-NLS-1$
}
-
+
/* (non-Javadoc)
* @see org.eclipse.debug.internal.ui.actions.RelaunchLastAction#getDescription()
*/
@@ -84,5 +84,5 @@ public class RunLastAction extends RelaunchLastAction {
else {
return ActionMessages.RunLastAction_3;
}
- }
+ }
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RunToolbarAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RunToolbarAction.java
index 353cc1927..99dff4459 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RunToolbarAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/RunToolbarAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/SelectAllAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/SelectAllAction.java
index a920aa945..f1b6c19e7 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/SelectAllAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/SelectAllAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -23,7 +23,7 @@ import org.eclipse.ui.IActionDelegate;
import org.eclipse.ui.IViewPart;
public abstract class SelectAllAction extends AbstractRemoveAllActionDelegate {
-
+
private IViewPart fView;
/* (non-Javadoc)
@@ -38,13 +38,13 @@ public abstract class SelectAllAction extends AbstractRemoveAllActionDelegate {
}
super.init(view);
}
-
+
protected IViewPart getView() {
return fView;
}
-
+
protected abstract String getActionId();
-
+
private void collectExpandedAndVisible(TreeItem[] items, List<TreeItem> result) {
for (int i= 0; i < items.length; i++) {
TreeItem item= items[i];
@@ -73,5 +73,5 @@ public abstract class SelectAllAction extends AbstractRemoveAllActionDelegate {
viewer.setSelection(viewer.getSelection());
}
}
-
+
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/StatusInfo.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/StatusInfo.java
index 11aa17932..ca7a1818d 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/StatusInfo.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/StatusInfo.java
@@ -15,15 +15,15 @@ import org.eclipse.core.runtime.IStatus;
import org.eclipse.debug.internal.ui.DebugUIPlugin;
/**
- * A settable IStatus.
+ * A settable IStatus.
* Can be an error, warning, info or ok. For error, info and warning states,
* a message describes the problem.
*/
public class StatusInfo implements IStatus {
-
+
private String fStatusMessage;
private int fSeverity;
-
+
/**
* Creates a status set to OK (no message)
*/
@@ -36,12 +36,12 @@ public class StatusInfo implements IStatus {
* @param severity The status severity: ERROR, WARNING, INFO and OK.
* @param message The message of the status. Applies only for ERROR,
* WARNING and INFO.
- */
+ */
public StatusInfo(int severity, String message) {
fStatusMessage= message;
fSeverity= severity;
- }
-
+ }
+
/**
* Returns if the status' severity is OK.
*/
@@ -52,25 +52,25 @@ public class StatusInfo implements IStatus {
/**
* Returns if the status' severity is WARNING.
- */
+ */
public boolean isWarning() {
return fSeverity == IStatus.WARNING;
}
/**
* Returns if the status' severity is INFO.
- */
+ */
public boolean isInfo() {
return fSeverity == IStatus.INFO;
- }
+ }
/**
* Returns if the status' severity is ERROR.
- */
+ */
public boolean isError() {
return fSeverity == IStatus.ERROR;
}
-
+
/**
* @see IStatus#getMessage
*/
@@ -78,11 +78,11 @@ public class StatusInfo implements IStatus {
public String getMessage() {
return fStatusMessage;
}
-
+
/**
* Sets the status to ERROR.
* @param The error message (can be empty, but not null)
- */
+ */
public void setError(String errorMessage) {
Assert.isNotNull(errorMessage);
fStatusMessage= errorMessage;
@@ -92,7 +92,7 @@ public class StatusInfo implements IStatus {
/**
* Sets the status to WARNING.
* @param The warning message (can be empty, but not null)
- */
+ */
public void setWarning(String warningMessage) {
Assert.isNotNull(warningMessage);
fStatusMessage= warningMessage;
@@ -102,21 +102,21 @@ public class StatusInfo implements IStatus {
/**
* Sets the status to INFO.
* @param The info message (can be empty, but not null)
- */
+ */
public void setInfo(String infoMessage) {
Assert.isNotNull(infoMessage);
fStatusMessage= infoMessage;
fSeverity= IStatus.INFO;
- }
+ }
/**
* Sets the status to OK.
- */
+ */
public void setOK() {
fStatusMessage= null;
fSeverity= IStatus.OK;
}
-
+
/*
* @see IStatus#matches(int)
*/
@@ -175,6 +175,6 @@ public class StatusInfo implements IStatus {
@Override
public IStatus[] getChildren() {
return new IStatus[0];
- }
+ }
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ToggleBreakpointsTargetManager.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ToggleBreakpointsTargetManager.java
index 8531b8ea7..ec665cd6a 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ToggleBreakpointsTargetManager.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ToggleBreakpointsTargetManager.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Wind River Systems - adapted to use with IToggleBreakpiontsTargetFactory extension
@@ -67,9 +67,9 @@ import org.eclipse.ui.texteditor.ITextEditor;
import org.eclipse.ui.texteditor.SimpleMarkerAnnotation;
/**
- * The concrete implementation of the toggle breakpoints target manager
- * interface.
- *
+ * The concrete implementation of the toggle breakpoints target manager
+ * interface.
+ *
* @since 3.5
*/
public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetManager {
@@ -79,29 +79,29 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
* through the legacy adapter mechanism.
*/
public static String DEFAULT_TOGGLE_TARGET_ID = "default"; //$NON-NLS-1$
-
+
private static Set<String> DEFAULT_TOGGLE_TARGET_ID_SET = new TreeSet<String>();
static {
DEFAULT_TOGGLE_TARGET_ID_SET.add(DEFAULT_TOGGLE_TARGET_ID);
}
-
+
/**
- * Acts as a proxy between the toggle breakpoints target manager and the factories
- * contributed to the extension point. Only loads information from the plug-in XML
+ * Acts as a proxy between the toggle breakpoints target manager and the factories
+ * contributed to the extension point. Only loads information from the plug-in XML
* and only instantiates the specified factory if required (lazy loading).
*/
private static class ToggleTargetFactory implements IToggleBreakpointsTargetFactory {
-
+
private IConfigurationElement fConfigElement;
private IToggleBreakpointsTargetFactory fFactory;
private Expression fEnablementExpression;
-
+
public ToggleTargetFactory(IConfigurationElement configElement){
- fConfigElement = configElement;
+ fConfigElement = configElement;
}
/**
- * @return Returns the instantiated factory specified by the class property.
+ * @return Returns the instantiated factory specified by the class property.
*/
private IToggleBreakpointsTargetFactory getFactory() {
if (fFactory != null) {
@@ -113,20 +113,20 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
fFactory = (IToggleBreakpointsTargetFactory)obj;
} else {
throw new CoreException(new Status(IStatus.ERROR, DebugUIPlugin.getUniqueIdentifier(), IDebugUIConstants.INTERNAL_ERROR, "org.eclipse.debug.ui.toggleBreakpointsTargetFactories extension failed to load breakpoint toggle target because the specified class does not implement org.eclipse.debug.ui.actions.IToggleBreakpointsTargetFactory. Class specified was: " + obj, null)); //$NON-NLS-1$
- }
+ }
} catch (CoreException e){
DebugUIPlugin.log(e.getStatus());
fFactory = null;
}
return fFactory;
}
-
+
/**
* Checks if the enablement expression for the factory evaluates to true for the
* given part and selection.
* @param part The active part.
* @param selection The current selection
- * @return whether the delegated target factory is enabled for given
+ * @return whether the delegated target factory is enabled for given
* part and selection.
*/
public boolean isEnabled(IWorkbenchPart part, ISelection selection) {
@@ -139,10 +139,10 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
}
return enabled;
}
-
+
/**
* Returns the active debug context given the active part. It is used
- * in creating the evaluation context for the factories' enablement expression.
+ * in creating the evaluation context for the factories' enablement expression.
* @param part active part
* @return current active debug context
*/
@@ -151,14 +151,14 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
getContextService(part.getSite().getWorkbenchWindow()).getActiveContext();
if (selection instanceof IStructuredSelection) {
return (IStructuredSelection)selection;
- }
+ }
return StructuredSelection.EMPTY;
}
/**
* Evaluate the given expression within the given context and return
* the result. Returns <code>true</code> iff result is either TRUE.
- *
+ *
* @param part the {@link IWorkbenchPart} context
* @param selection the current selection in the part
* @param exp the current expression
@@ -168,17 +168,17 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
if (exp != null){
IEvaluationContext context = DebugUIPlugin.createEvaluationContext(part);
List<Object> debugContextList = getDebugContext(part).toList();
- context.addVariable(IConfigurationElementConstants.DEBUG_CONTEXT, debugContextList);
+ context.addVariable(IConfigurationElementConstants.DEBUG_CONTEXT, debugContextList);
if (selection instanceof IStructuredSelection) {
List<Object> selectionList = ((IStructuredSelection) selection).toList();
- context.addVariable(IConfigurationElementConstants.SELECTION, selectionList);
+ context.addVariable(IConfigurationElementConstants.SELECTION, selectionList);
}
if (part instanceof IEditorPart) {
context.addVariable(IConfigurationElementConstants.EDITOR_INPUT, ((IEditorPart)part).getEditorInput());
}
-
+
try{
EvaluationResult result = exp.evaluate(context);
if (result == EvaluationResult.TRUE){
@@ -190,7 +190,7 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
}
return false;
}
-
+
/**
* @return Returns an expression that represents the enablement logic
* for the breakpoint toggle target.
@@ -199,7 +199,7 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
if (fEnablementExpression == null) {
try{
IConfigurationElement[] elements = fConfigElement.getChildren(ExpressionTagNames.ENABLEMENT);
- IConfigurationElement enablement = elements.length > 0 ? elements[0] : null;
+ IConfigurationElement enablement = elements.length > 0 ? elements[0] : null;
if (enablement != null) {
fEnablementExpression = ExpressionConverter.getDefault().perform(enablement);
}
@@ -211,10 +211,10 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
return fEnablementExpression;
}
- /**
+ /**
* Instantiates the factory and asks it to produce the IToggleBreakpointsTarget
* for the given ID
- * @param targetID ID to create toggle target for
+ * @param targetID ID to create toggle target for
* @return The created toggle target, or null.
*/
@Override
@@ -222,16 +222,16 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
IToggleBreakpointsTargetFactory factory = getFactory();
if (factory != null) {
return factory.createToggleTarget(targetID);
- }
+ }
return null;
}
-
- /**
+
+ /**
* Instantiates the factory and asks it for the set of toggle target
* IDs that the factory can produce for the given part and selection.
* @param part The active part.
* @param selection The current selection
- * @return Set of <code>String</code> IDs for possible toggle breakpoint
+ * @return Set of <code>String</code> IDs for possible toggle breakpoint
* targets, possibly empty
*/
@Override
@@ -239,11 +239,11 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
IToggleBreakpointsTargetFactory factory = getFactory();
if (factory != null) {
return factory.getToggleTargets(part, selection);
- }
+ }
return Collections.EMPTY_SET;
}
- /**
+ /**
* Instantiates the factory and asks it to produce the name of the toggle target
* for the given ID.
* @param targetID toggle breakpoints target identifier
@@ -254,12 +254,12 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
IToggleBreakpointsTargetFactory factory = getFactory();
if (factory != null) {
return factory.getToggleTargetName(targetID);
- }
+ }
return null;
}
- /**
- * Instantiates the factory and asks it to produce the description of the toggle
+ /**
+ * Instantiates the factory and asks it to produce the description of the toggle
* target for the given ID.
* @param targetID toggle breakpoints target identifier
* @return toggle target name or <code>null</code> if none
@@ -269,11 +269,11 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
IToggleBreakpointsTargetFactory factory = getFactory();
if (factory != null) {
return factory.getToggleTargetDescription(targetID);
- }
+ }
return null;
}
-
- /**
+
+ /**
* Instantiates the factory and asks it for the toggle tareget ID that
* the factory considers the default for the given part and selection.
* @param part The active part.
@@ -281,19 +281,19 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
* @return a breakpoint toggle target identifier or <code>null</code>
*/
@Override
- public String getDefaultToggleTarget(IWorkbenchPart part, ISelection selection) {
+ public String getDefaultToggleTarget(IWorkbenchPart part, ISelection selection) {
IToggleBreakpointsTargetFactory factory = getFactory();
if (factory != null) {
return factory.getDefaultToggleTarget(part, selection);
- }
+ }
return null;
}
}
-
+
/**
* Factory for toggle breakpoints targets contributed through the
- * adapter mechanism.
+ * adapter mechanism.
*/
private static class ToggleBreakpointsTargetAdapterFactory implements IToggleBreakpointsTargetFactory {
@@ -301,13 +301,13 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
if (selection instanceof IStructuredSelection) {
IStructuredSelection ss = (IStructuredSelection)selection;
return ss.getFirstElement();
- }
+ }
return null;
}
-
+
/**
- * Checks whether the given element is adaptable to the toggle breakpoints target.
- * This method does not force loading of the adapter.
+ * Checks whether the given element is adaptable to the toggle breakpoints target.
+ * This method does not force loading of the adapter.
* @param adaptable Element to adapt.
* @return returns true if element can be adapted.
*/
@@ -316,7 +316,7 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
IToggleBreakpointsTarget adapter = null;
if (adaptable instanceof IAdaptable) {
adapter = ((IAdaptable)adaptable).getAdapter(IToggleBreakpointsTarget.class);
- }
+ }
if (adapter == null) {
IAdapterManager adapterManager = Platform.getAdapterManager();
if (adapterManager.hasAdapter(adaptable, IToggleBreakpointsTarget.class.getName())) {
@@ -328,10 +328,10 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
}
return false;
}
-
+
/**
- * Finds the toggle breakpoints target for the active part and selection.
- * It first looks for the target using the factories registered using an
+ * Finds the toggle breakpoints target for the active part and selection.
+ * It first looks for the target using the factories registered using an
* extension point. If not found it uses the <code>IAdaptable</code>
* mechanism.
* @param part The workbench part in which toggle target is to be used
@@ -342,7 +342,7 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
IToggleBreakpointsTarget target = null;
if (element != null) {
target = (IToggleBreakpointsTarget) DebugPlugin.getAdapter(element, IToggleBreakpointsTarget.class);
- }
+ }
if (target == null) {
target = (IToggleBreakpointsTarget) DebugPlugin.getAdapter(part, IToggleBreakpointsTarget.class);
}
@@ -350,17 +350,17 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
}
/**
- * Checks if there is an adaptable object for the given part and
- * selection, and if there is, it checks whether an
+ * Checks if there is an adaptable object for the given part and
+ * selection, and if there is, it checks whether an
* <code>IToggleBreakpointsTarget</code> can be obtained as an adapter.
* @param part The workbench part in which toggle target is to be used
* @param selection The active selection to use with toggle target
- * @return Whether the adapter (default) toggle target is available.
+ * @return Whether the adapter (default) toggle target is available.
*/
public boolean isEnabled(IWorkbenchPart part, ISelection selection) {
return canGetToggleBreakpointsTarget(getSelectionElement(selection)) || canGetToggleBreakpointsTarget(part);
}
-
+
/**
* Not implemented use {@link #createDefaultToggleTarget(IWorkbenchPart, ISelection)}
* instead.
@@ -371,22 +371,22 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
public IToggleBreakpointsTarget createToggleTarget(String targetID) {
return null;
}
-
+
/**
* @param part The workbench part in which toggle target is to be used
* @param selection The active selection to use with toggle target
- * @return Returns a toggle target for the given part and selection, obtained
- * through the adapter mechanism.
+ * @return Returns a toggle target for the given part and selection, obtained
+ * through the adapter mechanism.
*/
public IToggleBreakpointsTarget createDefaultToggleTarget(IWorkbenchPart part, ISelection selection) {
return getToggleBreakpointsTarget(part, getSelectionElement(selection));
}
-
+
@Override
public Set<String> getToggleTargets(IWorkbenchPart part, ISelection selection) {
if (isEnabled(part, selection)) {
return DEFAULT_TOGGLE_TARGET_ID_SET;
- }
+ }
return Collections.EMPTY_SET;
}
@@ -399,14 +399,14 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
public String getToggleTargetDescription(String targetID) {
return ActionMessages.ToggleBreakpointsTargetManager_defaultToggleTarget_description;
}
-
+
@Override
public String getDefaultToggleTarget(IWorkbenchPart part, ISelection selection) {
return DEFAULT_TOGGLE_TARGET_ID;
}
}
-
+
/**
* Preference key for storing the preferred targets map.
* @see #storePreferredTargets()
@@ -414,7 +414,7 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
*/
public static final String PREF_TARGETS = "preferredTargets"; //$NON-NLS-1$
-
+
/**
* There should only ever be once instance of this manager for the workbench.
*/
@@ -426,7 +426,7 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
}
return fgSingleton;
}
-
+
/**
* Maps the IDs of toggle breakpoint targets to their instances. The target
* IDs must be unique.
@@ -437,13 +437,13 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
* Maps a Set of target id's to the one target id that is preferred.
*/
private Map<Set<String>, String> fPreferredTargets;
-
+
/**
* Maps the IDs of toggle targets to the factory that can create them.
* There can currently only be one factory for a given toggle target.
*/
private Map<String, IToggleBreakpointsTargetFactory> fFactoriesByTargetID = new HashMap<String, IToggleBreakpointsTargetFactory>();
-
+
/**
* List of listeners to changes in the preferred toggle targets list.
*/
@@ -458,7 +458,7 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
IExtensionPoint ep = Platform.getExtensionRegistry().getExtensionPoint(DebugUIPlugin.getUniqueIdentifier(), IDebugUIConstants.EXTENSION_POINT_TOGGLE_BREAKPOINTS_TARGET_FACTORIES);
IConfigurationElement[] elements = ep.getConfigurationElements();
for (int i= 0; i < elements.length; i++) {
- String id = elements[i].getAttribute(IConfigurationElementConstants.ID);
+ String id = elements[i].getAttribute(IConfigurationElementConstants.ID);
if (id != null && id.length() != 0) {
if (fKnownFactories.containsKey(id)) {
DebugUIPlugin.log(new Status(IStatus.ERROR, DebugUIPlugin.getUniqueIdentifier(), IDebugUIConstants.INTERNAL_ERROR, "org.eclipse.debug.ui.toggleBreakpointsTargetFactory extension failed to load breakpoint toggle target because the specified id is already registered. Specified ID is: " + id, null)); //$NON-NLS-1$
@@ -468,24 +468,24 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
} else {
DebugUIPlugin.log(new Status(IStatus.ERROR, DebugUIPlugin.getUniqueIdentifier(), IDebugUIConstants.INTERNAL_ERROR, "org.eclipse.debug.ui.toggleBreakpointsTargetFactory extension failed to load breakpoint toggle target because the specified id is empty.", null)); //$NON-NLS-1$
}
- }
-
- // If there are any factories contributed through the extension point,
+ }
+
+ // If there are any factories contributed through the extension point,
// set a system property for use in enabling actions.
- System.setProperty(IDebugUIConstants.SYS_PROP_BREAKPOINT_TOGGLE_FACTORIES_USED,
+ System.setProperty(IDebugUIConstants.SYS_PROP_BREAKPOINT_TOGGLE_FACTORIES_USED,
fKnownFactories.size() > 1 ? "true" : "false"); //$NON-NLS-1$ //$NON-NLS-2$
}
/**
* Returns the set of IToggleBreakpointsTargetFactory objects (they will be
- * ToggleTargetFactory) that were contributed to the extension point and
- * are enabled for the given part and selection (enabled if the factory
- * does not have an enablement expression or if the enablement expression
+ * ToggleTargetFactory) that were contributed to the extension point and
+ * are enabled for the given part and selection (enabled if the factory
+ * does not have an enablement expression or if the enablement expression
* evaluates to true).
- *
+ *
* @param part active part
* @param selection active selection in part
- * @return The factories enabled for the part and selection or an empty
+ * @return The factories enabled for the part and selection or an empty
* collection.
*/
private Set<IToggleBreakpointsTargetFactory> getEnabledFactories(IWorkbenchPart part, ISelection selection) {
@@ -495,13 +495,13 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
Set<IToggleBreakpointsTargetFactory> set = new HashSet<IToggleBreakpointsTargetFactory>();
for (Entry<String, IToggleBreakpointsTargetFactory> entry : fKnownFactories.entrySet()) {
IToggleBreakpointsTargetFactory factory = entry.getValue();
- if (factory instanceof ToggleTargetFactory &&
+ if (factory instanceof ToggleTargetFactory &&
((ToggleTargetFactory)factory).isEnabled(part, selection)) {
set.add(factory);
- } else if (factory instanceof ToggleBreakpointsTargetAdapterFactory &&
+ } else if (factory instanceof ToggleBreakpointsTargetAdapterFactory &&
((ToggleBreakpointsTargetAdapterFactory)factory).isEnabled(part, selection)) {
set.add(factory);
- }
+ }
}
return set;
}
@@ -509,7 +509,7 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
/**
* Produces the set of IDs for all possible toggle targets that can be used for
* the given part and selection.
- *
+ *
* @param factoriesToQuery The collection of factories to check
* @param part active part
* @param selection active selection in part
@@ -520,8 +520,8 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
for (IToggleBreakpointsTargetFactory factory : factoriesToQuery) {
for(String targetID : factory.getToggleTargets(part, selection)) {
fFactoriesByTargetID.put(targetID, factory);
- idsForSelection.add(targetID);
- }
+ idsForSelection.add(targetID);
+ }
}
return idsForSelection;
}
@@ -557,7 +557,7 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
}
return null;
}
-
+
@Override
public String getToggleBreakpointsTargetName(String id) {
IToggleBreakpointsTargetFactory factory = fFactoriesByTargetID.get(id);
@@ -566,7 +566,7 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
}
return null;
}
-
+
@Override
public String getToggleBreakpointsTargetDescription(String id) {
IToggleBreakpointsTargetFactory factory = fFactoriesByTargetID.get(id);
@@ -588,10 +588,10 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
/**
* Stores the map of preferred target IDs to the preference store in the format:
- *
- * Key1A,Key1B:Value1|Key2A,Key2B,Key2C:Value2|
- *
- * Where the sub keys (Key1A, Key1B, etc.) are the elements of the set used at the
+ *
+ * Key1A,Key1B:Value1|Key2A,Key2B,Key2C:Value2|
+ *
+ * Where the sub keys (Key1A, Key1B, etc.) are the elements of the set used at the
* key in the mapping and the values are the associated String value in the mapping.
*/
private void storePreferredTargets() {
@@ -614,15 +614,15 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
/**
* Loads the map of preferred target IDs from the preference store.
- *
+ *
* @see #storePreferredTargets()
*/
private void loadPreferredTargets() {
fPreferredTargets = new HashMap<Set<String>, String>();
String preferenceValue = Platform.getPreferencesService().getString(
- DebugUIPlugin.getUniqueIdentifier(),
- PREF_TARGETS,
- null,
+ DebugUIPlugin.getUniqueIdentifier(),
+ PREF_TARGETS,
+ null,
null);
if(preferenceValue == null) {
return;
@@ -643,7 +643,7 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
/**
* Adds or updates the mapping to set which target ID is preferred for a certain
* set of possible IDs.
- *
+ *
* @param possibleIDs The set of possible IDs
* @param preferredID The preferred ID in the set.
*/
@@ -664,12 +664,12 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
fPreferredTargets.put(possibleIDs, preferredID);
storePreferredTargets();
firePreferredTargetsChanged();
- }
+ }
}
-
+
/**
* Returns the preferred toggle target ID from the given set if the mapping has been set.
- *
+ *
* @param possibleTargetIDs The set of possible toggle target IDs
* @return The preferred ID or null
*/
@@ -684,19 +684,19 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
* Given a set of possible toggle target IDs, this method will determine which target is
* preferred and should be used to toggle breakpoints. This method chooses a toggle target
* by storing previous choices and can be set using a context menu.
- *
+ *
* @param possibleTargetIDs The set of possible toggle target IDs
* @param part The workbench part in which toggle target is to be used
- * @param selection The active selection to use with toggle target
+ * @param selection The active selection to use with toggle target
* @return The preferred toggle target ID or null
*/
private String chooseToggleTargetIDInSet(Set<String> possibleTargetIDs, IWorkbenchPart part, ISelection selection) {
if (possibleTargetIDs == null || possibleTargetIDs.isEmpty()){
return null;
}
-
+
String preferredID = getUserPreferredTarget(possibleTargetIDs);
-
+
if (preferredID == null){
// If there is no preferred pane already set, check the factories to see there is a default target
Iterator<String> possibleIDsIterator = possibleTargetIDs.iterator();
@@ -726,7 +726,7 @@ public class ToggleBreakpointsTargetManager implements IToggleBreakpointsTargetM
iToggleBreakpointsTargetManagerListener.preferredTargetsChanged();
}
}
-
+
public IBreakpoint getBeakpointFromEditor(ITextEditor editor, IVerticalRulerInfo info) {
IDocumentProvider provider = editor.getDocumentProvider();
if(provider == null) {
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ToggleFilterAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ToggleFilterAction.java
index 2257d2553..7ac218073 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ToggleFilterAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ToggleFilterAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -26,7 +26,7 @@ public abstract class ToggleFilterAction extends Action {
* The viewer that this action works for
*/
private StructuredViewer fViewer;
-
+
/**
* The filter this action applies to the viewer
*/
@@ -61,7 +61,7 @@ public abstract class ToggleFilterAction extends Action {
if (!alreadyAdded) {
getViewer().addFilter(filter);
}
-
+
} else {
getViewer().removeFilter(getViewerFilter());
}
@@ -81,7 +81,7 @@ public abstract class ToggleFilterAction extends Action {
protected void setViewerFilter(ViewerFilter filter) {
fViewerFilter= filter;
}
-
+
protected StructuredViewer getViewer() {
return fViewer;
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ViewManagementAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ViewManagementAction.java
index 32233132e..06ebe7741 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ViewManagementAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ViewManagementAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -20,7 +20,7 @@ import org.eclipse.ui.actions.ActionDelegate;
* An action which opens the view management preference page.
*/
public class ViewManagementAction extends ActionDelegate implements IViewActionDelegate {
-
+
/* (non-Javadoc)
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
*/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/AbstractBreakpointsViewAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/AbstractBreakpointsViewAction.java
index 10df93524..da9cfbc0b 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/AbstractBreakpointsViewAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/AbstractBreakpointsViewAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial implementation
*******************************************************************************/
@@ -22,7 +22,7 @@ import org.eclipse.ui.IViewPart;
* Abstract implementation of an action contributed to the breakpoints view.
*/
public abstract class AbstractBreakpointsViewAction implements IViewActionDelegate, IActionDelegate2 {
-
+
/**
* The breakpoints view that this action has been contributed to.
*/
@@ -35,7 +35,7 @@ public abstract class AbstractBreakpointsViewAction implements IViewActionDelega
public void init(IViewPart view) {
fView= (BreakpointsView) view;
}
-
+
/* (non-Javadoc)
* @see org.eclipse.ui.IActionDelegate#selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)
*/
@@ -49,14 +49,14 @@ public abstract class AbstractBreakpointsViewAction implements IViewActionDelega
@Override
public void dispose() {
}
-
+
/* (non-Javadoc)
* @see org.eclipse.ui.IActionDelegate2#init(org.eclipse.jface.action.IAction)
*/
@Override
public void init(IAction action) {
}
-
+
/* (non-Javadoc)
* @see org.eclipse.ui.IActionDelegate2#runWithEvent(org.eclipse.jface.action.IAction, org.eclipse.swt.widgets.Event)
*/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/AdvancedGroupBreakpointsByAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/AdvancedGroupBreakpointsByAction.java
index f6fe350d6..16c556b7d 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/AdvancedGroupBreakpointsByAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/AdvancedGroupBreakpointsByAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -22,14 +22,14 @@ import org.eclipse.jface.window.Window;
* view.
*/
public class AdvancedGroupBreakpointsByAction extends Action {
-
+
private BreakpointsView fView;
-
+
public AdvancedGroupBreakpointsByAction(BreakpointsView view) {
super(IInternalDebugCoreConstants.EMPTY_STRING, IAction.AS_RADIO_BUTTON);
fView= view;
}
-
+
/* (non-Javadoc)
* @see org.eclipse.jface.action.IAction#run()
*/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/BreakpointSelectionAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/BreakpointSelectionAction.java
index a1c90fb6f..bc7ef2b23 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/BreakpointSelectionAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/BreakpointSelectionAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -17,12 +17,12 @@ import org.eclipse.ui.actions.SelectionListenerAction;
* A selection listener action for the breakpoints view.
*/
public abstract class BreakpointSelectionAction extends SelectionListenerAction {
-
+
private BreakpointsView fView;
-
+
/**
* Constructs an action for the breakpoints view.
- *
+ *
* @param text action name
* @param view breakpoints view
*/
@@ -30,10 +30,10 @@ public abstract class BreakpointSelectionAction extends SelectionListenerAction
super(text);
fView = view;
}
-
+
/**
* Returns the breakpoints view.
- *
+ *
* @return breakpoints view
*/
protected BreakpointsView getBreakpointsView() {
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/BreakpointWorkingSetAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/BreakpointWorkingSetAction.java
index 40fae5d62..383329599 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/BreakpointWorkingSetAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/BreakpointWorkingSetAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial implementation
*******************************************************************************/
@@ -22,8 +22,8 @@ import org.eclipse.ui.IViewPart;
* An action which clears (sets the null) the default breakpoint group.
*/
public abstract class BreakpointWorkingSetAction extends AbstractBreakpointsViewAction implements IPropertyChangeListener {
-
- protected IAction fAction;
+
+ protected IAction fAction;
/* (non-Javadoc)
* @see org.eclipse.ui.IActionDelegate#selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)
@@ -41,7 +41,7 @@ public abstract class BreakpointWorkingSetAction extends AbstractBreakpointsView
super.init(view);
DebugUIPlugin.getDefault().getPreferenceStore().addPropertyChangeListener(this);
}
-
+
/* (non-Javadoc)
* @see org.eclipse.ui.IActionDelegate2#dispose()
*/
@@ -59,7 +59,7 @@ public abstract class BreakpointWorkingSetAction extends AbstractBreakpointsView
super.init(action);
update();
}
-
+
/* (non-Javadoc)
* @see org.eclipse.jface.util.IPropertyChangeListener#propertyChange(org.eclipse.jface.util.PropertyChangeEvent)
*/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/ClearDefaultBreakpointGroupAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/ClearDefaultBreakpointGroupAction.java
index 3e3704a00..ae38fbfc7 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/ClearDefaultBreakpointGroupAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/ClearDefaultBreakpointGroupAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial implementation
*******************************************************************************/
@@ -17,7 +17,7 @@ import org.eclipse.jface.action.IAction;
* An action which clears (sets the null) the default breakpoint group.
*/
public class ClearDefaultBreakpointGroupAction extends BreakpointWorkingSetAction {
-
+
/* (non-Javadoc)
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
*/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/CopyBreakpointsActionDelegate.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/CopyBreakpointsActionDelegate.java
index 5f084105c..975c9880d 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/CopyBreakpointsActionDelegate.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/CopyBreakpointsActionDelegate.java
@@ -35,7 +35,7 @@ import org.eclipse.ui.IViewPart;
* to the breakpoint paste action.
*/
public class CopyBreakpointsActionDelegate extends VirtualCopyToClipboardActionDelegate implements IBreakpointsListener {
-
+
private long fStamp;
/* (non-Javadoc)
@@ -57,7 +57,7 @@ public class CopyBreakpointsActionDelegate extends VirtualCopyToClipboardActionD
}
}
}
-
+
/* (non-Javadoc)
* @see org.eclipse.debug.internal.ui.actions.AbstractDebugActionDelegate#init(org.eclipse.ui.IViewPart)
*/
@@ -66,7 +66,7 @@ public class CopyBreakpointsActionDelegate extends VirtualCopyToClipboardActionD
super.init(view);
DebugPlugin.getDefault().getBreakpointManager().addBreakpointListener(this);
}
-
+
/* (non-Javadoc)
* @see org.eclipse.debug.internal.ui.actions.AbstractDebugActionDelegate#dispose()
*/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/EditBreakpointGroupAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/EditBreakpointGroupAction.java
index 8303511e3..c7d2827fe 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/EditBreakpointGroupAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/EditBreakpointGroupAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial implementation
* Patrick Chuong (Texas Instruments) - Improve usability of the breakpoint view (Bug 238956)
@@ -27,12 +27,12 @@ import org.eclipse.ui.dialogs.IWorkingSetEditWizard;
* An action to edit a breakpoint working set.
*/
public class EditBreakpointGroupAction extends AbstractBreakpointsViewAction {
-
+
/**
* The currently selected breakpoints
*/
private IWorkingSet fSet = null;
-
+
/* (non-Javadoc)
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
*/
@@ -48,10 +48,10 @@ public class EditBreakpointGroupAction extends AbstractBreakpointsViewAction {
*/
@Override
public void selectionChanged(IAction action, ISelection sel) {
- fSet = null;
+ fSet = null;
if (sel instanceof IStructuredSelection) {
IStructuredSelection selection= (IStructuredSelection) sel;
-
+
if (selection.size() == 1) {
Object element = selection.getFirstElement();
if (element instanceof IBreakpointContainer) {
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/GroupBreakpointsAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/GroupBreakpointsAction.java
index 647fc0276..fc0061e11 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/GroupBreakpointsAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/GroupBreakpointsAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial implementation
*******************************************************************************/
@@ -22,7 +22,7 @@ import org.eclipse.jface.action.IAction;
* some criteria (as determined by the factory).
*/
public class GroupBreakpointsAction extends Action {
-
+
private IBreakpointOrganizer fOrganzier;
private BreakpointsView fView;
@@ -52,10 +52,10 @@ public class GroupBreakpointsAction extends Action {
}
}
}
-
+
/**
* Returns this action's organizer.
- *
+ *
* @return breakpoint organizer
*/
public IBreakpointOrganizer getOrganizer() {
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/GroupBreakpointsByAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/GroupBreakpointsByAction.java
index 717ff3d54..681249d75 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/GroupBreakpointsByAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/GroupBreakpointsByAction.java
@@ -31,15 +31,15 @@ import org.eclipse.swt.widgets.Menu;
import org.eclipse.swt.widgets.MenuItem;
/**
- *
+ *
*/
public class GroupBreakpointsByAction extends AbstractBreakpointsViewAction implements IMenuCreator {
private IAction fAction= null;
-
+
public GroupBreakpointsByAction() {
}
-
+
/* (non-Javadoc)
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
*/
@@ -79,7 +79,7 @@ public class GroupBreakpointsByAction extends AbstractBreakpointsViewAction impl
}
fillMenu(m);
}
- });
+ });
return menu;
}
@@ -88,8 +88,8 @@ public class GroupBreakpointsByAction extends AbstractBreakpointsViewAction impl
*/
private void fillMenu(Menu menu) {
// determine which item should be checked
- IBreakpointOrganizer[] organizers = fView.getBreakpointOrganizers();
-
+ IBreakpointOrganizer[] organizers = fView.getBreakpointOrganizers();
+
boolean none = false;
boolean advanced = false;
IBreakpointOrganizer organizer = null;
@@ -100,11 +100,11 @@ public class GroupBreakpointsByAction extends AbstractBreakpointsViewAction impl
} else {
organizer = organizers[0];
}
-
+
int accel = 1;
// Add hard-coded action for flat breakpoints list
IAction action = new GroupBreakpointsAction(null, fView);
- addAccel(accel, action, BreakpointGroupMessages.GroupBreakpointsByAction_0);
+ addAccel(accel, action, BreakpointGroupMessages.GroupBreakpointsByAction_0);
accel++;
action.setImageDescriptor(DebugPluginImages.getImageDescriptor(IDebugUIConstants.IMG_VIEW_BREAKPOINTS));
action.setChecked(none);
@@ -121,16 +121,16 @@ public class GroupBreakpointsByAction extends AbstractBreakpointsViewAction impl
item= new ActionContributionItem(bpAction);
item.fill(menu, -1);
}
-
+
// advanced action
AdvancedGroupBreakpointsByAction advancedAction = new AdvancedGroupBreakpointsByAction(fView);
- addAccel(accel, advancedAction,BreakpointGroupMessages.GroupBreakpointsByAction_1);
+ addAccel(accel, advancedAction,BreakpointGroupMessages.GroupBreakpointsByAction_1);
advancedAction.setImageDescriptor(DebugPluginImages.getImageDescriptor(IInternalDebugUIConstants.IMG_ELCL_HIERARCHICAL));
advancedAction.setChecked(advanced);
item= new ActionContributionItem(advancedAction);
item.fill(menu, -1);
}
-
+
public List<IAction> getActions(int accel) {
List<IAction> actions = new ArrayList<IAction>();
IBreakpointOrganizer[] organizers = BreakpointOrganizerManager.getDefault().getOrganizers();
@@ -141,10 +141,10 @@ public class GroupBreakpointsByAction extends AbstractBreakpointsViewAction impl
accel++;
action.setImageDescriptor(organizer.getImageDescriptor());
actions.add(action);
- }
+ }
return actions;
}
-
+
private void addAccel(int accel, IAction action, String label) {
StringBuffer actionLabel= new StringBuffer();
if (accel != 10) {
@@ -159,9 +159,9 @@ public class GroupBreakpointsByAction extends AbstractBreakpointsViewAction impl
accel++;
actionLabel.append(' ');
actionLabel.append(label);
- action.setText(actionLabel.toString());
+ action.setText(actionLabel.toString());
}
-
+
/* (non-Javadoc)
* @see org.eclipse.ui.IActionDelegate#selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)
*/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/GroupBreakpointsByDialog.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/GroupBreakpointsByDialog.java
index f29ae9992..acc4754b7 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/GroupBreakpointsByDialog.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/GroupBreakpointsByDialog.java
@@ -57,24 +57,24 @@ import org.eclipse.ui.PlatformUI;
* to use and in what order they should be applied.
*/
public class GroupBreakpointsByDialog extends TrayDialog {
-
+
private BreakpointsView fView;
-
+
// Table viewer that presents available containers
private TableViewer fAvailableViewer;
private AvailableOrganizersProvider fAvailableOrganizersProvider= new AvailableOrganizersProvider();
-
+
// Tree viewer that presents selected containers
private TreeViewer fSelectedViewer;
private SelectedOrganizerProvider fSelectedOrganizersProvider= new SelectedOrganizerProvider();
-
+
private List<Object> fResult = new ArrayList<Object>();
private Button fAddButton;
private Button fRemoveButton;
private Button fMoveUpButton;
private Button fMoveDownButton;
-
+
/**
* Selection listener that listens to selection from all buttons in this
* dialog.
@@ -107,7 +107,7 @@ public class GroupBreakpointsByDialog extends TrayDialog {
@Override
protected Control createDialogArea(Composite parent) {
ILabelProvider labelProvider= new BreakpointOrganzierLabelProvider();
-
+
Composite parentComposite= (Composite) super.createDialogArea(parent);
parentComposite.setFont(parent.getFont());
Composite composite= new Composite(parentComposite, SWT.NONE);
@@ -118,13 +118,13 @@ public class GroupBreakpointsByDialog extends TrayDialog {
data.heightHint= 400;
composite.setLayoutData(data);
composite.setFont(parent.getFont());
-
+
Label label= new Label(composite, SWT.WRAP);
- label.setText(BreakpointGroupMessages.GroupBreakpointsByDialog_0);
+ label.setText(BreakpointGroupMessages.GroupBreakpointsByDialog_0);
GridData gridData = new GridData(GridData.FILL_HORIZONTAL);
gridData.horizontalSpan = 3;
label.setLayoutData(gridData);
-
+
createAvailableViewer(composite, labelProvider);
createButtons(composite);
createSelectedViewer(composite, labelProvider);
@@ -134,7 +134,7 @@ public class GroupBreakpointsByDialog extends TrayDialog {
Dialog.applyDialogFont(parentComposite);
return parentComposite;
}
-
+
/* (non-Javadoc)
* @see org.eclipse.jface.dialogs.Dialog#createContents(org.eclipse.swt.widgets.Composite)
*/
@@ -166,7 +166,7 @@ public class GroupBreakpointsByDialog extends TrayDialog {
* Creates and configured the viewer that shows the available (not currently selected)
* breakpoint container factories.
*/
- private void createAvailableViewer(Composite parent, ILabelProvider labelProvider) {
+ private void createAvailableViewer(Composite parent, ILabelProvider labelProvider) {
Composite availableComposite= new Composite(parent, SWT.NONE);
availableComposite.setFont(parent.getFont());
GridLayout layout = new GridLayout();
@@ -178,10 +178,10 @@ public class GroupBreakpointsByDialog extends TrayDialog {
availableComposite.setLayoutData(gridData);
Label label= new Label(availableComposite, SWT.WRAP);
- label.setText(BreakpointGroupMessages.GroupBreakpointsByDialog_1);
+ label.setText(BreakpointGroupMessages.GroupBreakpointsByDialog_1);
gridData = new GridData(GridData.FILL_HORIZONTAL);
label.setLayoutData(gridData);
-
+
fAvailableViewer= new TableViewer(availableComposite);
fAvailableViewer.setContentProvider(fAvailableOrganizersProvider);
fAvailableViewer.setLabelProvider(labelProvider);
@@ -218,13 +218,13 @@ public class GroupBreakpointsByDialog extends TrayDialog {
gridData.widthHint= 225;
selectedComposite.setLayoutData(gridData);
selectedComposite.setFont(parent.getFont());
-
+
Label label= new Label(selectedComposite, SWT.WRAP);
- label.setText(BreakpointGroupMessages.GroupBreakpointsByDialog_3);
+ label.setText(BreakpointGroupMessages.GroupBreakpointsByDialog_3);
gridData = new GridData();
gridData.horizontalSpan = 2;
label.setLayoutData(gridData);
-
+
fSelectedViewer= new TreeViewer(selectedComposite);
fSelectedViewer.setContentProvider(fSelectedOrganizersProvider);
fSelectedViewer.setLabelProvider(labelProvider);
@@ -245,25 +245,25 @@ public class GroupBreakpointsByDialog extends TrayDialog {
}
});
}
-
+
public void createButtons(Composite parent) {
Composite buttonComposite= new Composite(parent, SWT.NONE);
buttonComposite.setLayout(new GridLayout());
buttonComposite.setLayoutData(new GridData());
buttonComposite.setFont(parent.getFont());
-
- fAddButton= SWTFactory.createPushButton(buttonComposite, BreakpointGroupMessages.GroupBreakpointsByDialog_2, null);
+
+ fAddButton= SWTFactory.createPushButton(buttonComposite, BreakpointGroupMessages.GroupBreakpointsByDialog_2, null);
fAddButton.addSelectionListener(fSelectionListener);
-
- fRemoveButton= SWTFactory.createPushButton(buttonComposite, BreakpointGroupMessages.GroupBreakpointsByDialog_4, null);
+
+ fRemoveButton= SWTFactory.createPushButton(buttonComposite, BreakpointGroupMessages.GroupBreakpointsByDialog_4, null);
fRemoveButton.addSelectionListener(fSelectionListener);
-
- fMoveUpButton= SWTFactory.createPushButton(buttonComposite, BreakpointGroupMessages.GroupBreakpointsByDialog_5, null);
+
+ fMoveUpButton= SWTFactory.createPushButton(buttonComposite, BreakpointGroupMessages.GroupBreakpointsByDialog_5, null);
fMoveUpButton.addSelectionListener(fSelectionListener);
-
- fMoveDownButton= SWTFactory.createPushButton(buttonComposite, BreakpointGroupMessages.GroupBreakpointsByDialog_6, null);
+
+ fMoveDownButton= SWTFactory.createPushButton(buttonComposite, BreakpointGroupMessages.GroupBreakpointsByDialog_6, null);
fMoveDownButton.addSelectionListener(fSelectionListener);
-
+
}
/**
@@ -275,7 +275,7 @@ public class GroupBreakpointsByDialog extends TrayDialog {
public IBreakpointOrganizer[] getOrganizers() {
return fResult.toArray(new IBreakpointOrganizer[fResult.size()]);
}
-
+
/**
* When the user presses OK, convert the tree selection into a list.
*/
@@ -289,7 +289,7 @@ public class GroupBreakpointsByDialog extends TrayDialog {
}
super.okPressed();
}
-
+
/**
* Moves the selected item from the list of "available" factories
* to the tree of "selected" factories.
@@ -305,7 +305,7 @@ public class GroupBreakpointsByDialog extends TrayDialog {
}
updateViewers();
}
-
+
/**
* Moves the selected item from the tree of "selected" factories
* to the list of "available" factories.
@@ -321,7 +321,7 @@ public class GroupBreakpointsByDialog extends TrayDialog {
}
updateViewers();
}
-
+
/**
* Moves each selected item up in the tree of selected containers
*/
@@ -333,7 +333,7 @@ public class GroupBreakpointsByDialog extends TrayDialog {
}
updateViewers();
}
-
+
/**
* Moves each selected item down in the tree of selected containers
*/
@@ -345,7 +345,7 @@ public class GroupBreakpointsByDialog extends TrayDialog {
}
updateViewers();
}
-
+
/**
* Fully refreshes and updates all viewers and buttons.
*/
@@ -356,7 +356,7 @@ public class GroupBreakpointsByDialog extends TrayDialog {
updateAddButton();
updateSelectedButtons();
}
-
+
/**
* Updates all buttons associated with the tree of selected containers.
*/
@@ -365,17 +365,17 @@ public class GroupBreakpointsByDialog extends TrayDialog {
updateMoveUpButton();
updateMoveDownButton();
}
-
+
public void updateAddButton() {
IStructuredSelection selection = (IStructuredSelection) fAvailableViewer.getSelection();
fAddButton.setEnabled(selection.size() > 0);
}
-
+
public void updateRemoveButton() {
IStructuredSelection selection = (IStructuredSelection) fSelectedViewer.getSelection();
fRemoveButton.setEnabled(selection.size() > 0);
}
-
+
public void updateMoveUpButton() {
boolean enabled= true;
IStructuredSelection selection = (IStructuredSelection) fSelectedViewer.getSelection();
@@ -390,7 +390,7 @@ public class GroupBreakpointsByDialog extends TrayDialog {
}
fMoveUpButton.setEnabled(enabled);
}
-
+
public void updateMoveDownButton() {
boolean enabled= true;
IStructuredSelection selection = (IStructuredSelection) fSelectedViewer.getSelection();
@@ -405,24 +405,24 @@ public class GroupBreakpointsByDialog extends TrayDialog {
}
fMoveDownButton.setEnabled(enabled);
}
-
+
/**
* Content provider that provides the list of breakpoint organaisers
* that are available but not currently selected.
*/
private class AvailableOrganizersProvider implements IStructuredContentProvider {
protected List<IBreakpointOrganizer> availableOrganziers = new ArrayList<IBreakpointOrganizer>();
-
+
public void addAvailable(IBreakpointOrganizer organizer) {
availableOrganziers.add(organizer);
fSelectedOrganizersProvider.selectedOrganizers.remove(organizer);
}
-
+
@Override
public Object[] getElements(Object inputElement) {
return availableOrganziers.toArray();
}
-
+
@Override
public void dispose() {
}
@@ -430,7 +430,7 @@ public class GroupBreakpointsByDialog extends TrayDialog {
public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
}
}
-
+
/**
* Content provider that returns the selected breakpoint organizers
* as a tree. This tree shows the list of organzizers as they will
@@ -438,12 +438,12 @@ public class GroupBreakpointsByDialog extends TrayDialog {
*/
private class SelectedOrganizerProvider implements ITreeContentProvider {
protected List<Object> selectedOrganizers = new ArrayList<Object>();
-
+
public void addSelected(IBreakpointOrganizer organizer) {
selectedOrganizers.add(organizer);
fAvailableOrganizersProvider.availableOrganziers.remove(organizer);
}
-
+
public void moveUp(Object object) {
int index = selectedOrganizers.indexOf(object);
if (index > 0) {
@@ -451,7 +451,7 @@ public class GroupBreakpointsByDialog extends TrayDialog {
selectedOrganizers.add(index - 1, object);
}
}
-
+
public void moveDown(Object object) {
int index = selectedOrganizers.indexOf(object);
if (index < selectedOrganizers.size() - 1) {
@@ -496,13 +496,13 @@ public class GroupBreakpointsByDialog extends TrayDialog {
return new Object[0];
}
}
-
+
/**
* Label provider which provides text and images for breakpoint container factories
*/
private class BreakpointOrganzierLabelProvider extends LabelProvider {
private HashMap<ImageDescriptor, Image> fImageCache = new HashMap<ImageDescriptor, Image>();
-
+
@Override
public String getText(Object element) {
if (element instanceof IBreakpointOrganizer) {
@@ -535,15 +535,15 @@ public class GroupBreakpointsByDialog extends TrayDialog {
super.dispose();
}
}
-
+
/*
* (non-Javadoc)
- *
+ *
* @see org.eclipse.jface.window.Window#configureShell(org.eclipse.swt.widgets.Shell)
*/
@Override
protected void configureShell(Shell shell) {
super.configureShell(shell);
- shell.setText(BreakpointGroupMessages.GroupBreakpointsByDialog_7);
+ shell.setText(BreakpointGroupMessages.GroupBreakpointsByDialog_7);
}
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/PasteBreakpointsAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/PasteBreakpointsAction.java
index be8b4a7ba..a6ea205da 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/PasteBreakpointsAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/PasteBreakpointsAction.java
@@ -25,18 +25,18 @@ import org.eclipse.ui.PlatformUI;
* <p>
* This class may be instantiated; it is not intended to be subclassed.
* </p>
- *
+ *
* @since 2.0
*/
public class PasteBreakpointsAction extends BreakpointSelectionAction {
-
+
/**
* Creates a new action.
*
* @param view the view of this action
*/
public PasteBreakpointsAction(BreakpointsView view) {
- super(BreakpointGroupMessages.PasteBreakpointsAction_0, view);
+ super(BreakpointGroupMessages.PasteBreakpointsAction_0, view);
setToolTipText(BreakpointGroupMessages.PasteBreakpointsAction_1);
PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IDebugHelpContextIds.PASTE_BREAKPOINTS_ACTION);
}
@@ -44,7 +44,7 @@ public class PasteBreakpointsAction extends BreakpointSelectionAction {
/**
* Returns the actual target of the paste action. Returns null
* if no valid target is selected.
- *
+ *
* @return the actual target of the paste action
*/
private Object getTarget() {
@@ -70,7 +70,7 @@ public class PasteBreakpointsAction extends BreakpointSelectionAction {
/**
* Returns whether this action should be enabled based on the selection
- * in the clipboard. Only updates when the breakpoints view has focus.
+ * in the clipboard. Only updates when the breakpoints view has focus.
*/
@Override
protected boolean updateSelection(IStructuredSelection selection) {
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/RemoveFromWorkingSetAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/RemoveFromWorkingSetAction.java
index d47318f68..6a3bfa55b 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/RemoveFromWorkingSetAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/RemoveFromWorkingSetAction.java
@@ -6,7 +6,7 @@
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
- * IBM Corporation - initial API and implementation
+ * IBM Corporation - initial API and implementation
* Freescale Semiconductor - bug 287863
* Patrick Chuong (Texas Instruments) - Improve usability of the breakpoint view (Bug 238956)
*******************************************************************************/
@@ -28,19 +28,19 @@ import org.eclipse.jface.viewers.TreePath;
* Removes a breakpoint from a breakpoint working set.
*/
public class RemoveFromWorkingSetAction extends BreakpointSelectionAction {
-
+
private BreakpointSetElement[] fBreakpoints;
/**
* Constructs action to remove breakpoints from a category.
- *
+ *
* @param view
*/
public RemoveFromWorkingSetAction(BreakpointsView view) {
- super(BreakpointGroupMessages.RemoveFromWorkingSetAction_0, view);
+ super(BreakpointGroupMessages.RemoveFromWorkingSetAction_0, view);
}
-
+
/* (non-Javadoc)
* @see org.eclipse.jface.action.IAction#run()
*/
@@ -52,19 +52,19 @@ public class RemoveFromWorkingSetAction extends BreakpointSelectionAction {
}
}
}
-
+
protected static class BreakpointSetElement {
- BreakpointSetElement(IBreakpoint b, IBreakpointContainer c) { breakpoint = b; container = c; }
+ BreakpointSetElement(IBreakpoint b, IBreakpointContainer c) { breakpoint = b; container = c; }
IBreakpoint breakpoint;
IBreakpointContainer container;
}
-
+
/**
* Returns a array of breakpoint/container pairs for the selection
- *
+ *
* All the returned elements contain a breakpoint and a working set container the breakpoint is contained and the breakpoint
* can be removed from.
- *
+ *
* @param selection
* @return
*/
@@ -75,19 +75,19 @@ public class RemoveFromWorkingSetAction extends BreakpointSelectionAction {
TreePath[] paths = tSel.getPaths();
for (int i = 0; i < paths.length; i++) {
- TreePath path = paths[i];
-
+ TreePath path = paths[i];
+
// We can remove Breakpoints from their working set if any of their parents is a non "Other" breakpoint working set
- IBreakpoint breakpoint = (IBreakpoint)DebugPlugin.getAdapter(path.getLastSegment(), IBreakpoint.class);
+ IBreakpoint breakpoint = (IBreakpoint)DebugPlugin.getAdapter(path.getLastSegment(), IBreakpoint.class);
if (breakpoint != null) {
TreePath parents = path.getParentPath();
-
+
for (int j = 0; j < parents.getSegmentCount(); j++) {
Object parent = parents.getSegment(j);
-
+
if (parent instanceof IBreakpointContainer) {
IBreakpointContainer container = (IBreakpointContainer)parent;
-
+
// Test if this is a working set container.
if (container.getCategory() instanceof WorkingSetCategory) {
// Test if this container allows to remove this breakpoint.
@@ -102,7 +102,7 @@ public class RemoveFromWorkingSetAction extends BreakpointSelectionAction {
}
return res.toArray(new BreakpointSetElement[res.size()]);
}
-
+
/* (non-Javadoc)
* @see org.eclipse.jface.action.Action#isEnabled()
*/
@@ -113,7 +113,7 @@ public class RemoveFromWorkingSetAction extends BreakpointSelectionAction {
}
return false;
}
-
+
/* (non-Javadoc)
* @see org.eclipse.ui.actions.BaseSelectionListenerAction#updateSelection(org.eclipse.jface.viewers.IStructuredSelection)
*/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/SelectBreakpointWorkingsetDialog.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/SelectBreakpointWorkingsetDialog.java
index 8f34d4dc9..6680193d7 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/SelectBreakpointWorkingsetDialog.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/SelectBreakpointWorkingsetDialog.java
@@ -28,14 +28,14 @@ import org.eclipse.ui.PlatformUI;
/**
* Dialog to allow the selection of working sets without all of the overhead of the
* platform UI working set dialog
- *
+ *
* @since 3.3
*/
public class SelectBreakpointWorkingsetDialog extends AbstractDebugCheckboxSelectionDialog {
-
+
private static final String SETTINGS_ID = DebugUIPlugin.getUniqueIdentifier() + ".DELETE_ASSOCIATED_CONFIGS_DIALOG"; //$NON-NLS-1$
private IWorkingSet[] fWorkingSetList = null;
-
+
/**
* Constructor
* @param parentShell the parent to open this dialog on
@@ -44,7 +44,7 @@ public class SelectBreakpointWorkingsetDialog extends AbstractDebugCheckboxSelec
super(parentShell);
fWorkingSetList = getBreakpointWorkingSets();
}
-
+
/* (non-Javadoc)
* @see org.eclipse.debug.internal.ui.launchConfigurations.AbstractDebugCheckboxSelectionDialog#addViewerListeners(org.eclipse.jface.viewers.StructuredViewer)
*/
@@ -61,7 +61,7 @@ public class SelectBreakpointWorkingsetDialog extends AbstractDebugCheckboxSelec
});
}
}
-
+
/**
* Returns the current listing of breakpoint <code>IWorkingSet</code>s
* @return an array of the current breakpoint <code>IWorkingSet</code>s
@@ -76,7 +76,7 @@ public class SelectBreakpointWorkingsetDialog extends AbstractDebugCheckboxSelec
}
return list.toArray(new IWorkingSet[list.size()]);
}
-
+
/* (non-Javadoc)
* @see org.eclipse.debug.internal.ui.launchConfigurations.AbstractDebugSelectionDialog#getViewerInput()
*/
@@ -84,7 +84,7 @@ public class SelectBreakpointWorkingsetDialog extends AbstractDebugCheckboxSelec
protected Object getViewerInput() {
return fWorkingSetList;
}
-
+
/* (non-Javadoc)
* @see org.eclipse.debug.internal.ui.launchConfigurations.AbstractDebugSelectionDialog#getDialogSettingsId()
*/
@@ -108,5 +108,5 @@ public class SelectBreakpointWorkingsetDialog extends AbstractDebugCheckboxSelec
protected String getViewerLabel() {
return BreakpointGroupMessages.SelectBreakpointWorkingsetDialog_0;
}
-
+
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/SetDefaultBreakpointGroupAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/SetDefaultBreakpointGroupAction.java
index a1d7400eb..8b588fb98 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/SetDefaultBreakpointGroupAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/SetDefaultBreakpointGroupAction.java
@@ -21,7 +21,7 @@ import org.eclipse.ui.IWorkingSet;
* Action which prompts the user to set a default breakpoint group.
*/
public class SetDefaultBreakpointGroupAction extends AbstractBreakpointsViewAction {
-
+
/* (non-Javadoc)
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
*/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/ToggleDefaultGroupAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/ToggleDefaultGroupAction.java
index ab11a7580..e7c599ed2 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/ToggleDefaultGroupAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/ToggleDefaultGroupAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial implementation
*******************************************************************************/
@@ -23,9 +23,9 @@ import org.eclipse.ui.IWorkingSet;
* Toggles the default breakpoint group based on selection.
*/
public class ToggleDefaultGroupAction extends AbstractBreakpointsViewAction {
-
+
private IWorkingSet fSelectedSet;
-
+
/* (non-Javadoc)
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
*/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/WorkingSetsAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/WorkingSetsAction.java
index e9f1b2524..7682ce9aa 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/WorkingSetsAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointGroups/WorkingSetsAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial implementation
*******************************************************************************/
@@ -20,15 +20,15 @@ import org.eclipse.ui.dialogs.IWorkingSetSelectionDialog;
* Allows the user to manage working sets.
*/
public class WorkingSetsAction extends AbstractBreakpointsViewAction {
-
+
/* (non-Javadoc)
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
*/
@Override
public void run(IAction action) {
IWorkingSetSelectionDialog selectionDialog = PlatformUI.getWorkbench().getWorkingSetManager().createWorkingSetSelectionDialog(
- DebugUIPlugin.getShell(),
- false,
+ DebugUIPlugin.getShell(),
+ false,
new String[] {IDebugUIConstants.BREAKPOINT_WORKINGSET_ID});
selectionDialog.open();
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointSortBy/SortBreakpointsAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointSortBy/SortBreakpointsAction.java
index 1320f3291..e41d523fd 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointSortBy/SortBreakpointsAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointSortBy/SortBreakpointsAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial implementation
*******************************************************************************/
@@ -30,7 +30,7 @@ public class SortBreakpointsAction extends Action {
/**
* Creates a new action which will sort breakpoints in the given breakpoint
* view using the given breakpoint container factory
- *
+ *
* @param factory the factory that will be applied to the given view when
* this action is run
* @param view the breakpoints view
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointSortBy/SortBreakpointsByAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointSortBy/SortBreakpointsByAction.java
index 6e80676cb..c3628a179 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointSortBy/SortBreakpointsByAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpointSortBy/SortBreakpointsByAction.java
@@ -24,15 +24,15 @@ import org.eclipse.swt.widgets.Menu;
import org.eclipse.swt.widgets.MenuItem;
/**
- *
+ *
*/
public class SortBreakpointsByAction extends AbstractBreakpointsViewAction implements IMenuCreator {
private IAction fAction= null;
-
+
public SortBreakpointsByAction() {
}
-
+
/* (non-Javadoc)
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
*/
@@ -72,7 +72,7 @@ public class SortBreakpointsByAction extends AbstractBreakpointsViewAction imple
}
fillMenu(m);
}
- });
+ });
return menu;
}
@@ -80,7 +80,7 @@ public class SortBreakpointsByAction extends AbstractBreakpointsViewAction imple
* Fill pull down menu with the "group by" options
*/
private void fillMenu(Menu menu) {
-
+
// Add hard-coded sorting order by Name
IAction action = new SortBreakpointsAction(fView, Messages.GroupBreakpointsSortByAction_Name, IInternalDebugUIConstants.BREAKPOINT_SORTING_ORDER_NAME);
ActionContributionItem item = new ActionContributionItem(action);
@@ -93,7 +93,7 @@ public class SortBreakpointsByAction extends AbstractBreakpointsViewAction imple
}
-
+
/* (non-Javadoc)
* @see org.eclipse.ui.IActionDelegate#selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)
*/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/AccessWatchpointToggleAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/AccessWatchpointToggleAction.java
index eaf4a3efc..402fe60f8 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/AccessWatchpointToggleAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/AccessWatchpointToggleAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/BreakpointsCollapseAllAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/BreakpointsCollapseAllAction.java
index 557f84eff..e0849a7b9 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/BreakpointsCollapseAllAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/BreakpointsCollapseAllAction.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Patrick Chuong (Texas Instruments) - Improve usability of the breakpoint view (Bug 238956)
@@ -30,12 +30,12 @@ import org.eclipse.ui.IViewPart;
import org.eclipse.ui.handlers.CollapseAllHandler;
/**
- *
+ *
*/
public class BreakpointsCollapseAllAction implements IViewActionDelegate, IActionDelegate2, IViewerUpdateListener, IModelChangedListener {
-
+
private AbstractDebugView fView;
-
+
private IAction fAction;
/* (non-Javadoc)
@@ -48,7 +48,7 @@ public class BreakpointsCollapseAllAction implements IViewActionDelegate, IActio
if (viewer != null) {
viewer.addViewerUpdateListener(this);
viewer.addModelChangedListener(this);
- }
+ }
}
/* (non-Javadoc)
@@ -106,25 +106,25 @@ public class BreakpointsCollapseAllAction implements IViewActionDelegate, IActio
@Override
public void updateStarted(IViewerUpdate update) {
}
-
+
@Override
public void updateComplete(IViewerUpdate update) {
if (!update.isCanceled()) {
if (TreePath.EMPTY.equals(update.getElementPath())) {
update();
}
- }
+ }
}
-
+
private void update() {
IInternalTreeModelViewer viewer = (IInternalTreeModelViewer)fView.getViewer();
if (viewer != null && fAction != null) {
fAction.setEnabled(viewer.getInput() != null && viewer.getChildCount(TreePath.EMPTY) > 0);
}
}
-
+
@Override
public void modelChanged(IModelDelta delta, IModelProxy proxy) {
update();
- }
+ }
}
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/BreakpointsExpandAllAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/BreakpointsExpandAllAction.java
index ed7834a04..9094d598b 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/BreakpointsExpandAllAction.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/BreakpointsExpandAllAction.java
@@ -30,8 +30,8 @@ import org.eclipse.ui.IViewPart;
/**
* Action which fully expands the tree in the breakpoints view.
*/
-public class BreakpointsExpandAllAction implements IViewActionDelegate, IActionDelegate2, IViewerUpdateListener, IModelChangedListener {
-
+public class BreakpointsExpandAllAction implements IViewActionDelegate, IActionDelegate2, IViewerUpdateListener, IModelChangedListener {
+
private IAction fAction;
private BreakpointsView fView;
@@ -55,7 +55,7 @@ public class BreakpointsExpandAllAction implements IViewActionDelegate, IActionD
@Override
public void runWithEvent(IAction action, Event event) {
- run(action);
+ run(action);
}
/* (non-Javadoc)
@@ -94,23 +94,23 @@ public class BreakpointsExpandAllAction implements IViewActionDelegate, IActionD
@Override
public void updateStarted(IViewerUpdate update) {
}
-
+
@Override
public void updateComplete(IViewerUpdate update) {
if (!update.isCanceled()) {
if (TreePath.EMPTY.equals(update.getElementPath())) {
update();
}
- }
+ }
}
-
+
private void update() {
IInternalTreeModelViewer viewer = (IInternalTreeModelViewer)fView.getViewer();
if (viewer != null && fAction != null) {
fAction.setEnabled(viewer.getInput() != null && viewer.getChildCount(TreePath.EMPTY) > 0);
}
}
-
+
@Override
public void modelChanged(IModelDelta delta, IModelProxy proxy) {
update();
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/DeleteWorkingsetsMessageDialog.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/DeleteWorkingsetsMessageDialog.java
index 8ba1149f9..2d1c5cef5 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/DeleteWorkingsetsMessageDialog.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/breakpoints/DeleteWorkingsetsMessageDialog.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -33,32 +33,32 @@ import org.eclipse.swt.widgets.Shell;
public class DeleteWorkingsetsMessageDialog extends MessageDialog {
/**
- * to determine if we should delete the working set as well
+ * to determine if we should delete the working set as well
*/
private boolean fDeleteWorkingsets = false;
-
+
/**
* to determine if we should delete all the breakpoints in the set.
- * to maintain backward compatibility this is by default true
+ * to maintain backward compatibility this is by default true
*/
private boolean fDeleteBreakpoints = true;
-
+
//widgets
private Button fDeleteWS;
private Button fDeleteBPS;
-
+
// dialog settings
private final static String DIALOG_SETTINGS = "DeleteBreakpointsDialogSettings"; //$NON-NLS-1$
private static final String DELETE_BREAKPOINTS = "DeleteBreakpoints"; //$NON-NLS-1$
private static final String DELETE_WORKINGSETS = "DeleteWorkingSets"; //$NON-NLS-1$
-
+
public DeleteWorkingsetsMessageDialog(Shell parentShell, String dialogTitle, Image dialogTitleImage, String dialogMessage, int dialogImageType, String[] dialogButtonLabels, int defaultIndex) {
super(parentShell, dialogTitle, dialogTitleImage, dialogMessage, dialogImageType, dialogButtonLabels, defaultIndex);
IDialogSettings section = getDialogSettings();
fDeleteBreakpoints = section.getBoolean(DELETE_BREAKPOINTS);
fDeleteWorkingsets = section.getBoolean(DELETE_WORKINGSETS);
}
-
+
/* (non-Javadoc)
* @see org.eclipse.jface.dialogs.MessageDialog#createCustomArea(org.eclipse.swt.widgets.Composite)
*/
@@ -78,7 +78,7 @@ public class DeleteWorkingsetsMessageDialog extends MessageDialog {
getButton(0).setEnabled(fDeleteWS.getSelection() || fDeleteBPS.getSelection());
}
});
-
+
fDeleteBPS = new Button(comp, SWT.CHECK);
fDeleteBPS.setText(ActionMessages.DeleteWorkingsetsMessageDialog_1);
fDeleteBPS.setFont(font);
@@ -90,12 +90,12 @@ public class DeleteWorkingsetsMessageDialog extends MessageDialog {
getButton(0).setEnabled(fDeleteWS.getSelection() || fDeleteBPS.getSelection());
}
});
-
+
fDeleteWS.setSelection(fDeleteWorkingsets);
fDeleteBPS.setSelection(fDeleteBreakpoints);
return comp;
}
-
+
/* (non-Javadoc)
* @see org.eclipse.jface.dialogs.MessageDialog#buttonPressed(int)
*/