"showUnimportantFiles" property removed from BeanInfo. It is set to the value of BLD200404280935
authormentlicher@netbeans.org
Tue, 27 Apr 2004 16:51:23 +0000
changeset 447264fd331d3c01
parent 4471 293579d58f24
child 4473 cd1c9338337f
"showUnimportantFiles" property removed from BeanInfo. It is set to the value of
"processUnimportantFiles" property of the VcsFileSystem.
This is a fix of issue #32902.
vcscore/src/org/netbeans/modules/vcscore/VcsVersioningSystem.java
vcscore/src/org/netbeans/modules/vcscore/VcsVersioningSystemBeanInfo.java
     1.1 --- a/vcscore/src/org/netbeans/modules/vcscore/VcsVersioningSystem.java	Tue Apr 27 15:17:58 2004 +0000
     1.2 +++ b/vcscore/src/org/netbeans/modules/vcscore/VcsVersioningSystem.java	Tue Apr 27 16:51:23 2004 +0000
     1.3 @@ -735,6 +735,9 @@
     1.4                  if (newValue == null) return ; // Filter out events from myself, since I listen on this also!
     1.5                  VcsVersioningSystem.this.firePropertyChange(VcsVersioningSystem.this.PROP_DISPLAY_NAME, null, null);
     1.6              }
     1.7 +            if (VcsFileSystem.PROP_PROCESS_UNIMPORTANT_FILES.equals(propName)) {
     1.8 +                setShowUnimportantFiles(fileSystem.isProcessUnimportantFiles());
     1.9 +            }
    1.10          }
    1.11  
    1.12          private void heyDoRefreshFolderRecursive(FileObject fo) {
     2.1 --- a/vcscore/src/org/netbeans/modules/vcscore/VcsVersioningSystemBeanInfo.java	Tue Apr 27 15:17:58 2004 +0000
     2.2 +++ b/vcscore/src/org/netbeans/modules/vcscore/VcsVersioningSystemBeanInfo.java	Tue Apr 27 16:51:23 2004 +0000
     2.3 @@ -42,7 +42,7 @@
     2.4          PropertyDescriptor showDeadFiles = null;
     2.5          PropertyDescriptor showMessages = null;
     2.6          PropertyDescriptor messageLength = null;
     2.7 -        PropertyDescriptor showUnimportantFiles = null;
     2.8 +        //PropertyDescriptor showUnimportantFiles = null;
     2.9          //PropertyDescriptor showLocalFiles = null;  -- makes problems, since every file is initially local
    2.10          PropertyDescriptor ignoredGarbageFiles = null;
    2.11          
    2.12 @@ -59,11 +59,13 @@
    2.13                            (VcsVersioningSystem.PROP_MESSAGE_LENGTH, VcsVersioningSystem.class, "getMessageLength", "setMessageLength"); // NOI18N
    2.14              messageLength.setDisplayName      (NbBundle.getMessage(VcsVersioningSystem.class, "PROP_messageLength")); //NOI18N
    2.15              messageLength.setShortDescription (NbBundle.getMessage(VcsVersioningSystem.class, "HINT_messageLength")); //NOI18N
    2.16 +            /* makes problems when it's not in synch with "Process All Files" property on VcsFileSystem (issue #32902)
    2.17              showUnimportantFiles = new PropertyDescriptor
    2.18                            (VcsVersioningSystem.PROP_SHOW_UNIMPORTANT_FILES, VcsVersioningSystem.class, "isShowUnimportantFiles", "setShowUnimportantFiles"); // NOI18N
    2.19              showUnimportantFiles.setDisplayName(NbBundle.getMessage(VcsVersioningSystem.class, "PROP_showUnimportantFiles"));
    2.20              showUnimportantFiles.setShortDescription(NbBundle.getMessage(VcsVersioningSystem.class, "HINT_showUnimportantFiles"));
    2.21              showUnimportantFiles.setExpert(true);
    2.22 +             */
    2.23              /*  makes problems, since every file is initially local
    2.24              showLocalFiles = new PropertyDescriptor
    2.25                            (VcsVersioningSystem.PROP_SHOW_LOCAL_FILES, VcsVersioningSystem.class, "isShowLocalFiles", "setShowLocalFiles"); // NOI18N
    2.26 @@ -77,7 +79,7 @@
    2.27              ignoredGarbageFiles.setShortDescription(NbBundle.getMessage(VcsVersioningSystem.class, "HINT_ignoredGarbageFiles"));
    2.28              ignoredGarbageFiles.setExpert(true);
    2.29              
    2.30 -            properties = new PropertyDescriptor[] { showDeadFiles, showMessages, messageLength, showUnimportantFiles, ignoredGarbageFiles };
    2.31 +            properties = new PropertyDescriptor[] { showDeadFiles, showMessages, messageLength, ignoredGarbageFiles };
    2.32          } catch (IntrospectionException ex) {
    2.33             ErrorManager.getDefault().notify(ex);
    2.34          }