Revision 902 trunk/frameworks/_fwAndami/src/com/iver/andami/ui/mdiManager/ViewInfo.java

View differences:

ViewInfo.java
22 22
    /** DOCUMENT ME! */
23 23
    public static final int MODALDIALOG = 8;
24 24
    public static final int MODELESSDIALOG = 16;
25
    /**
26
     * @deprecated
27
     */
28
    public static final int ALWAYSLIVE = 32;
29 25
    private PropertyChangeSupport support = new PropertyChangeSupport(this);
30 26

  
31 27
    /** DOCUMENT ME! */
......
38 34
    private boolean iconifiable = false;
39 35

  
40 36
    /** DOCUMENT ME! */
41
    private boolean alwaysLive = false;
42

  
43
    /** DOCUMENT ME! */
44 37
    private boolean modal = false;
45 38
    private boolean modeless = false;
46 39

  
......
131 124
        modal = (code % 2) > 0;
132 125
        code = code / 2;
133 126
        modeless = (code % 2) > 0;
134
        code = code / 2;
135
        alwaysLive = (code % 2) > 0;
136 127

  
137 128
        if (modal && modeless) {
138 129
            throw new IllegalStateException("modal && modeless");
......
171 162
    }
172 163

  
173 164
    /**
174
     * Devuelve si el frame se elimina al cerrar o se mantiene vivo durante
175
     * toda la vida de la aplicaci?n.
176
     *
177
     * @return
178
     */
179
    public boolean isAlwaysLive() {
180
        return alwaysLive;
181
    }
182

  
183
    /**
184 165
     * Devuelve si el di?logo es modal
185 166
     *
186 167
     * @return

Also available in: Unified diff