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 72100 Details for
Bug 166406
Improve query tooltip layout
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]
more tooltip tweaks
clipboard.txt (text/plain), 2.83 KB, created by
Steffen Pingel
on 2007-06-21 18:55:35 EDT
(
hide
)
Description:
more tooltip tweaks
Filename:
MIME Type:
Creator:
Steffen Pingel
Created:
2007-06-21 18:55:35 EDT
Size:
2.83 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.mylyn.tasks.ui >Index: src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListToolTipHandler.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListToolTipHandler.java,v >retrieving revision 1.42 >diff -u -r1.42 TaskListToolTipHandler.java >--- src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListToolTipHandler.java 21 Jun 2007 00:34:58 -0000 1.42 >+++ src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListToolTipHandler.java 21 Jun 2007 22:45:58 -0000 >@@ -85,8 +85,21 @@ > > private String getTitleText(AbstractTaskContainer element) { > if (element instanceof ScheduledTaskContainer) { >+ StringBuilder sb = new StringBuilder(); >+ sb.append(element.getSummary()); > Calendar start = ((ScheduledTaskContainer) element).getStart(); >- return DateFormat.getDateInstance(DateFormat.LONG).format(start.getTime()); >+ sb.append(" ["); >+ sb.append(DateFormat.getDateInstance(DateFormat.LONG).format(start.getTime())); >+ sb.append("]"); >+ return sb.toString(); >+ } else if (element instanceof AbstractRepositoryQuery) { >+ AbstractRepositoryQuery query = (AbstractRepositoryQuery) element; >+ StringBuilder sb = new StringBuilder(); >+ sb.append(element.getSummary()); >+ sb.append(" ["); >+ sb.append(getRepositoryLabel(query.getRepositoryKind(), query.getRepositoryUrl())); >+ sb.append("]"); >+ return sb.toString(); > } else { > return element.getSummary(); > } >@@ -111,10 +124,6 @@ > if (syncStamp != null) { > sb.append("Synchronized: " + syncStamp); > } >- sb.append(" ["); >- sb.append(getRepositoryLabel(query.getRepositoryKind(), query.getRepositoryUrl())); >- sb.append("]"); >- sb.append("\n"); > return sb.toString(); > } else if (element instanceof AbstractTask) { > AbstractTask task = (AbstractTask) element; >@@ -218,7 +227,7 @@ > } > > private ProgressData getProgressData(AbstractTaskContainer element) { >- if (element instanceof AbstractTask && element.getChildren().isEmpty()) { >+ if (element instanceof AbstractTask) { > return null; > } > >@@ -251,6 +260,8 @@ > return TasksUiPlugin.getDefault().getBrandingIcon(connector.getRepositoryType()); > } > } >+ } else if (element instanceof ScheduledTaskContainer) { >+ return TasksUiImages.getImage(TasksUiImages.CALENDAR); > } > return null; > } >@@ -448,6 +459,7 @@ > Label textLabel = new Label(parent, SWT.NONE); > textLabel.setForeground(parent.getDisplay().getSystemColor(SWT.COLOR_INFO_FOREGROUND)); > textLabel.setBackground(parent.getDisplay().getSystemColor(SWT.COLOR_INFO_BACKGROUND)); >+ textLabel.setAlignment(SWT.CENTER); > GridData gd = new GridData(GridData.FILL_HORIZONTAL | GridData.VERTICAL_ALIGN_CENTER); > gd.horizontalSpan = 2; > textLabel.setLayoutData(gd);
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 166406
:
71690
|
71692
|
71763
|
71764
|
71772
|
71782
|
71811
|
71971
| 72100 |
72101
|
72389
|
72390
|
72447
|
72527
|
72607