From e3596980f5fc5e0976722185ae51f15c2096a636 Mon Sep 17 00:00:00 2001 From: Nate Jensen Date: Thu, 14 Jun 2012 11:20:16 -0500 Subject: [PATCH] Issue #716 better tooltip Change-Id: I9db709540cb6ac25893756139b3269adf9d4551b Former-commit-id: 00a23080d13a855f2b7d3044a3731918f49e8f1e [formerly 6ecd868ddd4c2c50655704cd7ecbaf8a6fcca7d4] [formerly 00a23080d13a855f2b7d3044a3731918f49e8f1e [formerly 6ecd868ddd4c2c50655704cd7ecbaf8a6fcca7d4] [formerly 475a9a76b56963db823e93336080e32951742f3b [formerly 4181cc97d769bfead6f5425ec4740ab90c8b57a5]]] Former-commit-id: 475a9a76b56963db823e93336080e32951742f3b Former-commit-id: 432e384d48fc3f8f2428346dc2ed59513d149c50 [formerly 161159172e7d081e14899d4031b0a4d6ec0f239d] Former-commit-id: eadb96f7a660382fc21c90a2d9df679275bdaac7 --- .../ui/session/ParticipantsLabelProvider.java | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/cave/com.raytheon.uf.viz.collaboration.ui/src/com/raytheon/uf/viz/collaboration/ui/session/ParticipantsLabelProvider.java b/cave/com.raytheon.uf.viz.collaboration.ui/src/com/raytheon/uf/viz/collaboration/ui/session/ParticipantsLabelProvider.java index 39aa5f5fd7..6a72fe84fe 100644 --- a/cave/com.raytheon.uf.viz.collaboration.ui/src/com/raytheon/uf/viz/collaboration/ui/session/ParticipantsLabelProvider.java +++ b/cave/com.raytheon.uf.viz.collaboration.ui/src/com/raytheon/uf/viz/collaboration/ui/session/ParticipantsLabelProvider.java @@ -369,12 +369,15 @@ public class ParticipantsLabelProvider extends ColumnLabelProvider { boolean isDataProvider = id.equals(((SharedDisplaySession) session) .getCurrentDataProvider()); if (isSessionLeader || isDataProvider) { - if (isSessionLeader) { - builder.append("\nSession Leader"); - } - if (isDataProvider) { - builder.append("\nData Provider"); - } + // TODO if transferring control is ever desired and implemented + // we need to distinguish these. Until then, Leader works fine. + builder.append("\nLeader"); + // if (isSessionLeader) { + // builder.append("\nSession Leader"); + // } + // if (isDataProvider) { + // builder.append("\nData Provider"); + // } } } return builder.toString();