Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > subclipse commit: r824 - branches/subclipse-3/ui/src/org/tigris/subversion/subclipse/ui/properties

subclipse
Discussion topic

Back to topic list

subclipse commit: r824 - branches/subclipse-3/ui/src/org/tigris/subversion/subclipse/ui/properties

Author pkorros
Full name Panagiotis Korros
Date 2004-08-12 03:59:01 PDT
Message Author: pkorros
Date: Thu Aug 12 05:59:00 2004
New Revision: 824

Modified:
   branches/subclipse-3​/ui/src/org/tigris/s​ubversion/subclipse/​ui/properties/SVNPro​pertyPage.java
Log:
Modified Subversion property page to use read only Text controls so that a user can select the text (same as the Info property page).


Modified: branches/subclipse-3​/ui/src/org/tigris/s​ubversion/subclipse/​ui/properties/SVNPro​pertyPage.java
Url: http://svn.collab.ne​t/viewcvs/subclipse/​branches/subclipse-3​/ui/src/org/tigris/s​ubversion/subclipse/​ui/properties/SVNPro​pertyPage.java?view=​diff&rev=824​&p1=branches/subclip​se-3/ui/src/org/tigr​is/subversion/subcli​pse/ui/properties/SV​NPropertyPage.java​&r1=823&p2=bra​nches/subclipse-3/ui​/src/org/tigris/subv​ersion/subclipse/ui/​properties/SVNProper​tyPage.java&r2=8​24
====================​====================​====================​==================
--- branches/subclipse-3​/ui/src/org/tigris/s​ubversion/subclipse/​ui/properties/SVNPro​pertyPage.java (original)
+++ branches/subclipse-3​/ui/src/org/tigris/s​ubversion/subclipse/​ui/properties/SVNPro​pertyPage.java Thu Aug 12 05:59:00 2004
@@ -27,22 +27,22 @@
 
     private static final int TEXT_FIELD_WIDTH = 50;
 
- private Label ignoredValue;
- private Label managedValue;
- private Label hasRemoteValue;
- private Label urlValue;
- private Label lastChangedRevisionValue;
- private Label lastChangedDateValue;
- private Label lastCommitAuthorValue;
- private Label textStatusValue;
- private Label mergedValue;
- private Label deletedValue;
- private Label modifiedValue;
- private Label addedValue;
- private Label revisionValue;
- private Label copiedValue;
- private Label urlCopiedFromValue;
- private Label pathValue;
+ private Text ignoredValue;
+ private Text managedValue;
+ private Text hasRemoteValue;
+ private Text urlValue;
+ private Text lastChangedRevisionValue;
+ private Text lastChangedDateValue;
+ private Text lastCommitAuthorValue;
+ private Text textStatusValue;
+ private Text mergedValue;
+ private Text deletedValue;
+ private Text modifiedValue;
+ private Text addedValue;
+ private Text revisionValue;
+ private Text copiedValue;
+ private Text urlCopiedFromValue;
+ private Text pathValue;
 
     public SVNPropertyPage() {
         super();
@@ -56,7 +56,7 @@
         pathLabel.setText("Path");
 
         // Path text field
- Label pathValueText = new Label(composite, SWT.WRAP);
+ Text pathValueText = new Text(composite, SWT.WRAP | SWT.READ_ONLY);
         GridData gd = new GridData();
         gd.horizontalSpan = 2;
         pathValueText.setLay​outData(gd);
@@ -76,66 +76,66 @@
 
         Label label = new Label(composite, SWT.NONE);
         label.setText("Ignored");
- ignoredValue = new Label(composite, SWT.WRAP);
+ ignoredValue = new Text(composite, SWT.WRAP | SWT.READ_ONLY);
 
         label = new Label(composite, SWT.NONE);
         label.setText("Managed");
- managedValue = new Label(composite, SWT.WRAP);
+ managedValue = new Text(composite, SWT.WRAP | SWT.READ_ONLY);
 
         label = new Label(composite, SWT.NONE);
         label.setText("Has Remote");
- hasRemoteValue = new Label(composite, SWT.WRAP);
+ hasRemoteValue = new Text(composite, SWT.WRAP | SWT.READ_ONLY);
 
         label = new Label(composite, SWT.NONE);
         label.setText("URL");
- urlValue = new Label(composite, SWT.WRAP);
+ urlValue = new Text(composite, SWT.WRAP | SWT.READ_ONLY);
 
         label = new Label(composite, SWT.NONE);
         label.setText("Last Changed Revision");
- lastChangedRevisionValue = new Label(composite, SWT.WRAP);
+ lastChangedRevisionValue = new Text(composite, SWT.WRAP | SWT.READ_ONLY);
 
         label = new Label(composite, SWT.NONE);
         label.setText("Last Changed Date");
- lastChangedDateValue = new Label(composite, SWT.WRAP);
+ lastChangedDateValue = new Text(composite, SWT.WRAP | SWT.READ_ONLY);
 
         label = new Label(composite, SWT.NONE);
         label.setText("Last Commit Author");
- lastCommitAuthorValue = new Label(composite, SWT.WRAP);
+ lastCommitAuthorValue = new Text(composite, SWT.WRAP | SWT.READ_ONLY);
 
         label = new Label(composite, SWT.NONE);
         label.setText("Status");
- textStatusValue = new Label(composite, SWT.WRAP);
+ textStatusValue = new Text(composite, SWT.WRAP | SWT.READ_ONLY);
 
         label = new Label(composite, SWT.NONE);
         label.setText("Merged");
- mergedValue = new Label(composite, SWT.WRAP);
+ mergedValue = new Text(composite, SWT.WRAP | SWT.READ_ONLY);
 
         label = new Label(composite, SWT.NONE);
         label.setText("Deleted");
- deletedValue = new Label(composite, SWT.WRAP);
+ deletedValue = new Text(composite, SWT.WRAP | SWT.READ_ONLY);
 
         label = new Label(composite, SWT.NONE);
         label.setText("Modified");
- modifiedValue = new Label(composite, SWT.WRAP);
+ modifiedValue = new Text(composite, SWT.WRAP | SWT.READ_ONLY);
 
         label = new Label(composite, SWT.NONE);
         label.setText("Added");
- addedValue = new Label(composite, SWT.WRAP);
+ addedValue = new Text(composite, SWT.WRAP | SWT.READ_ONLY);
 
         label = new Label(composite, SWT.NONE);
         label.setText("Revision");
- revisionValue = new Label(composite, SWT.WRAP);
+ revisionValue = new Text(composite, SWT.WRAP | SWT.READ_ONLY);
 
         label = new Label(composite, SWT.NONE);
         label.setText("Copied");
- copiedValue = new Label(composite, SWT.WRAP);
+ copiedValue = new Text(composite, SWT.WRAP | SWT.READ_ONLY);
 
         label = new Label(composite, SWT.NONE);
         label.setText("Path");
 
         GridData gd = new GridData();
         gd.horizontalSpan = 2;
- pathValue = new Label(composite, SWT.WRAP);
+ pathValue = new Text(composite, SWT.WRAP | SWT.READ_ONLY);
         pathValue.setLayoutData(gd);
 
         // Populate owner text field
@@ -154,7 +154,7 @@
 
                 label = new Label(composite, SWT.NONE);
                 label.setText("URL Copied From");
- urlCopiedFromValue = new Label(composite, SWT.WRAP);
+ urlCopiedFromValue = new Text(composite, SWT.WRAP | SWT.READ_ONLY);
                 urlCopiedFromValue.s​etText(status.getUrl​CopiedFrom() != null ? status
                         .getUrlCopiedFrom() : "");
             }

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: cvs-unsubscribe@subc​lipse.tigris.org
For additional commands, e-mail: cvs-help at subclipse dot tigris dot org

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

Messages

Show all messages in topic

subclipse commit: r824 - branches/subclipse-3/ui/src/org/tigris/subversion/subclipse/ui/properties pkorros Panagiotis Korros 2004-08-12 03:59:01 PDT
Messages per page: