Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 20740 Details for
Bug 93686
Provide select all / deselect all buttons for BreakpointWorkingSetPage
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Updated BreakpointWorkingSetPage patch to ensure that the buttons size is set correctly.
BreakpointWorkingSetPage-java-patch.txt (text/plain), 2.90 KB, created by
Troy Bishop
on 2005-05-05 10:37:06 EDT
(
hide
)
Description:
Updated BreakpointWorkingSetPage patch to ensure that the buttons size is set correctly.
Filename:
MIME Type:
Creator:
Troy Bishop
Created:
2005-05-05 10:37:06 EDT
Size:
2.90 KB
patch
obsolete
>Index: BreakpointWorkingSetPage.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointWorkingSetPage.java,v >retrieving revision 1.5 >diff -u -r1.5 BreakpointWorkingSetPage.java >--- BreakpointWorkingSetPage.java 7 Apr 2005 16:23:48 -0000 1.5 >+++ BreakpointWorkingSetPage.java 5 May 2005 14:33:20 -0000 >@@ -19,6 +19,7 @@ > import org.eclipse.debug.core.model.IBreakpoint; > import org.eclipse.debug.internal.ui.DebugPluginImages; > import org.eclipse.debug.internal.ui.DebugUIPlugin; >+import org.eclipse.debug.internal.ui.SWTUtil; > import org.eclipse.debug.internal.ui.views.DebugUIViewsMessages; > import org.eclipse.debug.ui.DebugUITools; > import org.eclipse.debug.ui.IDebugUIConstants; >@@ -37,8 +38,11 @@ > import org.eclipse.swt.custom.BusyIndicator; > import org.eclipse.swt.events.ModifyEvent; > import org.eclipse.swt.events.ModifyListener; >+import org.eclipse.swt.events.SelectionAdapter; >+import org.eclipse.swt.events.SelectionEvent; > import org.eclipse.swt.layout.GridData; > import org.eclipse.swt.layout.GridLayout; >+import org.eclipse.swt.widgets.Button; > import org.eclipse.swt.widgets.Composite; > import org.eclipse.swt.widgets.Label; > import org.eclipse.swt.widgets.Text; >@@ -169,6 +173,35 @@ > validateInput(); > } > }); >+ >+ // Add select / deselect all buttons for bug 46669 >+ Composite buttonComposite = new Composite(composite, SWT.NONE); >+ buttonComposite.setLayout(new GridLayout(2, false)); >+ buttonComposite.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL)); >+ >+ Button selectAllButton = new Button(buttonComposite, SWT.PUSH); >+ selectAllButton.setText(DebugUIViewsMessages.BreakpointWorkingSetPage_selectAll_label); >+ selectAllButton.setToolTipText(DebugUIViewsMessages.BreakpointWorkingSetPage_selectAll_toolTip); >+ selectAllButton.addSelectionListener(new SelectionAdapter() { >+ public void widgetSelected(SelectionEvent selectionEvent) { >+ fTree.setCheckedElements(fTreeContentProvider.getElements(fTree.getInput())); >+ validateInput(); >+ } >+ }); >+ selectAllButton.setLayoutData(new GridData()); >+ SWTUtil.setButtonDimensionHint(selectAllButton); >+ >+ Button deselectAllButton = new Button(buttonComposite, SWT.PUSH); >+ deselectAllButton.setText(DebugUIViewsMessages.BreakpointWorkingSetPage_deselectAll_label); >+ deselectAllButton.setToolTipText(DebugUIViewsMessages.BreakpointWorkingSetPage_deselectAll_toolTip); >+ deselectAllButton.addSelectionListener(new SelectionAdapter() { >+ public void widgetSelected(SelectionEvent selectionEvent) { >+ fTree.setCheckedElements(new Object[0]); >+ validateInput(); >+ } >+ }); >+ deselectAllButton.setLayoutData(new GridData()); >+ SWTUtil.setButtonDimensionHint(deselectAllButton); > > if (fWorkingSet != null) > fWorkingSetName.setText(fWorkingSet.getName());
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 93686
:
20694
|
20695
|
20696
| 20740