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 79842 Details for
Bug 167866
make Bugzilla URL link clickable
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]
updated patch
clipboard.txt (text/plain), 2.85 KB, created by
Eugene Kuleshov
on 2007-10-05 23:17:28 EDT
(
hide
)
Description:
updated patch
Filename:
MIME Type:
Creator:
Eugene Kuleshov
Created:
2007-10-05 23:17:28 EDT
Size:
2.85 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.mylyn.bugzilla.ui >Index: src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditor.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditor.java,v >retrieving revision 1.80 >diff -u -r1.80 BugzillaTaskEditor.java >--- src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditor.java 5 Oct 2007 06:34:55 -0000 1.80 >+++ src/org/eclipse/mylyn/internal/bugzilla/ui/editor/BugzillaTaskEditor.java 6 Oct 2007 02:56:58 -0000 >@@ -18,6 +18,9 @@ > import org.eclipse.jface.dialogs.Dialog; > import org.eclipse.jface.dialogs.MessageDialog; > import org.eclipse.jface.layout.GridDataFactory; >+import org.eclipse.jface.text.ITextListener; >+import org.eclipse.jface.text.TextEvent; >+import org.eclipse.jface.text.TextViewer; > import org.eclipse.mylyn.internal.bugzilla.core.BugzillaCorePlugin; > import org.eclipse.mylyn.internal.bugzilla.core.BugzillaReportElement; > import org.eclipse.mylyn.internal.bugzilla.core.IBugzillaConstants; >@@ -33,6 +36,7 @@ > import org.eclipse.mylyn.tasks.ui.editors.AbstractRepositoryTaskEditor; > import org.eclipse.mylyn.tasks.ui.editors.TaskEditor; > import org.eclipse.swt.SWT; >+import org.eclipse.swt.custom.StyledText; > import org.eclipse.swt.events.ModifyEvent; > import org.eclipse.swt.events.ModifyListener; > import org.eclipse.swt.events.SelectionAdapter; >@@ -162,8 +166,32 @@ > if (attribute != null && !attribute.isReadOnly()) { > Label label = createLabel(composite, attribute); > GridDataFactory.fillDefaults().align(SWT.RIGHT, SWT.CENTER).applyTo(label); >- Text urlField = createTextField(composite, attribute, SWT.FLAT); >- GridDataFactory.fillDefaults().hint(135, SWT.DEFAULT).applyTo(urlField); >+ >+ TextViewer urlTextViewer = addTextEditor(repository, composite, attribute.getValue(), // >+ false, SWT.FLAT); >+// false, SWT.FLAT | SWT.SINGLE); >+ final StyledText urlText = urlTextViewer.getTextWidget(); >+ urlText.setData(FormToolkit.KEY_DRAW_BORDER, FormToolkit.TEXT_BORDER); >+ urlText.setIndent(2); >+ >+ final RepositoryTaskAttribute urlAttribute = attribute; >+ >+ urlTextViewer.setEditable(true); >+ urlTextViewer.addTextListener(new ITextListener() { >+ public void textChanged(TextEvent event) { >+ String newValue = urlText.getText(); >+ if (!newValue.equals(urlAttribute.getValue())) { >+ urlAttribute.setValue(newValue); >+ attributeChanged(urlAttribute); >+ } >+ } >+ }); >+ >+ GridDataFactory.fillDefaults().hint(135, SWT.DEFAULT).applyTo(urlText); >+ >+ if (hasChanged(attribute)) { >+ urlText.setBackground(getColorIncoming()); >+ } > } > > attribute = this.taskData.getAttribute(BugzillaReportElement.STATUS_WHITEBOARD.getKeyString());
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 167866
:
78400
|
78401
| 79842 |
79843
|
79954