+ if (element instanceof RemoteRepositoryNode) {
+ if (((RemoteRepositoryNode) element).getDefaultSession() == null)
+ return JcrImages.REMOTE_DISCONNECTED;
+ else
+ return JcrImages.REMOTE_CONNECTED;
+ } else if (element instanceof RepositoryNode) {