Bug 547516 - org.eclipse.core.runtime.CoreException: The default
variable is not iterable
The activePerspective variable is not an iterable, so do a simple
comparison instead.
Change-Id: I8e383b8e26052d77d5468dcf0756b7bc4171a08f
Signed-off-by: Mat Booth <mat.booth@redhat.com>
diff --git a/rms/org.eclipse.ptp.rm.lml.ui/plugin.xml b/rms/org.eclipse.ptp.rm.lml.ui/plugin.xml
index dda81bf..1656a06 100644
--- a/rms/org.eclipse.ptp.rm.lml.ui/plugin.xml
+++ b/rms/org.eclipse.ptp.rm.lml.ui/plugin.xml
@@ -76,13 +76,9 @@
<enabledWhen>
<with
variable="activeWorkbenchWindow.activePerspective">
- <iterate
- ifEmpty="false"
- operator="or">
- <equals
- value="org.eclipse.ptp.rm.lml.ui.SystemMonitoringPerspective">
- </equals>
- </iterate>
+ <equals
+ value="org.eclipse.ptp.rm.lml.ui.SystemMonitoringPerspective">
+ </equals>
</with>
</enabledWhen>
</activity>