1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-09 02:36:01 +02:00

Enable RemoteConnectionPropertyPage on adaptable

RemoteConnectionPropertyPage has a code that will adapt the
object to IRemoteConnection before showing properties, but
property page contribution enablement expression tests that object
is instanceof, which limits it to specifically IRemoveConnection
objects. Would be nice to show same property page if object adapt itself
to IRemoteConnection

Change-Id: I45699f96a0a1b1a7b8925c67313af46ce9f2300a
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
This commit is contained in:
Alena Laskavaia 2015-09-24 15:29:39 -04:00
parent 9a374d5614
commit aa7f126248

View file

@ -220,9 +220,9 @@
id="org.eclipse.remote.ui.page.connectionProperties" id="org.eclipse.remote.ui.page.connectionProperties"
name="%ConnectionProperties.name"> name="%ConnectionProperties.name">
<enabledWhen> <enabledWhen>
<instanceof <adapt
value="org.eclipse.remote.core.IRemoteConnection"> type="org.eclipse.remote.core.IRemoteConnection">
</instanceof> </adapt>
</enabledWhen> </enabledWhen>
</page> </page>
</extension> </extension>