//# 0 errors, 150 messages
//#
/*
    //#PopupType.java:1:1: class: com.dmdirc.commandparser.PopupType
 * Copyright (c) 2006-2009 Chris Smith, Shane Mc Cormack, Gregory Holmes
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

package com.dmdirc.commandparser;

/**
 * An enumeration of the types of popup menu which are supported by the
 * PopupManager.
 * 
 * @author chris
 */
public enum PopupType {
    //#PopupType.java:31: method: PopupType[] com.dmdirc.commandparser.PopupType.values()
    //#input(PopupType[] values()): $VALUES
    //#input(PopupType[] values()): $VALUES.length
    //#input(PopupType[] values()): $VALUES[0..12]
    //#output(PopupType[] values()): new PopupType[](values#1) num objects
    //#output(PopupType[] values()): return_value.length
    //#output(PopupType[] values()): return_value[0..12]
    //#output(PopupType[] values()): return_value
    //#new obj(PopupType[] values()): new PopupType[](values#1)
    //#pre[1] (PopupType[] values()): (soft) init'ed($VALUES[0..12])
    //#post(PopupType[] values()): return_value == &new PopupType[](values#1)
    //#post(PopupType[] values()): new PopupType[](values#1) num objects == 1
    //#post(PopupType[] values()): return_value.length == 12
    //#post(PopupType[] values()): return_value[0..12] == One-of{$VALUES[0..12], undefined}
    //#PopupType.java:31: end of method: PopupType[] com.dmdirc.commandparser.PopupType.values()
    //#PopupType.java:31: method: PopupType com.dmdirc.commandparser.PopupType.valueOf(String)
    //#input(PopupType valueOf(String)): __Descendant_Table[com/dmdirc/commandparser/PopupType]
    //#input(PopupType valueOf(String)): __Descendant_Table[others]
    //#input(PopupType valueOf(String)): name
    //#output(PopupType valueOf(String)): return_value
    //#presumption(PopupType valueOf(String)): java.lang.Enum:valueOf(...).__Tag@31 == com/dmdirc/commandparser/PopupType
    //#post(PopupType valueOf(String)): init'ed(return_value)
    //#PopupType.java:31: end of method: PopupType com.dmdirc.commandparser.PopupType.valueOf(String)
    //#PopupType.java:31: method: void com.dmdirc.commandparser.PopupType.com.dmdirc.commandparser.PopupType(String, int)
    //#input(void com.dmdirc.commandparser.PopupType(String, int)): Param_1
    //#input(void com.dmdirc.commandparser.PopupType(String, int)): Param_2
    //#input(void com.dmdirc.commandparser.PopupType(String, int)): this
    //#PopupType.java:31: end of method: void com.dmdirc.commandparser.PopupType.com.dmdirc.commandparser.PopupType(String, int)
    
    /**
     * The menu that appears when right clicking in a channel window.
     * 
     * Expected arguments: none.
     */
    CHAN_NORMAL,
    //#PopupType.java:38: method: com.dmdirc.commandparser.PopupType.com.dmdirc.commandparser.PopupType__static_init
    //#output(com.dmdirc.commandparser.PopupType__static_init): $VALUES
    //#output(com.dmdirc.commandparser.PopupType__static_init): CHAN_CHANNEL
    //#output(com.dmdirc.commandparser.PopupType__static_init): CHAN_HYPERLINK
    //#output(com.dmdirc.commandparser.PopupType__static_init): CHAN_NICK
    //#output(com.dmdirc.commandparser.PopupType__static_init): CHAN_NORMAL
    //#output(com.dmdirc.commandparser.PopupType__static_init): QUERY_CHANNEL
    //#output(com.dmdirc.commandparser.PopupType__static_init): QUERY_HYPERLINK
    //#output(com.dmdirc.commandparser.PopupType__static_init): QUERY_NICK
    //#output(com.dmdirc.commandparser.PopupType__static_init): QUERY_NORMAL
    //#output(com.dmdirc.commandparser.PopupType__static_init): SERVER_CHANNEL
    //#output(com.dmdirc.commandparser.PopupType__static_init): SERVER_HYPERLINK
    //#output(com.dmdirc.commandparser.PopupType__static_init): SERVER_NICK
    //#output(com.dmdirc.commandparser.PopupType__static_init): SERVER_NORMAL
    //#output(com.dmdirc.commandparser.PopupType__static_init): __Descendant_Table[com/dmdirc/commandparser/PopupType]
    //#output(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#1) num objects
    //#output(com.dmdirc.commandparser.PopupType__static_init): CHAN_NORMAL.__Tag
    //#output(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#10) num objects
    //#output(com.dmdirc.commandparser.PopupType__static_init): SERVER_NICK.__Tag
    //#output(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#11) num objects
    //#output(com.dmdirc.commandparser.PopupType__static_init): SERVER_CHANNEL.__Tag
    //#output(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#12) num objects
    //#output(com.dmdirc.commandparser.PopupType__static_init): SERVER_HYPERLINK.__Tag
    //#output(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#2) num objects
    //#output(com.dmdirc.commandparser.PopupType__static_init): CHAN_NICK.__Tag
    //#output(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#3) num objects
    //#output(com.dmdirc.commandparser.PopupType__static_init): CHAN_CHANNEL.__Tag
    //#output(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#4) num objects
    //#output(com.dmdirc.commandparser.PopupType__static_init): CHAN_HYPERLINK.__Tag
    //#output(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#5) num objects
    //#output(com.dmdirc.commandparser.PopupType__static_init): QUERY_NORMAL.__Tag
    //#output(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#6) num objects
    //#output(com.dmdirc.commandparser.PopupType__static_init): QUERY_NICK.__Tag
    //#output(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#7) num objects
    //#output(com.dmdirc.commandparser.PopupType__static_init): QUERY_CHANNEL.__Tag
    //#output(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#8) num objects
    //#output(com.dmdirc.commandparser.PopupType__static_init): QUERY_HYPERLINK.__Tag
    //#output(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#9) num objects
    //#output(com.dmdirc.commandparser.PopupType__static_init): SERVER_NORMAL.__Tag
    //#output(com.dmdirc.commandparser.PopupType__static_init): new PopupType[](PopupType__static_init#13) num objects
    //#output(com.dmdirc.commandparser.PopupType__static_init): $VALUES.length
    //#output(com.dmdirc.commandparser.PopupType__static_init): $VALUES[0]
    //#output(com.dmdirc.commandparser.PopupType__static_init): $VALUES[10]
    //#output(com.dmdirc.commandparser.PopupType__static_init): $VALUES[11]
    //#output(com.dmdirc.commandparser.PopupType__static_init): $VALUES[1]
    //#output(com.dmdirc.commandparser.PopupType__static_init): $VALUES[2]
    //#output(com.dmdirc.commandparser.PopupType__static_init): $VALUES[3]
    //#output(com.dmdirc.commandparser.PopupType__static_init): $VALUES[4]
    //#output(com.dmdirc.commandparser.PopupType__static_init): $VALUES[5]
    //#output(com.dmdirc.commandparser.PopupType__static_init): $VALUES[6]
    //#output(com.dmdirc.commandparser.PopupType__static_init): $VALUES[7]
    //#output(com.dmdirc.commandparser.PopupType__static_init): $VALUES[8]
    //#output(com.dmdirc.commandparser.PopupType__static_init): $VALUES[9]
    //#new obj(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#1)
    //#new obj(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#10)
    //#new obj(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#11)
    //#new obj(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#12)
    //#new obj(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#2)
    //#new obj(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#3)
    //#new obj(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#4)
    //#new obj(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#5)
    //#new obj(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#6)
    //#new obj(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#7)
    //#new obj(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#8)
    //#new obj(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#9)
    //#new obj(com.dmdirc.commandparser.PopupType__static_init): new PopupType[](PopupType__static_init#13)
    //#post(com.dmdirc.commandparser.PopupType__static_init): $VALUES == &new PopupType[](PopupType__static_init#13)
    //#post(com.dmdirc.commandparser.PopupType__static_init): CHAN_CHANNEL == &new PopupType(PopupType__static_init#3)
    //#post(com.dmdirc.commandparser.PopupType__static_init): $VALUES[2] == &new PopupType(PopupType__static_init#3)
    //#post(com.dmdirc.commandparser.PopupType__static_init): CHAN_HYPERLINK == &new PopupType(PopupType__static_init#4)
    //#post(com.dmdirc.commandparser.PopupType__static_init): $VALUES[3] == &new PopupType(PopupType__static_init#4)
    //#post(com.dmdirc.commandparser.PopupType__static_init): CHAN_NICK == &new PopupType(PopupType__static_init#2)
    //#post(com.dmdirc.commandparser.PopupType__static_init): $VALUES[1] == &new PopupType(PopupType__static_init#2)
    //#post(com.dmdirc.commandparser.PopupType__static_init): CHAN_NORMAL == &new PopupType(PopupType__static_init#1)
    //#post(com.dmdirc.commandparser.PopupType__static_init): $VALUES[0] == &new PopupType(PopupType__static_init#1)
    //#post(com.dmdirc.commandparser.PopupType__static_init): QUERY_CHANNEL == &new PopupType(PopupType__static_init#7)
    //#post(com.dmdirc.commandparser.PopupType__static_init): $VALUES[6] == &new PopupType(PopupType__static_init#7)
    //#post(com.dmdirc.commandparser.PopupType__static_init): QUERY_HYPERLINK == &new PopupType(PopupType__static_init#8)
    //#post(com.dmdirc.commandparser.PopupType__static_init): $VALUES[7] == &new PopupType(PopupType__static_init#8)
    //#post(com.dmdirc.commandparser.PopupType__static_init): QUERY_NICK == &new PopupType(PopupType__static_init#6)
    //#post(com.dmdirc.commandparser.PopupType__static_init): $VALUES[5] == &new PopupType(PopupType__static_init#6)
    //#post(com.dmdirc.commandparser.PopupType__static_init): QUERY_NORMAL == &new PopupType(PopupType__static_init#5)
    //#post(com.dmdirc.commandparser.PopupType__static_init): $VALUES[4] == &new PopupType(PopupType__static_init#5)
    //#post(com.dmdirc.commandparser.PopupType__static_init): SERVER_CHANNEL == &new PopupType(PopupType__static_init#11)
    //#post(com.dmdirc.commandparser.PopupType__static_init): $VALUES[10] == &new PopupType(PopupType__static_init#11)
    //#post(com.dmdirc.commandparser.PopupType__static_init): SERVER_HYPERLINK == &new PopupType(PopupType__static_init#12)
    //#post(com.dmdirc.commandparser.PopupType__static_init): $VALUES[11] == &new PopupType(PopupType__static_init#12)
    //#post(com.dmdirc.commandparser.PopupType__static_init): SERVER_NICK == &new PopupType(PopupType__static_init#10)
    //#post(com.dmdirc.commandparser.PopupType__static_init): $VALUES[9] == &new PopupType(PopupType__static_init#10)
    //#post(com.dmdirc.commandparser.PopupType__static_init): SERVER_NORMAL == &new PopupType(PopupType__static_init#9)
    //#post(com.dmdirc.commandparser.PopupType__static_init): $VALUES[8] == &new PopupType(PopupType__static_init#9)
    //#post(com.dmdirc.commandparser.PopupType__static_init): __Descendant_Table[com/dmdirc/commandparser/PopupType] == &__Dispatch_Table
    //#post(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#1) num objects == 1
    //#post(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#10) num objects == 1
    //#post(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#11) num objects == 1
    //#post(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#12) num objects == 1
    //#post(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#2) num objects == 1
    //#post(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#3) num objects == 1
    //#post(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#4) num objects == 1
    //#post(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#5) num objects == 1
    //#post(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#6) num objects == 1
    //#post(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#7) num objects == 1
    //#post(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#8) num objects == 1
    //#post(com.dmdirc.commandparser.PopupType__static_init): new PopupType(PopupType__static_init#9) num objects == 1
    //#post(com.dmdirc.commandparser.PopupType__static_init): new PopupType[](PopupType__static_init#13) num objects == 1
    //#post(com.dmdirc.commandparser.PopupType__static_init): CHAN_NORMAL.__Tag == com/dmdirc/commandparser/PopupType
    //#post(com.dmdirc.commandparser.PopupType__static_init): SERVER_NICK.__Tag == com/dmdirc/commandparser/PopupType
    //#post(com.dmdirc.commandparser.PopupType__static_init): SERVER_CHANNEL.__Tag == com/dmdirc/commandparser/PopupType
    //#post(com.dmdirc.commandparser.PopupType__static_init): SERVER_HYPERLINK.__Tag == com/dmdirc/commandparser/PopupType
    //#post(com.dmdirc.commandparser.PopupType__static_init): CHAN_NICK.__Tag == com/dmdirc/commandparser/PopupType
    //#post(com.dmdirc.commandparser.PopupType__static_init): CHAN_CHANNEL.__Tag == com/dmdirc/commandparser/PopupType
    //#post(com.dmdirc.commandparser.PopupType__static_init): CHAN_HYPERLINK.__Tag == com/dmdirc/commandparser/PopupType
    //#post(com.dmdirc.commandparser.PopupType__static_init): QUERY_NORMAL.__Tag == com/dmdirc/commandparser/PopupType
    //#post(com.dmdirc.commandparser.PopupType__static_init): QUERY_NICK.__Tag == com/dmdirc/commandparser/PopupType
    //#post(com.dmdirc.commandparser.PopupType__static_init): QUERY_CHANNEL.__Tag == com/dmdirc/commandparser/PopupType
    //#post(com.dmdirc.commandparser.PopupType__static_init): QUERY_HYPERLINK.__Tag == com/dmdirc/commandparser/PopupType
    //#post(com.dmdirc.commandparser.PopupType__static_init): SERVER_NORMAL.__Tag == com/dmdirc/commandparser/PopupType
    //#post(com.dmdirc.commandparser.PopupType__static_init): $VALUES.length == 12
    //#unanalyzed(com.dmdirc.commandparser.PopupType__static_init): Effects-of-calling:java.lang.Enum
    
    /**
     * The menu that appears when right clicking in a nickname in a channel window.
     * 
     * Expected arguments: the nickname of the user who was clicked on.
     */
    CHAN_NICK,
    
    /**
     * The menu that appears when right clicking in a channel in a channel window.
     * 
     * Expected arguments: the nickname of the user who was clicked on.
     */
    CHAN_CHANNEL,
    
    /**
     * The menu that appears when right clicking in a hyperlink in a channel window.
     * 
     * Expected arguments: the hyperlink clicked.
     */
    CHAN_HYPERLINK,
    
    /**
     * The menu that appears when right clicking in a query window.
     * 
     * Expected arguments: the nickname of the user who the query is with.
     */
    QUERY_NORMAL,
    
    /**
     * The menu that appears when right clicking in a nickname in a query window.
     * 
     * Expected arguments: the nickname of the user who the query is with.
     */
    QUERY_NICK,
    
    /**
     * The menu that appears when right clicking in a channel in a query window.
     * 
     * Expected arguments: the nickname of the user who the query is with.
     */
    QUERY_CHANNEL,
    
    /**
     * The menu that appears when right clicking in a hyperlink in a query window.
     * 
     * Expected arguments: the hyperlink clicked.
     */
    QUERY_HYPERLINK,
    
    /**
     * The menu that appears when right clicking in a server window.
     * 
     * Expected arguments: the nickname of the user who the query is with.
     */
    SERVER_NORMAL,
    
    /**
     * The menu that appears when right clicking in a nickname in a server window.
     * 
     * Expected arguments: the nickname of the user who the query is with.
     */
    SERVER_NICK,
    
    /**
     * The menu that appears when right clicking in a channel in a server window.
     * 
     * Expected arguments: the nickname of the user who the query is with.
     */
    SERVER_CHANNEL,
    
    /**
     * The menu that appears when right clicking in a hyperlink in a server window.
     * 
     * Expected arguments: the hyperlink clicked.
     */
    SERVER_HYPERLINK;
    //#PopupType.java:115: end of method: com.dmdirc.commandparser.PopupType.com.dmdirc.commandparser.PopupType__static_init
       
}
    //#PopupType.java:: end of class: com.dmdirc.commandparser.PopupType
