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 99787 Details for
Bug 231632
[ui] - available IU group should not try to load disabled repos
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]
patch to add event handling
bug231632.patch (text/plain), 1.68 KB, created by
Susan McCourt
on 2008-05-12 15:09:22 EDT
(
hide
)
Description:
patch to add event handling
Filename:
MIME Type:
Creator:
Susan McCourt
Created:
2008-05-12 15:09:22 EDT
Size:
1.68 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.equinox.p2.ui >Index: src/org/eclipse/equinox/internal/provisional/p2/ui/dialogs/AvailableIUGroup.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.equinox/p2/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/provisional/p2/ui/dialogs/AvailableIUGroup.java,v >retrieving revision 1.16 >diff -u -r1.16 AvailableIUGroup.java >--- src/org/eclipse/equinox/internal/provisional/p2/ui/dialogs/AvailableIUGroup.java 8 May 2008 22:19:28 -0000 1.16 >+++ src/org/eclipse/equinox/internal/provisional/p2/ui/dialogs/AvailableIUGroup.java 12 May 2008 19:07:58 -0000 >@@ -155,7 +155,6 @@ > private boolean useCheckboxes = false; > private IUDetailsLabelProvider labelProvider; > private Display display; >- boolean ignoreEvent = false; > DeferredFetchFilteredTree filteredTree; > IUColumnConfig[] columnConfig; > private int refreshRepoFlags = IMetadataRepositoryManager.REPOSITORIES_NON_SYSTEM; >@@ -267,16 +266,11 @@ > > final StructuredViewerProvisioningListener listener = new StructuredViewerProvisioningListener(availableIUViewer, StructuredViewerProvisioningListener.PROV_EVENT_METADATA_REPOSITORY, getQueryProvider()) { > protected void repositoryAdded(final RepositoryEvent event) { >- if (ignoreEvent) { >- ignoreEvent = false; >+ // Ignore disabled repositories >+ if (!event.isRepositoryEnabled()) > return; >- } > makeRepositoryVisible(event.getRepositoryLocation()); > } >- >- protected void repositoryDiscovered(RepositoryEvent event) { >- ignoreEvent = true; >- } > }; > ProvUIActivator.getDefault().addProvisioningListener(listener); >
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 231632
: 99787