Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui')
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskEditorActionPart.java12
1 files changed, 8 insertions, 4 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskEditorActionPart.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskEditorActionPart.java
index 9a5620332..dff763ba9 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskEditorActionPart.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/TaskEditorActionPart.java
@@ -380,8 +380,10 @@ public class TaskEditorActionPart extends AbstractTaskEditorPart {
Button button = toolkit.createButton(buttonComposite, operation.getLabel(), SWT.RADIO);
button.setFont(TEXT_FONT);
button.setData(KEY_OPERATION, operation);
- button.setEnabled(!operation.getTaskAttribute().getMetaData().isReadOnly());
- button.setToolTipText(operation.getTaskAttribute().getMetaData().getValue(TaskAttribute.META_DESCRIPTION));
+ //button.setEnabled(!operation.getTaskAttribute().getMetaData().isReadOnly());
+ button.setToolTipText(operation.getTaskAttribute()
+ .getMetaData()
+ .getValue(TaskAttribute.META_DESCRIPTION));
GridData radioData = new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING);
TaskAttribute associatedAttribute = getTaskData().getAttributeMapper().getAssoctiatedAttribute(
@@ -464,8 +466,10 @@ public class TaskEditorActionPart extends AbstractTaskEditorPart {
public void refreshOperations() {
for (Button button : operationButtons) {
TaskOperation taskOperation = (TaskOperation) button.getData(KEY_OPERATION);
- button.setEnabled(!taskOperation.getTaskAttribute().getMetaData().isReadOnly());
- button.setToolTipText(taskOperation.getTaskAttribute().getMetaData().getValue(TaskAttribute.META_DESCRIPTION));
+ //button.setEnabled(!taskOperation.getTaskAttribute().getMetaData().isReadOnly());
+ button.setToolTipText(taskOperation.getTaskAttribute()
+ .getMetaData()
+ .getValue(TaskAttribute.META_DESCRIPTION));
}
}
}

Back to the top