|
From: Robert E. <sky...@us...> - 2006-05-15 18:08:53
|
Update of /cvsroot/jcommander/plugins/org.jcommander.ui.filepanel/src/org/jcommander/ui/filepanel/controls In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv13965/src/org/jcommander/ui/filepanel/controls Modified Files: FilePanel.java FilePanelMediator.java Log Message: Changed the directory info control to a read-only text label Index: FilePanelMediator.java =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.filepanel/src/org/jcommander/ui/filepanel/controls/FilePanelMediator.java,v retrieving revision 1.49 retrieving revision 1.50 diff -C2 -d -r1.49 -r1.50 *** FilePanelMediator.java 25 Apr 2006 09:27:57 -0000 1.49 --- FilePanelMediator.java 15 May 2006 18:08:50 -0000 1.50 *************** *** 25,29 **** */ public class FilePanelMediator { ! protected Label currentDirectoryLabel; protected FileTableControl fileControl; protected FileControlModel model; --- 25,29 ---- */ public class FilePanelMediator { ! protected Text currentDirectoryLabel; protected FileTableControl fileControl; protected FileControlModel model; *************** *** 46,53 **** /** ! * @param currentDirectoryLabel The currentDirectoryLabel to set. */ ! public void setCurrentDirectoryLabel(Label currentDirectoryLabel) { ! this.currentDirectoryLabel = currentDirectoryLabel; } /** --- 46,53 ---- /** ! * @param currentDirectoryLabel2 The currentDirectoryLabel to set. */ ! public void setCurrentDirectoryLabel(Text currentDirectoryLabel2) { ! this.currentDirectoryLabel = currentDirectoryLabel2; } /** Index: FilePanel.java =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.filepanel/src/org/jcommander/ui/filepanel/controls/FilePanel.java,v retrieving revision 1.63 retrieving revision 1.64 diff -C2 -d -r1.63 -r1.64 *** FilePanel.java 27 Apr 2006 11:14:02 -0000 1.63 --- FilePanel.java 15 May 2006 18:08:50 -0000 1.64 *************** *** 37,41 **** private Label partitionInfoLabel = null; private Composite directoryInfoComposite = null; ! private Label currentDirectoryLabel = null; protected Button navigationHistoryButton = null; private Button changeToRootDirButton = null; --- 37,41 ---- private Label partitionInfoLabel = null; private Composite directoryInfoComposite = null; ! private Text currentDirectoryLabel = null; protected Button navigationHistoryButton = null; private Button changeToRootDirButton = null; *************** *** 449,453 **** directoryInfoComposite.addMouseListener(focusFileTabAdapter); ! currentDirectoryLabel = new Label(directoryInfoComposite, SWT.NONE); currentDirectoryLabel.addMouseListener(focusFileTabAdapter); --- 449,453 ---- directoryInfoComposite.addMouseListener(focusFileTabAdapter); ! currentDirectoryLabel = new Text(directoryInfoComposite, SWT.READ_ONLY); currentDirectoryLabel.addMouseListener(focusFileTabAdapter); |