Update of /cvsroot/jcommander/plugins/org.jcommander.ui.filepanel/src/org/jcommander/ui/filepanel/controls
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13529/src/org/jcommander/ui/filepanel/controls
Modified Files:
FilePanel.java FilePanelMediator.java
Log Message:
Fixed bug [ 1465312 ] Display user friendly VFS URLs
Index: FilePanelMediator.java
===================================================================
RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.filepanel/src/org/jcommander/ui/filepanel/controls/FilePanelMediator.java,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -d -r1.47 -r1.48
*** FilePanelMediator.java 28 Mar 2006 07:55:26 -0000 1.47
--- FilePanelMediator.java 5 Apr 2006 20:34:31 -0000 1.48
***************
*** 129,133 ****
getTabMediator().updateCaption();
! currentDirectoryLabel.setText(currentFile.toString());
} else {
--- 129,133 ----
getTabMediator().updateCaption();
! currentDirectoryLabel.setText(VfsManagerExtension.getDisplayablePath(currentFile));
} else {
Index: FilePanel.java
===================================================================
RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.filepanel/src/org/jcommander/ui/filepanel/controls/FilePanel.java,v
retrieving revision 1.60
retrieving revision 1.61
diff -C2 -d -r1.60 -r1.61
*** FilePanel.java 20 Mar 2006 12:12:28 -0000 1.60
--- FilePanel.java 5 Apr 2006 20:34:31 -0000 1.61
***************
*** 462,467 ****
});
- currentDirectoryLabel.setText(model.getCurrentParent().getName().getRootURI() + model.getCurrentParent().getName().getPath());
currentDirectoryLabel.setLayoutData(gridData9);
currentDirectoryLabel.setBackground(org.eclipse.swt.widgets.Display.getDefault().getSystemColor(org.eclipse.swt.SWT.COLOR_TITLE_INACTIVE_BACKGROUND));
--- 462,467 ----
});
+ currentDirectoryLabel.setText(VfsManagerExtension.getDisplayablePath(model.getCurrentParent()));
currentDirectoryLabel.setLayoutData(gridData9);
currentDirectoryLabel.setBackground(org.eclipse.swt.widgets.Display.getDefault().getSystemColor(org.eclipse.swt.SWT.COLOR_TITLE_INACTIVE_BACKGROUND));
***************
*** 480,483 ****
--- 480,484 ----
}
+
/**
* This method initializes composite
|