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 84363 Details for
Bug 210684
disable all operations in the Task Repositories view for a disconnected repository
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
clipboard.txt (text/plain), 2.80 KB, created by
Shawn Minto
on 2007-12-03 17:04:53 EST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Shawn Minto
Created:
2007-12-03 17:04:53 EST
Size:
2.80 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.mylyn.tasks.ui >Index: src/org/eclipse/mylyn/internal/tasks/ui/TaskRepositoryAdapterFactory.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskRepositoryAdapterFactory.java,v >retrieving revision 1.2 >diff -u -r1.2 TaskRepositoryAdapterFactory.java >--- src/org/eclipse/mylyn/internal/tasks/ui/TaskRepositoryAdapterFactory.java 26 Jun 2007 01:16:40 -0000 1.2 >+++ src/org/eclipse/mylyn/internal/tasks/ui/TaskRepositoryAdapterFactory.java 3 Dec 2007 22:01:37 -0000 >@@ -37,7 +37,9 @@ > return new IActionFilter() { > public boolean testAttribute(Object target, String name, String value) { > TaskRepository repository = (TaskRepository) target; >- if ("supportQuery".equals(name)) { >+ if ("online".equals(name)) { >+ return !repository.isOffline(); >+ } else if ("supportQuery".equals(name)) { > AbstractRepositoryConnectorUi connector = TasksUiPlugin.getConnectorUi(repository.getConnectorKind()); > return null != connector.getQueryWizard(repository, null); > } else if ("supportNewTask".equals(name)) { >Index: plugin.xml >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.tasks.ui/plugin.xml,v >retrieving revision 1.277 >diff -u -r1.277 plugin.xml >--- plugin.xml 1 Dec 2007 09:17:48 -0000 1.277 >+++ plugin.xml 3 Dec 2007 22:01:37 -0000 >@@ -507,7 +507,10 @@ > style="push" > tooltip="Open Repository Task"> > <enablement> >- <objectState name="hasRepository" value="true"/> >+ <and> >+ <objectState name="online" value="true"/> >+ <objectState name="hasRepository" value="true"/> >+ </and> > </enablement> > </action> > <action >@@ -520,7 +523,10 @@ > style="push" > tooltip="New Query"> > <enablement> >- <objectState name="supportQuery" value="true"/> >+ <and> >+ <objectState name="online" value="true"/> >+ <objectState name="supportQuery" value="true"/> >+ </and> > </enablement> > </action> > <action >@@ -532,7 +538,10 @@ > menubarPath="repository" > tooltip="New Task"> > <enablement> >- <objectState name="supportNewTask" value="true"/> >+ <and> >+ <objectState name="online" value="true"/> >+ <objectState name="supportNewTask" value="true"/> >+ </and> > </enablement> > </action> > </viewerContribution>
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 210684
: 84363 |
84364