Final touches for CDDL upgrade in module core floating_views_50352_root
authorjtulach@netbeans.org
Sat, 01 Jul 2006 08:53:00 +0000
changeset 728883156575311e
parent 7287 de2250feadf8
child 7289 728f8b12c418
Final touches for CDDL upgrade in module core
o.n.swing.scrollbars/build.xml
o.n.swing.scrollbars/nbproject/project.properties
o.n.swing.scrollbars/nbproject/project.xml
o.n.swing.scrollbars/src/org/netbeans/swing/scrollbars/Bundle.properties
o.n.swing.scrollbars/src/org/netbeans/swing/scrollbars/api/ScrollbarFactory.java
o.n.swing.scrollbars/src/org/netbeans/swing/scrollbars/impl/GenericScrollbarUI.java
o.n.swing.scrollbars/src/org/netbeans/swing/scrollbars/impl/MetalMarkedScrollBarUI.java
o.n.swing.scrollbars/src/org/netbeans/swing/scrollbars/impl/WindowsMarkedScrollBarUI.java
o.n.swing.scrollbars/src/org/netbeans/swing/scrollbars/spi/Mark.java
o.n.swing.scrollbars/src/org/netbeans/swing/scrollbars/spi/MarkingModel.java
     1.1 --- a/o.n.swing.scrollbars/build.xml	Fri Jun 30 22:34:10 2006 +0000
     1.2 +++ b/o.n.swing.scrollbars/build.xml	Sat Jul 01 08:53:00 2006 +0000
     1.3 @@ -1,14 +1,20 @@
     1.4  <?xml version="1.0" encoding="UTF-8"?>
     1.5  <!--
     1.6 -                Sun Public License Notice
     1.7 +The contents of this file are subject to the terms of the Common Development
     1.8 +and Distribution License (the License). You may not use this file except in
     1.9 +compliance with the License.
    1.10  
    1.11 -The contents of this file are subject to the Sun Public License
    1.12 -Version 1.0 (the "License"). You may not use this file except in
    1.13 -compliance with the License. A copy of the License is available at
    1.14 -http://www.sun.com/
    1.15 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
    1.16 +or http://www.netbeans.org/cddl.txt.
    1.17  
    1.18 -The Original Code is NetBeans. The Initial Developer of the Original
    1.19 -Code is Sun Microsystems, Inc. Portions Copyright 1997-2005 Sun
    1.20 +When distributing Covered Code, include this CDDL Header Notice in each file
    1.21 +and include the License file at http://www.netbeans.org/cddl.txt.
    1.22 +If applicable, add the following below the CDDL Header, with the fields
    1.23 +enclosed by brackets [] replaced by your own identifying information:
    1.24 +"Portions Copyrighted [year] [name of copyright owner]"
    1.25 +
    1.26 +The Original Software is NetBeans. The Initial Developer of the Original
    1.27 +Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
    1.28  Microsystems, Inc. All Rights Reserved.
    1.29  -->
    1.30  <project name="core/swing/tabcontrol" default="netbeans" basedir=".">
     2.1 --- a/o.n.swing.scrollbars/nbproject/project.properties	Fri Jun 30 22:34:10 2006 +0000
     2.2 +++ b/o.n.swing.scrollbars/nbproject/project.properties	Sat Jul 01 08:53:00 2006 +0000
     2.3 @@ -1,12 +1,18 @@
     2.4 -#                 Sun Public License Notice
     2.5 -# 
     2.6 -# The contents of this file are subject to the Sun Public License
     2.7 -# Version 1.0 (the "License"). You may not use this file except in
     2.8 -# compliance with the License. A copy of the License is available at
     2.9 -# http://www.sun.com/
    2.10 -# 
    2.11 -# The Original Code is NetBeans. The Initial Developer of the Original
    2.12 -# Code is Sun Microsystems, Inc. Portions Copyright 1997-2004 Sun
    2.13 +# The contents of this file are subject to the terms of the Common Development
    2.14 +# and Distribution License (the License). You may not use this file except in
    2.15 +# compliance with the License.
    2.16 +#
    2.17 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
    2.18 +# or http://www.netbeans.org/cddl.txt.
    2.19 +#
    2.20 +# When distributing Covered Code, include this CDDL Header Notice in each file
    2.21 +# and include the License file at http://www.netbeans.org/cddl.txt.
    2.22 +# If applicable, add the following below the CDDL Header, with the fields
    2.23 +# enclosed by brackets [] replaced by your own identifying information:
    2.24 +# "Portions Copyrighted [year] [name of copyright owner]"
    2.25 +#
    2.26 +# The Original Software is NetBeans. The Initial Developer of the Original
    2.27 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
    2.28  # Microsystems, Inc. All Rights Reserved.
    2.29  
    2.30  is.autoload=true
     3.1 --- a/o.n.swing.scrollbars/nbproject/project.xml	Fri Jun 30 22:34:10 2006 +0000
     3.2 +++ b/o.n.swing.scrollbars/nbproject/project.xml	Sat Jul 01 08:53:00 2006 +0000
     3.3 @@ -1,14 +1,20 @@
     3.4  <?xml version="1.0" encoding="UTF-8"?>
     3.5  <!--
     3.6 -                Sun Public License Notice
     3.7 +The contents of this file are subject to the terms of the Common Development
     3.8 +and Distribution License (the License). You may not use this file except in
     3.9 +compliance with the License.
    3.10  
    3.11 -The contents of this file are subject to the Sun Public License
    3.12 -Version 1.0 (the "License"). You may not use this file except in
    3.13 -compliance with the License. A copy of the License is available at
    3.14 -http://www.sun.com/
    3.15 +You can obtain a copy of the License at http://www.netbeans.org/cddl.html
    3.16 +or http://www.netbeans.org/cddl.txt.
    3.17  
    3.18 -The Original Code is NetBeans. The Initial Developer of the Original
    3.19 -Code is Sun Microsystems, Inc. Portions Copyright 1997-2005 Sun
    3.20 +When distributing Covered Code, include this CDDL Header Notice in each file
    3.21 +and include the License file at http://www.netbeans.org/cddl.txt.
    3.22 +If applicable, add the following below the CDDL Header, with the fields
    3.23 +enclosed by brackets [] replaced by your own identifying information:
    3.24 +"Portions Copyrighted [year] [name of copyright owner]"
    3.25 +
    3.26 +The Original Software is NetBeans. The Initial Developer of the Original
    3.27 +Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
    3.28  Microsystems, Inc. All Rights Reserved.
    3.29  -->
    3.30  <project xmlns="http://www.netbeans.org/ns/project/1">
     4.1 --- a/o.n.swing.scrollbars/src/org/netbeans/swing/scrollbars/Bundle.properties	Fri Jun 30 22:34:10 2006 +0000
     4.2 +++ b/o.n.swing.scrollbars/src/org/netbeans/swing/scrollbars/Bundle.properties	Sat Jul 01 08:53:00 2006 +0000
     4.3 @@ -1,12 +1,18 @@
     4.4 -#                 Sun Public License Notice
     4.5 -# 
     4.6 -# The contents of this file are subject to the Sun Public License
     4.7 -# Version 1.0 (the "License"). You may not use this file except in
     4.8 -# compliance with the License. A copy of the License is available at
     4.9 -# http://www.sun.com/
    4.10 -# 
    4.11 -# The Original Code is NetBeans. The Initial Developer of the Original
    4.12 -# Code is Sun Microsystems, Inc. Portions Copyright 1997-2004 Sun
    4.13 +# The contents of this file are subject to the terms of the Common Development
    4.14 +# and Distribution License (the License). You may not use this file except in
    4.15 +# compliance with the License.
    4.16 +#
    4.17 +# You can obtain a copy of the License at http://www.netbeans.org/cddl.html
    4.18 +# or http://www.netbeans.org/cddl.txt.
    4.19 +#
    4.20 +# When distributing Covered Code, include this CDDL Header Notice in each file
    4.21 +# and include the License file at http://www.netbeans.org/cddl.txt.
    4.22 +# If applicable, add the following below the CDDL Header, with the fields
    4.23 +# enclosed by brackets [] replaced by your own identifying information:
    4.24 +# "Portions Copyrighted [year] [name of copyright owner]"
    4.25 +#
    4.26 +# The Original Software is NetBeans. The Initial Developer of the Original
    4.27 +# Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
    4.28  # Microsystems, Inc. All Rights Reserved.
    4.29  
    4.30  OpenIDE-Module-Name=Scrollbars
     5.1 --- a/o.n.swing.scrollbars/src/org/netbeans/swing/scrollbars/api/ScrollbarFactory.java	Fri Jun 30 22:34:10 2006 +0000
     5.2 +++ b/o.n.swing.scrollbars/src/org/netbeans/swing/scrollbars/api/ScrollbarFactory.java	Sat Jul 01 08:53:00 2006 +0000
     5.3 @@ -1,13 +1,19 @@
     5.4  /*
     5.5 - *                 Sun Public License Notice
     5.6 - * 
     5.7 - * The contents of this file are subject to the Sun Public License
     5.8 - * Version 1.0 (the "License"). You may not use this file except in
     5.9 - * compliance with the License. A copy of the License is available at
    5.10 - * http://www.sun.com/
    5.11 - * 
    5.12 - * The Original Code is NetBeans. The Initial Developer of the Original
    5.13 - * Code is Sun Microsystems, Inc. Portions Copyright 1997-2004 Sun
    5.14 + * The contents of this file are subject to the terms of the Common Development
    5.15 + * and Distribution License (the License). You may not use this file except in
    5.16 + * compliance with the License.
    5.17 + *
    5.18 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
    5.19 + * or http://www.netbeans.org/cddl.txt.
    5.20 + *
    5.21 + * When distributing Covered Code, include this CDDL Header Notice in each file
    5.22 + * and include the License file at http://www.netbeans.org/cddl.txt.
    5.23 + * If applicable, add the following below the CDDL Header, with the fields
    5.24 + * enclosed by brackets [] replaced by your own identifying information:
    5.25 + * "Portions Copyrighted [year] [name of copyright owner]"
    5.26 + *
    5.27 + * The Original Software is NetBeans. The Initial Developer of the Original
    5.28 + * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
    5.29   * Microsystems, Inc. All Rights Reserved.
    5.30   */
    5.31  /*
     6.1 --- a/o.n.swing.scrollbars/src/org/netbeans/swing/scrollbars/impl/GenericScrollbarUI.java	Fri Jun 30 22:34:10 2006 +0000
     6.2 +++ b/o.n.swing.scrollbars/src/org/netbeans/swing/scrollbars/impl/GenericScrollbarUI.java	Sat Jul 01 08:53:00 2006 +0000
     6.3 @@ -1,13 +1,19 @@
     6.4  /*
     6.5 - *                 Sun Public License Notice
     6.6 + * The contents of this file are subject to the terms of the Common Development
     6.7 + * and Distribution License (the License). You may not use this file except in
     6.8 + * compliance with the License.
     6.9   *
    6.10 - * The contents of this file are subject to the Sun Public License
    6.11 - * Version 1.0 (the "License"). You may not use this file except in
    6.12 - * compliance with the License. A copy of the License is available at
    6.13 - * http://www.sun.com/
    6.14 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
    6.15 + * or http://www.netbeans.org/cddl.txt.
    6.16   *
    6.17 - * The Original Code is NetBeans. The Initial Developer of the Original
    6.18 - * Code is Sun Microsystems, Inc. Portions Copyright 1997-2005 Sun
    6.19 + * When distributing Covered Code, include this CDDL Header Notice in each file
    6.20 + * and include the License file at http://www.netbeans.org/cddl.txt.
    6.21 + * If applicable, add the following below the CDDL Header, with the fields
    6.22 + * enclosed by brackets [] replaced by your own identifying information:
    6.23 + * "Portions Copyrighted [year] [name of copyright owner]"
    6.24 + *
    6.25 + * The Original Software is NetBeans. The Initial Developer of the Original
    6.26 + * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
    6.27   * Microsystems, Inc. All Rights Reserved.
    6.28   */
    6.29  
     7.1 --- a/o.n.swing.scrollbars/src/org/netbeans/swing/scrollbars/impl/MetalMarkedScrollBarUI.java	Fri Jun 30 22:34:10 2006 +0000
     7.2 +++ b/o.n.swing.scrollbars/src/org/netbeans/swing/scrollbars/impl/MetalMarkedScrollBarUI.java	Sat Jul 01 08:53:00 2006 +0000
     7.3 @@ -1,13 +1,19 @@
     7.4  /*
     7.5 - *                 Sun Public License Notice
     7.6 + * The contents of this file are subject to the terms of the Common Development
     7.7 + * and Distribution License (the License). You may not use this file except in
     7.8 + * compliance with the License.
     7.9   *
    7.10 - * The contents of this file are subject to the Sun Public License
    7.11 - * Version 1.0 (the "License"). You may not use this file except in
    7.12 - * compliance with the License. A copy of the License is available at
    7.13 - * http://www.sun.com/
    7.14 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
    7.15 + * or http://www.netbeans.org/cddl.txt.
    7.16   *
    7.17 - * The Original Code is NetBeans. The Initial Developer of the Original
    7.18 - * Code is Sun Microsystems, Inc. Portions Copyright 1997-2004 Sun
    7.19 + * When distributing Covered Code, include this CDDL Header Notice in each file
    7.20 + * and include the License file at http://www.netbeans.org/cddl.txt.
    7.21 + * If applicable, add the following below the CDDL Header, with the fields
    7.22 + * enclosed by brackets [] replaced by your own identifying information:
    7.23 + * "Portions Copyrighted [year] [name of copyright owner]"
    7.24 + *
    7.25 + * The Original Software is NetBeans. The Initial Developer of the Original
    7.26 + * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
    7.27   * Microsystems, Inc. All Rights Reserved.
    7.28   */
    7.29  
     8.1 --- a/o.n.swing.scrollbars/src/org/netbeans/swing/scrollbars/impl/WindowsMarkedScrollBarUI.java	Fri Jun 30 22:34:10 2006 +0000
     8.2 +++ b/o.n.swing.scrollbars/src/org/netbeans/swing/scrollbars/impl/WindowsMarkedScrollBarUI.java	Sat Jul 01 08:53:00 2006 +0000
     8.3 @@ -1,13 +1,19 @@
     8.4  /*
     8.5 - *                 Sun Public License Notice
     8.6 + * The contents of this file are subject to the terms of the Common Development
     8.7 + * and Distribution License (the License). You may not use this file except in
     8.8 + * compliance with the License.
     8.9   *
    8.10 - * The contents of this file are subject to the Sun Public License
    8.11 - * Version 1.0 (the "License"). You may not use this file except in
    8.12 - * compliance with the License. A copy of the License is available at
    8.13 - * http://www.sun.com/
    8.14 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
    8.15 + * or http://www.netbeans.org/cddl.txt.
    8.16   *
    8.17 - * The Original Code is NetBeans. The Initial Developer of the Original
    8.18 - * Code is Sun Microsystems, Inc. Portions Copyright 1997-2004 Sun
    8.19 + * When distributing Covered Code, include this CDDL Header Notice in each file
    8.20 + * and include the License file at http://www.netbeans.org/cddl.txt.
    8.21 + * If applicable, add the following below the CDDL Header, with the fields
    8.22 + * enclosed by brackets [] replaced by your own identifying information:
    8.23 + * "Portions Copyrighted [year] [name of copyright owner]"
    8.24 + *
    8.25 + * The Original Software is NetBeans. The Initial Developer of the Original
    8.26 + * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
    8.27   * Microsystems, Inc. All Rights Reserved.
    8.28   */
    8.29  
     9.1 --- a/o.n.swing.scrollbars/src/org/netbeans/swing/scrollbars/spi/Mark.java	Fri Jun 30 22:34:10 2006 +0000
     9.2 +++ b/o.n.swing.scrollbars/src/org/netbeans/swing/scrollbars/spi/Mark.java	Sat Jul 01 08:53:00 2006 +0000
     9.3 @@ -1,13 +1,19 @@
     9.4  /*
     9.5 - *                 Sun Public License Notice
     9.6 + * The contents of this file are subject to the terms of the Common Development
     9.7 + * and Distribution License (the License). You may not use this file except in
     9.8 + * compliance with the License.
     9.9   *
    9.10 - * The contents of this file are subject to the Sun Public License
    9.11 - * Version 1.0 (the "License"). You may not use this file except in
    9.12 - * compliance with the License. A copy of the License is available at
    9.13 - * http://www.sun.com/
    9.14 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
    9.15 + * or http://www.netbeans.org/cddl.txt.
    9.16   *
    9.17 - * The Original Code is NetBeans. The Initial Developer of the Original
    9.18 - * Code is Sun Microsystems, Inc. Portions Copyright 1997-2004 Sun
    9.19 + * When distributing Covered Code, include this CDDL Header Notice in each file
    9.20 + * and include the License file at http://www.netbeans.org/cddl.txt.
    9.21 + * If applicable, add the following below the CDDL Header, with the fields
    9.22 + * enclosed by brackets [] replaced by your own identifying information:
    9.23 + * "Portions Copyrighted [year] [name of copyright owner]"
    9.24 + *
    9.25 + * The Original Software is NetBeans. The Initial Developer of the Original
    9.26 + * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
    9.27   * Microsystems, Inc. All Rights Reserved.
    9.28   */
    9.29  
    9.30 @@ -21,7 +27,7 @@
    9.31  
    9.32  
    9.33  /**Interface representing an immutable marked position
    9.34 - * 
    9.35 + *
    9.36   * @version 1.0
    9.37   * @author  Tim Boudreau
    9.38   */
    9.39 @@ -29,11 +35,11 @@
    9.40      /** Get the point in the model's range from 0 to <code>
    9.41       * getMaximumMarkLocation()</code> at which this mark starts.
    9.42       * @return The start index
    9.43 -     */    
    9.44 +     */
    9.45      public int getStart ();
    9.46      /** Get the length of the mark, from its start
    9.47       * @return The length
    9.48 -     */    
    9.49 +     */
    9.50      public int getLength ();
    9.51      /** Get the text represented by the mark.  MarkedScrollbarUI
    9.52       * uses this to produce the tooltip.
    10.1 --- a/o.n.swing.scrollbars/src/org/netbeans/swing/scrollbars/spi/MarkingModel.java	Fri Jun 30 22:34:10 2006 +0000
    10.2 +++ b/o.n.swing.scrollbars/src/org/netbeans/swing/scrollbars/spi/MarkingModel.java	Sat Jul 01 08:53:00 2006 +0000
    10.3 @@ -1,13 +1,19 @@
    10.4  /*
    10.5 - *                 Sun Public License Notice
    10.6 + * The contents of this file are subject to the terms of the Common Development
    10.7 + * and Distribution License (the License). You may not use this file except in
    10.8 + * compliance with the License.
    10.9   *
   10.10 - * The contents of this file are subject to the Sun Public License
   10.11 - * Version 1.0 (the "License"). You may not use this file except in
   10.12 - * compliance with the License. A copy of the License is available at
   10.13 - * http://www.sun.com/
   10.14 + * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
   10.15 + * or http://www.netbeans.org/cddl.txt.
   10.16   *
   10.17 - * The Original Code is NetBeans. The Initial Developer of the Original
   10.18 - * Code is Sun Microsystems, Inc. Portions Copyright 1997-2004 Sun
   10.19 + * When distributing Covered Code, include this CDDL Header Notice in each file
   10.20 + * and include the License file at http://www.netbeans.org/cddl.txt.
   10.21 + * If applicable, add the following below the CDDL Header, with the fields
   10.22 + * enclosed by brackets [] replaced by your own identifying information:
   10.23 + * "Portions Copyrighted [year] [name of copyright owner]"
   10.24 + *
   10.25 + * The Original Software is NetBeans. The Initial Developer of the Original
   10.26 + * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
   10.27   * Microsystems, Inc. All Rights Reserved.
   10.28   */
   10.29  
   10.30 @@ -31,12 +37,12 @@
   10.31  public interface MarkingModel {
   10.32      /** Find out how many marks this model contains.
   10.33       * @return The count
   10.34 -     */    
   10.35 +     */
   10.36      public int size();
   10.37      /** Get a mark at a specific index
   10.38       * @param i The index
   10.39       * @return The Mark
   10.40 -     */    
   10.41 +     */
   10.42      public Mark getMark (int i);
   10.43      /** Get an enumeration of all marks.
   10.44       * @return The enumeration