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 77020 Details for
Bug 187646
[Target][Editors] Content page - Cannot Cntrl-A to select all, get rid of "Remove All"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
ctrl+A for content page
patch_pde_187646.txt (text/plain), 1.64 KB, created by
bartosz michalik
on 2007-08-27 05:56:07 EDT
(
hide
)
Description:
ctrl+A for content page
Filename:
MIME Type:
Creator:
bartosz michalik
Created:
2007-08-27 05:56:07 EDT
Size:
1.64 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.pde.ui >Index: src/org/eclipse/pde/internal/ui/editor/target/ContentSection.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/target/ContentSection.java,v >retrieving revision 1.19 >diff -u -r1.19 ContentSection.java >--- src/org/eclipse/pde/internal/ui/editor/target/ContentSection.java 23 May 2007 18:41:01 -0000 1.19 >+++ src/org/eclipse/pde/internal/ui/editor/target/ContentSection.java 27 Aug 2007 09:53:46 -0000 >@@ -74,6 +74,7 @@ > import org.eclipse.swt.widgets.Composite; > import org.eclipse.swt.widgets.Table; > import org.eclipse.swt.widgets.TableItem; >+import org.eclipse.ui.IActionBars; > import org.eclipse.ui.IEditorInput; > import org.eclipse.ui.IFileEditorInput; > import org.eclipse.ui.IWorkingSet; >@@ -123,6 +124,8 @@ > > public ContentSection(PDEFormPage page, Composite parent) { > super(page, parent, Section.DESCRIPTION, BUTTONS); >+ IActionBars actionBars = page.getEditorSite().getActionBars(); >+ actionBars.setGlobalActionHandler(ActionFactory.SELECT_ALL.getId(), new SelectAllAction(fContentViewer)); > } > > /* (non-Javadoc) >@@ -676,3 +679,21 @@ > > protected boolean createCount() { return true; } > } >+ >+ >+class SelectAllAction extends Action{ >+ >+ private TableViewer viewer; >+ >+ public SelectAllAction(TableViewer viewer) { >+ super("selectAll"); >+ this.viewer = viewer; >+ } >+ >+ public void run() { >+ viewer.getTable().selectAll(); >+ // force viewer selection change >+ viewer.setSelection(viewer.getSelection()); >+ } >+ >+} >\ No newline at end of file
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 187646
:
77020
|
77038
|
77047
|
77049