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 103925 Details for
Bug 232766
The 'Specify Repository Information' dialog is not accessible
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
F2 activates the cell editor for alternate repositories
clipboard.txt (text/plain), 2.42 KB, created by
Tomasz Zarna
on 2008-06-06 07:18:29 EDT
(
hide
)
Description:
F2 activates the cell editor for alternate repositories
Filename:
MIME Type:
Creator:
Tomasz Zarna
Created:
2008-06-06 07:18:29 EDT
Size:
2.42 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.team.cvs.ui >Index: src/org/eclipse/team/internal/ccvs/ui/ConfigureRepositoryLocationsTable.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/ConfigureRepositoryLocationsTable.java,v >retrieving revision 1.5 >diff -u -r1.5 ConfigureRepositoryLocationsTable.java >--- src/org/eclipse/team/internal/ccvs/ui/ConfigureRepositoryLocationsTable.java 3 Jun 2008 13:35:44 -0000 1.5 >+++ src/org/eclipse/team/internal/ccvs/ui/ConfigureRepositoryLocationsTable.java 6 Jun 2008 11:08:43 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2000, 2007 IBM Corporation and others. >+ * Copyright (c) 2000, 2008 IBM Corporation and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -16,7 +16,6 @@ > > import org.eclipse.jface.viewers.*; > import org.eclipse.swt.SWT; >-import org.eclipse.swt.custom.TableEditor; > import org.eclipse.swt.events.ControlAdapter; > import org.eclipse.swt.events.ControlEvent; > import org.eclipse.swt.graphics.*; >@@ -186,11 +185,23 @@ > fTableViewer.setContentProvider(this); > fTableViewer.setLabelProvider(this); > fTableViewer.setComparator(new AlternativeRepositoryComparator()); >- >+ > /** > * Add a cell editor in the 'Alternative repository locations' column > */ >- new TableEditor(table); >+ TableViewerFocusCellManager focusCellManager = new TableViewerFocusCellManager( >+ fTableViewer, new FocusCellOwnerDrawHighlighter(fTableViewer)); >+ ColumnViewerEditorActivationStrategy editorActivationStrategy = new ColumnViewerEditorActivationStrategy( >+ fTableViewer) { >+ protected boolean isEditorActivationEvent( >+ ColumnViewerEditorActivationEvent event) { >+ return event.eventType == ColumnViewerEditorActivationEvent.MOUSE_DOUBLE_CLICK_SELECTION >+ || (event.eventType == ColumnViewerEditorActivationEvent.KEY_PRESSED && event.keyCode == SWT.F2); >+ } >+ }; >+ TableViewerEditor.create(fTableViewer, focusCellManager, >+ editorActivationStrategy, ColumnViewerEditor.DEFAULT >+ | ColumnViewerEditor.KEYBOARD_ACTIVATION); > > cellEditors = new CellEditor[2]; > cellEditors[0] = null;
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 232766
:
100888
|
103104
|
103925
|
103926
|
129057