legal/ANTLR-3.txt
author Guillermo Álvarez de Eulate <guillermo.alvarez@openbravo.com>
Tue, 24 Apr 2012 17:06:29 +0200
changeset 16194 8f215938f06a
parent 1738 d8dcb2ecfd14
permissions -rw-r--r--
Related to issue 20192: adding a parameter to setFieldFormProperties

Before the fix, when a field is not shown in form view but displayed in grid view, the property editorProperties.visible is changed by setFieldFormProperties function. This value in the property doesn't allow to the field to get the focus in grid view. To solve it, a second parameter has been added to the function and setted as true in the affected call. If the function is called without setting the new argument its behaviour will be the same as always.
ivan@1738
     1
ANTLR 3 License
ivan@1738
     2
ivan@1738
     3
[The BSD License] Copyright (c) 2003-2008, Terence Parr All rights reserved.
ivan@1738
     4
ivan@1738
     5
Redistribution and use in source and binary forms, with or without
ivan@1738
     6
modification, are permitted provided that the following conditions are met:
ivan@1738
     7
ivan@1738
     8
    * Redistributions of source code must retain the above copyright notice,
ivan@1738
     9
    this list of conditions and the following disclaimer.  * Redistributions
ivan@1738
    10
    in binary form must reproduce the above copyright notice, this list of
ivan@1738
    11
    conditions and the following disclaimer in the documentation and/or
ivan@1738
    12
    other materials provided with the distribution.  * Neither the name
ivan@1738
    13
    of the author nor the names of its contributors may be used to endorse
ivan@1738
    14
    or promote products derived from this software without specific prior
ivan@1738
    15
    written permission.
ivan@1738
    16
ivan@1738
    17
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
ivan@1738
    18
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
ivan@1738
    19
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
ivan@1738
    20
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ivan@1738
    21
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
ivan@1738
    22
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
ivan@1738
    23
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ivan@1738
    24
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
ivan@1738
    25
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
ivan@1738
    26
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.