Login | Register
My pages Projects Community openCollabNet

Discussions > commits > svn commit: r4097 - trunk/subclipse/org.tigris.subversion.subclipse.ui/src/org/tigris/subversion/subclipse/ui/properties/SVNPropertyPage.java

subclipse
Discussion topic

Back to topic list

svn commit: r4097 - trunk/subclipse/org.tigris.subversion.subclipse.ui/src/org/tigris/subversion/subclipse/ui/properties/SVNPropertyPage.java

Author selsemore
Full name Stephen Elsemore
Date 2008-11-11 06:36:28 PST
Message Author: selsemore
Date: 2008-11-11 06:36:28-0800
New Revision: 4097

Modified:
   trunk/subclipse/org.​tigris.subversion.su​bclipse.ui/src/org/t​igris/subversion/sub​clipse/ui/properties​/SVNPropertyPage.jav​a

Log:
Use read-only Text widget for URL and Path on Subversion property page to
enable copy.
Issue #: 809


Modified: trunk/subclipse/org.​tigris.subversion.su​bclipse.ui/src/org/t​igris/subversion/sub​clipse/ui/properties​/SVNPropertyPage.jav​a
Url: http://subclipse.tig​ris.org/source/brows​e/subclipse/trunk/su​bclipse/org.tigris.s​ubversion.subclipse.​ui/src/org/tigris/su​bversion/subclipse/u​i/properties/SVNProp​ertyPage.java?view=d​iff&rev=4097​&p1=trunk/subclipse/​org.tigris.subversio​n.subclipse.ui/src/o​rg/tigris/subversion​/subclipse/ui/proper​ties/SVNPropertyPage​.java&p2=trunk/s​ubclipse/org.tigris.​subversion.subclipse​.ui/src/org/tigris/s​ubversion/subclipse/​ui/properties/SVNPro​pertyPage.java&r​1=4096&r2=4097
====================​====================​====================​==================
--- trunk/subclipse/org.​tigris.subversion.su​bclipse.ui/src/org/t​igris/subversion/sub​clipse/ui/properties​/SVNPropertyPage.jav​a (original)
+++ trunk/subclipse/org.​tigris.subversion.su​bclipse.ui/src/org/t​igris/subversion/sub​clipse/ui/properties​/SVNPropertyPage.jav​a 2008-11-11 06:36:28-0800
@@ -43,7 +43,7 @@
     private Text ignoredValue;
     private Text managedValue;
     private Text switchedValue;
- private Label urlValue;
+ private Text urlValue;
     private Text lastChangedRevisionValue;
     private Text lastChangedDateValue;
     private Text lastCommitAuthorValue;
@@ -72,18 +72,21 @@
         label.setText(Policy​.bind("SVNPropertyPa​ge.path")); //$NON-NLS-1$
 
         // Path text field
- Label pathValue = new Label(composite, SWT.WRAP);
+ Text pathValue = new Text(composite, SWT.WRAP | SWT.READ_ONLY);
         GridData gd = new GridData();
         gd.widthHint = 500;
         pathValue.setLayoutData(gd);
         pathValue.setText(((IResource) getElement()).getFul​lPath().toString());​
+ pathValue.setBackgro​und(composite.getBac​kground());
 
         label = new Label(composite, SWT.NONE);
         label.setText(Policy​.bind("SVNPropertyPa​ge.url")); //$NON-NLS-1$
- urlValue = new Label(composite, SWT.WRAP);
+
+ urlValue = new Text(composite, SWT.WRAP | SWT.READ_ONLY);
         gd = new GridData();
         gd.widthHint = 500;
         urlValue.setLayoutData(gd);
+ urlValue.setBackgrou​nd(composite.getBack​ground());
 
         label = new Label(composite, SWT.NONE);
         label.setText(Policy​.bind("SVNPropertyPa​ge.revision")); //$NON-NLS-1$

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

svn commit: r4097 - trunk/subclipse/org.tigris.subversion.subclipse.ui/src/org/tigris/subversion/subclipse/ui/properties/SVNPropertyPage.java selsemore Stephen Elsemore 2008-11-11 06:36:28 PST
Messages per page: