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 89582 Details for
Bug 201572
[Manifest][Editors] Package Friends are not selected after addition
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
org.eclipse.pde.ui.patch
clipboard.txt (text/plain), 2.82 KB, created by
Chris Aniszczyk
on 2008-02-12 20:34:46 EST
(
hide
)
Description:
org.eclipse.pde.ui.patch
Filename:
MIME Type:
Creator:
Chris Aniszczyk
Created:
2008-02-12 20:34:46 EST
Size:
2.82 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.pde.ui >Index: src/org/eclipse/pde/internal/ui/editor/plugin/ExportPackageVisibilitySection.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/plugin/ExportPackageVisibilitySection.java,v >retrieving revision 1.25 >diff -u -r1.25 ExportPackageVisibilitySection.java >--- src/org/eclipse/pde/internal/ui/editor/plugin/ExportPackageVisibilitySection.java 16 Jan 2008 17:07:49 -0000 1.25 >+++ src/org/eclipse/pde/internal/ui/editor/plugin/ExportPackageVisibilitySection.java 13 Feb 2008 01:34:09 -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 >@@ -7,6 +7,7 @@ > * > * Contributors: > * IBM Corporation - initial API and implementation >+ * Benjamin Cabe <benjamin.cabe@anyware-tech.com> - bug 201572 > *******************************************************************************/ > package org.eclipse.pde.internal.ui.editor.plugin; > >@@ -296,6 +297,14 @@ > refresh(); > return; > } >+ >+ if (event.getChangeType() == IModelChangedEvent.INSERT && event.getChangedObjects()[0] instanceof PackageFriend) { >+ fFriendViewer.refresh(); >+ fFriendViewer.setSelection(new StructuredSelection(event.getChangedObjects()[0]), true); >+ fFriendViewer.getControl().setFocus(); >+ return; >+ } >+ > int index = fFriendViewer.getTable().getSelectionIndex(); > fFriendViewer.refresh(); > fFriendViewer.getTable().setSelection(Math.min(index, fFriendViewer.getTable().getItemCount() - 1)); >Index: src/org/eclipse/pde/internal/ui/editor/plugin/ExportPackageSection.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/plugin/ExportPackageSection.java,v >retrieving revision 1.43 >diff -u -r1.43 ExportPackageSection.java >--- src/org/eclipse/pde/internal/ui/editor/plugin/ExportPackageSection.java 16 Jan 2008 17:07:45 -0000 1.43 >+++ src/org/eclipse/pde/internal/ui/editor/plugin/ExportPackageSection.java 13 Feb 2008 01:34:09 -0000 >@@ -535,7 +535,7 @@ > switch (event.getChangeType()) { > case IModelChangedEvent.INSERT : > fPackageViewer.add(object); >- fPackageViewer.setSelection(new StructuredSelection(object)); >+ fPackageViewer.setSelection(new StructuredSelection(object), false); > fPackageViewer.getTable().setFocus(); > break; > case IModelChangedEvent.REMOVE :
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 201572
:
89528
|
89529
|
89543
|
89544
| 89582 |
89583