*
* @param item the TreeItem to initialize
* @param volume the File associated with this TreeItem
*/
private void treeInitVolume(TreeItem item, String connectionId ) {//FileObject volume) {
FTPConnectionProperties connectionProperties = fConnections.get(connectionId);
if(connectionProperties == null) {
addLocalConnection(connectionId);
connectionProperties = fConnections.get(connectionId);
}
item.setText(connectionId);
item.setImage(iconCache.get(CFPluginImages.ICON_DRIVE));
item.setData(TREEITEMDATA_FILE, connectionProperties.getConnectionid());
item.setData(TREEITEMDATA_URI, connectionProperties.getURI());
item.setData(TREEITEMDATA_CONNECTIONID, connectionProperties.getConnectionid());
item.setData(TREEITEMDATA_IMAGEEXPANDED, iconCache.get(CFPluginImages.ICON_DRIVE_FTP));
item.setData(TREEITEMDATA_IMAGECOLLAPSED, iconCache.get(CFPluginImages.ICON_DRIVE));
}