~yudi-xue/gephi/gephi-preview

« back to all changes in this revision

Viewing changes to SpigotPluginUI/src/org/gephi/ui/spigot/plugin/SampleSpigotPanel.java

  • Committer: Mathieu Bastian
  • Date: 2010-06-11 14:02:07 UTC
  • Revision ID: mathieu.bastian@gmail.com-20100611140207-oy2g9lxtsz9lfyia
Add Spigot support to the current ImportAPI, create SpigotPlugin and SpigotPluginUI modules with a sample spigot implementation. Create DesktopSpigot module with the Import Spigot action, similar to the ImportDB. Changes in the ImportControllerUI to support Spigot import.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * To change this template, choose Tools | Templates
 
3
 * and open the template in the editor.
 
4
 */
 
5
 
 
6
/*
 
7
 * SampleSpigotPanel.java
 
8
 *
 
9
 * Created on 11 juin 2010, 14:47:58
 
10
 */
 
11
 
 
12
package org.gephi.ui.spigot.plugin;
 
13
 
 
14
/**
 
15
 *
 
16
 * @author Mathieu Bastian
 
17
 */
 
18
public class SampleSpigotPanel extends javax.swing.JPanel {
 
19
 
 
20
    /** Creates new form SampleSpigotPanel */
 
21
    public SampleSpigotPanel() {
 
22
        initComponents();
 
23
    }
 
24
 
 
25
    /** This method is called from within the constructor to
 
26
     * initialize the form.
 
27
     * WARNING: Do NOT modify this code. The content of this method is
 
28
     * always regenerated by the Form Editor.
 
29
     */
 
30
    @SuppressWarnings("unchecked")
 
31
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
 
32
    private void initComponents() {
 
33
 
 
34
        jLabel1 = new javax.swing.JLabel();
 
35
 
 
36
        jLabel1.setText(org.openide.util.NbBundle.getMessage(SampleSpigotPanel.class, "SampleSpigotPanel.jLabel1.text")); // NOI18N
 
37
 
 
38
        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
 
39
        this.setLayout(layout);
 
40
        layout.setHorizontalGroup(
 
41
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
 
42
            .addGroup(layout.createSequentialGroup()
 
43
                .addContainerGap()
 
44
                .addComponent(jLabel1)
 
45
                .addContainerGap(356, Short.MAX_VALUE))
 
46
        );
 
47
        layout.setVerticalGroup(
 
48
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
 
49
            .addGroup(layout.createSequentialGroup()
 
50
                .addContainerGap()
 
51
                .addComponent(jLabel1)
 
52
                .addContainerGap(275, Short.MAX_VALUE))
 
53
        );
 
54
    }// </editor-fold>//GEN-END:initComponents
 
55
 
 
56
 
 
57
    // Variables declaration - do not modify//GEN-BEGIN:variables
 
58
    private javax.swing.JLabel jLabel1;
 
59
    // End of variables declaration//GEN-END:variables
 
60
 
 
61
}