//# 0 errors, 68 messages
//#
/*
    //#MigrationExtrationStep.java:1:1: class: com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep
    //#MigrationExtrationStep.java:1:1: method: com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep.com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep__static_init
 * 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.addons.ui_swing.wizard.firstrun;


import com.dmdirc.addons.ui_swing.components.text.TextLabel;

import net.miginfocom.swing.MigLayout;

/**
 * Queries the user for which core actions they wish to extract.
 */
public final class MigrationExtrationStep extends ExtractionStep {
    
    /**
     * A version number for this class. It should be changed whenever the class
     * structure is changed (or anything else that would prevent serialized
     * objects being unserialized with the new class).
     */
    private static final long serialVersionUID = 2;
    
    /**
     * Creates a new instance of StepOne.
     */
    public MigrationExtrationStep() {
        super();
    //#MigrationExtrationStep.java:46: method: void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep.com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()
    //#MigrationExtrationStep.java:46: Warning: suspicious precondition
    //#    The precondition for this.__Tag is not a contiguous range of values
    //#    severity: SUPPRESSED
    //#    class: com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep
    //#    method: void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()
    //#    suspicious precondition index: [1]
    //#input(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): __Dispatch_Table.initComponents()V
    //#input(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): com/dmdirc/addons/ui_swing/wizard/firstrun/ExtractionStep.__Descendant_Table[com/dmdirc/addons/ui_swing/wizard/firstrun/ExtractionStep]
    //#input(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): com/dmdirc/addons/ui_swing/wizard/firstrun/ExtractionStep.__Descendant_Table[com/dmdirc/addons/ui_swing/wizard/firstrun/FirstRunExtractionStep]
    //#input(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): com/dmdirc/addons/ui_swing/wizard/firstrun/ExtractionStep.__Descendant_Table[com/dmdirc/addons/ui_swing/wizard/firstrun/MigrationExtrationStep]
    //#input(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): com/dmdirc/addons/ui_swing/wizard/firstrun/ExtractionStep.__Descendant_Table[others]
    //#input(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): com/dmdirc/addons/ui_swing/wizard/firstrun/ExtractionStep.__Dispatch_Table.initComponents()V
    //#input(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): com/dmdirc/addons/ui_swing/wizard/firstrun/FirstRunExtractionStep.__Dispatch_Table.initComponents()V
    //#input(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): this
    //#input(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): this.__Tag
    //#output(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): new JCheckBox(ExtractionStep#1) num objects
    //#output(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): new JCheckBox(ExtractionStep#2) num objects
    //#output(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): this.__Tag
    //#output(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): this.actions
    //#output(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): this.plugins
    //#new obj(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): new JCheckBox(ExtractionStep#1)
    //#new obj(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): new JCheckBox(ExtractionStep#2)
    //#pre[1] (void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): this.__Tag in {com/dmdirc/addons/ui_swing/wizard/firstrun/ExtractionStep, com/dmdirc/addons/ui_swing/wizard/firstrun/FirstRunExtractionStep, com/dmdirc/addons/ui_swing/wizard/firstrun/MigrationExtrationStep}
    //#post(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): this.__Tag == old this.__Tag
    //#post(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): this.__Tag in {com/dmdirc/addons/ui_swing/wizard/firstrun/ExtractionStep, com/dmdirc/addons/ui_swing/wizard/firstrun/FirstRunExtractionStep, com/dmdirc/addons/ui_swing/wizard/firstrun/MigrationExtrationStep}
    //#post(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): this.actions == &new JCheckBox(ExtractionStep#2)
    //#post(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): this.plugins == &new JCheckBox(ExtractionStep#1)
    //#post(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): new JCheckBox(ExtractionStep#1) num objects == 1
    //#post(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): new JCheckBox(ExtractionStep#2) num objects == 1
    //#unanalyzed(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): Effects-of-calling:net.miginfocom.swing.MigLayout
    //#unanalyzed(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): Effects-of-calling:com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep:setLayout
    //#unanalyzed(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): Effects-of-calling:com.dmdirc.addons.ui_swing.components.text.TextLabel
    //#unanalyzed(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): Effects-of-calling:com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep:add
    //#unanalyzed(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): Effects-of-calling:com.dmdirc.addons.ui_swing.wizard.Step
    //#unanalyzed(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): Effects-of-calling:javax.swing.JCheckBox
    //#unanalyzed(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): Effects-of-calling:javax.swing.JCheckBox:setSelected
    //#unanalyzed(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): Effects-of-calling:initComponents
    //#unanalyzed(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): Effects-of-calling:com.dmdirc.addons.ui_swing.wizard.firstrun.FirstRunExtractionStep:setLayout
    //#unanalyzed(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): Effects-of-calling:com.dmdirc.addons.ui_swing.wizard.firstrun.FirstRunExtractionStep:add
    //#unanalyzed(void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()): Effects-of-calling:javax.swing.JPanel
    }
    //#MigrationExtrationStep.java:47: end of method: void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep.com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep()
    
    /** {@inheritDoc} */
    @Override
    protected void initComponents() {
        setLayout(new MigLayout("fillx, wrap 1"));
    //#MigrationExtrationStep.java:52: method: void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep.initComponents()
    //#MigrationExtrationStep.java:52: Warning: method not available - call not analyzed
    //#    call on void net.miginfocom.swing.MigLayout(String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep
    //#    method: void initComponents()
    //#    unanalyzed callee: void net.miginfocom.swing.MigLayout(String)
    //#MigrationExtrationStep.java:52: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep:setLayout(LayoutManager)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep
    //#    method: void initComponents()
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep:setLayout(LayoutManager)
    //#input(void initComponents()): this
    //#input(void initComponents()): this.actions
    //#input(void initComponents()): this.plugins
        
        TextLabel infoLabel;
        
        infoLabel = new TextLabel("This version of DMDirc contains an update to "
    //#MigrationExtrationStep.java:56: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.components.text.TextLabel(String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep
    //#    method: void initComponents()
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.components.text.TextLabel(String)
                + " the core plugins and actions.\n\nWould you like to extract the"
                + " core plugins to update them? Note that older plugins may not"
                + " function correctly with this version of DMDirc.");
        add(infoLabel, "growx, pushx");
    //#MigrationExtrationStep.java:60: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep:add(Component, Object)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep
    //#    method: void initComponents()
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep:add(Component, Object)
        add(plugins, "");
    //#MigrationExtrationStep.java:61: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep:add(Component, Object)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep
    //#    method: void initComponents()
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep:add(Component, Object)
        
        infoLabel = new TextLabel("Would you like to extract the default actions"
    //#MigrationExtrationStep.java:63: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.components.text.TextLabel(String)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep
    //#    method: void initComponents()
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.components.text.TextLabel(String)
                + " to update them? Any changes you have made to the default"
                + " actions will be lost.");
        add(infoLabel, "growx, pushx");
    //#MigrationExtrationStep.java:66: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep:add(Component, Object)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep
    //#    method: void initComponents()
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep:add(Component, Object)
        add(actions, "");
    //#MigrationExtrationStep.java:67: Warning: method not available - call not analyzed
    //#    call on void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep:add(Component, Object)
    //#    severity: INFORMATIONAL
    //#    class: com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep
    //#    method: void initComponents()
    //#    unanalyzed callee: void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep:add(Component, Object)
    }
    //#MigrationExtrationStep.java:68: end of method: void com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep.initComponents()
    
}
    //#output(com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep__static_init): __Descendant_Table[com/dmdirc/addons/ui_swing/wizard/firstrun/MigrationExtrationStep]
    //#output(com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep__static_init): __Dispatch_Table.getActionsState()Z
    //#output(com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep__static_init): __Dispatch_Table.getPluginsState()Z
    //#output(com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep__static_init): __Dispatch_Table.getTitle()Ljava/lang/String;
    //#output(com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep__static_init): __Dispatch_Table.initComponents()V
    //#output(com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep__static_init): com/dmdirc/addons/ui_swing/wizard/Step.__Descendant_Table[com/dmdirc/addons/ui_swing/wizard/firstrun/MigrationExtrationStep]
    //#output(com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep__static_init): com/dmdirc/addons/ui_swing/wizard/firstrun/ExtractionStep.__Descendant_Table[com/dmdirc/addons/ui_swing/wizard/firstrun/MigrationExtrationStep]
    //#post(com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep__static_init): __Descendant_Table[com/dmdirc/addons/ui_swing/wizard/firstrun/MigrationExtrationStep] == &__Dispatch_Table
    //#post(com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep__static_init): com/dmdirc/addons/ui_swing/wizard/Step.__Descendant_Table[com/dmdirc/addons/ui_swing/wizard/firstrun/MigrationExtrationStep] == &__Dispatch_Table
    //#post(com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep__static_init): com/dmdirc/addons/ui_swing/wizard/firstrun/ExtractionStep.__Descendant_Table[com/dmdirc/addons/ui_swing/wizard/firstrun/MigrationExtrationStep] == &__Dispatch_Table
    //#post(com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep__static_init): __Dispatch_Table.getActionsState()Z == &com/dmdirc/addons/ui_swing/wizard/firstrun/ExtractionStep.getActionsState
    //#post(com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep__static_init): __Dispatch_Table.getPluginsState()Z == &com/dmdirc/addons/ui_swing/wizard/firstrun/ExtractionStep.getPluginsState
    //#post(com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep__static_init): __Dispatch_Table.getTitle()Ljava/lang/String; == &com/dmdirc/addons/ui_swing/wizard/firstrun/ExtractionStep.getTitle
    //#post(com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep__static_init): __Dispatch_Table.initComponents()V == &initComponents
    //#MigrationExtrationStep.java:: end of method: com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep.com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep__static_init
    //#MigrationExtrationStep.java:: end of class: com.dmdirc.addons.ui_swing.wizard.firstrun.MigrationExtrationStep
