|
|
|
|
|
|
|
|
*/ |
|
|
*/ |
|
|
@Deprecated |
|
|
@Deprecated |
|
|
public class VUIDLBrowser extends SimpleTree { |
|
|
public class VUIDLBrowser extends SimpleTree { |
|
|
private static final String HELP = "Shift click handle to open recursively. " |
|
|
|
|
|
+ " Click components to highlight them on client side." |
|
|
|
|
|
+ " Shift click components to highlight them also on the server side."; |
|
|
|
|
|
|
|
|
private static final String HELP = "Alt-click handle to open recursively. "; |
|
|
private ApplicationConnection client; |
|
|
private ApplicationConnection client; |
|
|
private String highlightedPid; |
|
|
private String highlightedPid; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected StateChangeItem() { |
|
|
protected StateChangeItem() { |
|
|
setTitle(HELP); |
|
|
setTitle(HELP); |
|
|
|
|
|
|
|
|
addDomHandler(new MouseOutHandler() { |
|
|
addDomHandler(new MouseOutHandler() { |
|
|
@Override |
|
|
@Override |
|
|
public void onMouseOut(MouseOutEvent event) { |
|
|
public void onMouseOut(MouseOutEvent event) { |
|
|
|
|
|
|
|
|
protected void select(ClickEvent event) { |
|
|
protected void select(ClickEvent event) { |
|
|
ServerConnector connector = getConnector(); |
|
|
ServerConnector connector = getConnector(); |
|
|
|
|
|
|
|
|
if (connector != null && event != null |
|
|
|
|
|
&& event.getNativeEvent().getShiftKey()) { |
|
|
|
|
|
|
|
|
if (connector != null && event != null) { |
|
|
connector.getConnection().highlightConnector(connector); |
|
|
connector.getConnection().highlightConnector(connector); |
|
|
} |
|
|
} |
|
|
|
|
|
|