/* * Copyright 2013 Serdar. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package de.fub.maps.project.aggregator.actions.wizards.datasource; import javax.swing.JPanel; import org.openide.explorer.ExplorerManager; import org.openide.util.NbBundle; @NbBundle.Messages({"CLT_Step_Name=GPX Selection"}) public final class DatasourceVisualPanel1 extends JPanel implements ExplorerManager.Provider { private static final long serialVersionUID = 1L; private final ExplorerManager explorerManager = new ExplorerManager(); /** * Creates new form DatasourceVisualPanel1 */ public DatasourceVisualPanel1() { initComponents(); } @Override public String getName() { return Bundle.CLT_Step_Name(); } /** * This method is called from within the constructor to initialize the form. * WARNING: Do NOT modify this code. The content of this method is always * regenerated by the Form Editor. */ // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { jPanel1 = new javax.swing.JPanel(); beanTreeView = new org.openide.explorer.view.BeanTreeView(); jPanel3 = new javax.swing.JPanel(); jLabel2 = new javax.swing.JLabel(); filler5 = new javax.swing.Box.Filler(new java.awt.Dimension(0, 8), new java.awt.Dimension(0, 8), new java.awt.Dimension(32767, 8)); setBorder(javax.swing.BorderFactory.createEmptyBorder(4, 4, 4, 4)); setLayout(new javax.swing.BoxLayout(this, javax.swing.BoxLayout.Y_AXIS)); jPanel1.setLayout(new java.awt.BorderLayout()); beanTreeView.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(204, 204, 204))); beanTreeView.setPreferredSize(new java.awt.Dimension(400, 300)); beanTreeView.setRootVisible(false); jPanel1.add(beanTreeView, java.awt.BorderLayout.CENTER); add(jPanel1); jPanel3.setLayout(new java.awt.BorderLayout()); org.openide.awt.Mnemonics.setLocalizedText(jLabel2, org.openide.util.NbBundle.getMessage(DatasourceVisualPanel1.class, "DatasourceVisualPanel1.jLabel2.text")); // NOI18N jPanel3.add(jLabel2, java.awt.BorderLayout.CENTER); jPanel3.add(filler5, java.awt.BorderLayout.PAGE_START); add(jPanel3); }// </editor-fold>//GEN-END:initComponents // Variables declaration - do not modify//GEN-BEGIN:variables private org.openide.explorer.view.BeanTreeView beanTreeView; private javax.swing.Box.Filler filler5; private javax.swing.JLabel jLabel2; private javax.swing.JPanel jPanel1; private javax.swing.JPanel jPanel3; // End of variables declaration//GEN-END:variables @Override public ExplorerManager getExplorerManager() { return explorerManager; } }