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 86829 Details for
Bug 173752
[About] Sorting column with Jar signing info in about plugins dialog not working
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]
Sort after signed state resolved
173752_patch.txt (text/plain), 4.04 KB, created by
Markus Keller
on 2008-01-14 10:20:31 EST
(
hide
)
Description:
Sort after signed state resolved
Filename:
MIME Type:
Creator:
Markus Keller
Created:
2008-01-14 10:20:31 EST
Size:
4.04 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ui.workbench >Index: Eclipse UI/org/eclipse/ui/internal/dialogs/AboutPluginsDialog.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/AboutPluginsDialog.java,v >retrieving revision 1.36 >diff -u -r1.36 AboutPluginsDialog.java >--- Eclipse UI/org/eclipse/ui/internal/dialogs/AboutPluginsDialog.java 17 Dec 2007 19:18:08 -0000 1.36 >+++ Eclipse UI/org/eclipse/ui/internal/dialogs/AboutPluginsDialog.java 14 Jan 2008 15:14:19 -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 >@@ -23,9 +23,23 @@ > import org.eclipse.core.runtime.Path; > import org.eclipse.core.runtime.Platform; > import org.eclipse.core.runtime.Status; >+import org.eclipse.core.runtime.jobs.ISchedulingRule; > import org.eclipse.core.runtime.jobs.Job; >+ >+import org.eclipse.swt.SWT; >+import org.eclipse.swt.events.SelectionAdapter; >+import org.eclipse.swt.events.SelectionEvent; >+import org.eclipse.swt.graphics.Image; >+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.Control; >+import org.eclipse.swt.widgets.Label; >+import org.eclipse.swt.widgets.Shell; >+import org.eclipse.swt.widgets.TableColumn; >+ > import org.eclipse.jface.dialogs.DialogTray; >-import org.eclipse.core.runtime.jobs.ISchedulingRule; > import org.eclipse.jface.dialogs.IDialogConstants; > import org.eclipse.jface.viewers.ArrayContentProvider; > import org.eclipse.jface.viewers.IBaseLabelProvider; >@@ -38,19 +52,7 @@ > import org.eclipse.jface.viewers.TableViewer; > import org.eclipse.jface.viewers.Viewer; > import org.eclipse.jface.viewers.ViewerComparator; >-import org.eclipse.osgi.util.NLS; >-import org.eclipse.swt.SWT; >-import org.eclipse.swt.events.SelectionAdapter; >-import org.eclipse.swt.events.SelectionEvent; >-import org.eclipse.swt.graphics.Image; >-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.Control; >-import org.eclipse.swt.widgets.Label; >-import org.eclipse.swt.widgets.Shell; >-import org.eclipse.swt.widgets.TableColumn; >+ > import org.eclipse.ui.PlatformUI; > import org.eclipse.ui.internal.IWorkbenchGraphicConstants; > import org.eclipse.ui.internal.IWorkbenchHelpContextIds; >@@ -60,7 +62,10 @@ > import org.eclipse.ui.internal.about.AboutBundleData; > import org.eclipse.ui.internal.misc.StatusUtil; > import org.eclipse.ui.internal.util.BundleUtility; >+import org.eclipse.ui.progress.UIJob; > import org.eclipse.ui.statushandlers.StatusManager; >+ >+import org.eclipse.osgi.util.NLS; > import org.osgi.framework.Bundle; > > /** >@@ -86,6 +91,23 @@ > return rule == this; > }}; > >+ private Job sortingJob= new UIJob(getShell().getDisplay(), AboutPluginsDialog.class.getName()) { >+ { >+ setRule(resolveRule); >+ setSystem(true); >+ setPriority(Job.DECORATE); >+ } >+ >+ /* (non-Javadoc) >+ * @see org.eclipse.ui.progress.UIJob#runInUIThread(org.eclipse.core.runtime.IProgressMonitor) >+ */ >+ public IStatus runInUIThread(IProgressMonitor monitor) { >+ fireLabelProviderChanged(new LabelProviderChangedEvent( >+ BundleTableLabelProvider.this)); >+ return Status.OK_STATUS; >+ } >+ }; >+ > /* (non-Javadoc) > * @see org.eclipse.jface.viewers.ITableLabelProvider#getColumnImage(java.lang.Object, int) > */ >@@ -115,6 +137,7 @@ > } > }); > >+ sortingJob.schedule(); > > return Status.OK_STATUS; > }
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 173752
:
69545
|
86519
| 86829