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 213301 Details for
Bug 375099
Automatically refresh the Builds view upon user initiated activation or bringing to foreground
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
updated to respect the refresh auto pref
375099.patch (text/plain), 1.49 KB, created by
Lucas Panjer
on 2012-03-28 12:48:06 EDT
(
hide
)
Description:
updated to respect the refresh auto pref
Filename:
MIME Type:
Creator:
Lucas Panjer
Created:
2012-03-28 12:48:06 EDT
Size:
1.49 KB
patch
obsolete
>diff --git a/org.eclipse.mylyn.builds.ui/src/org/eclipse/mylyn/internal/builds/ui/view/BuildsView.java b/org.eclipse.mylyn.builds.ui/src/org/eclipse/mylyn/internal/builds/ui/view/BuildsView.java >index 90c9a96..cb89b25 100644 >--- a/org.eclipse.mylyn.builds.ui/src/org/eclipse/mylyn/internal/builds/ui/view/BuildsView.java >+++ b/org.eclipse.mylyn.builds.ui/src/org/eclipse/mylyn/internal/builds/ui/view/BuildsView.java >@@ -46,9 +46,11 @@ > import org.eclipse.mylyn.builds.core.IBuildPlan; > import org.eclipse.mylyn.builds.core.IBuildServer; > import org.eclipse.mylyn.builds.internal.core.BuildModel; >+import org.eclipse.mylyn.builds.internal.core.operations.RefreshOperation; > import org.eclipse.mylyn.builds.internal.core.util.BuildsConstants; > import org.eclipse.mylyn.builds.ui.BuildsUiConstants; > import org.eclipse.mylyn.commons.core.CoreUtil; >+import org.eclipse.mylyn.commons.core.operations.IOperationMonitor.OperationFlag; > import org.eclipse.mylyn.commons.ui.AbstractColumnViewerSupport; > import org.eclipse.mylyn.commons.ui.CommonImages; > import org.eclipse.mylyn.commons.ui.TreeSorter; >@@ -580,6 +582,11 @@ > @Override > public void setFocus() { > getViewer().getControl().setFocus(); >+ if (BuildsUiPlugin.getDefault().getPreferenceStore().getBoolean(BuildsUiInternal.PREF_AUTO_REFRESH_ENABLED)) { >+ RefreshOperation operation = BuildsUiInternal.getFactory().getRefreshOperation(); >+ operation.addFlag(OperationFlag.BACKGROUND); >+ operation.execute(); >+ } > } > > private void setTopControl(Control control) {
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 375099
:
213264
|
213265
|
213266
| 213301 |
213723