Examples of IzPanel


Examples of com.izforge.izpack.installer.IzPanel

     */
    private ArrayList<UrlItem> getHelpUrls() {
        List<IzPanel> panels = idata.panels;
        ArrayList<UrlItem> helpUrls = new ArrayList<UrlItem>(panels.size());
        for (int i = 0; i < panels.size(); i++) {
            IzPanel izPanel = panels.get(i);
            if (!izPanel.isHidden()) {
                UrlItem item = getHelpUrl(izPanel);

                if (item != null) {
                    helpUrls.add(item);
                }
View Full Code Here

Examples of com.izforge.izpack.installer.IzPanel

    /**
     * Sets the help page for the given panel shown on the editor pane.
     * @param panelNumber The ordinal numer of the IzPanel.
     */
    public void setHelpPage(int panelNumber) {
        IzPanel panel = idata.panels.get(panelNumber);
        UrlItem item = getHelpUrl(panel);

        if (item != null) {
            stepsComboBox.setSelectedItem(item);
        }
View Full Code Here

Examples of com.izforge.izpack.installer.IzPanel

    selectedPacks.clear();
    selectedPacksText = "";

    // now we need to tell the packs panel to recreate its XML data.
    for (int i = 0;  i < idata.panels.size();   i++) {
      IzPanel panel = (IzPanel) idata.panels.get(i);
      if ("packsPanel".equals(panel.metadata.getPanelid())) {
        IXMLElement panelXML = idata.xmlData.getChildAtIndex(i);
        while (panelXML.hasChildren())
          panelXML.removeChild(panelXML.getChildAtIndex(0));
        panel.makeXMLData(panelXML);
        break;
      }
    }
  }
View Full Code Here

Examples of com.izforge.izpack.installer.IzPanel

                packsPanelCls = Class.forName( PANEL_PKG + "." + PACKS_PANEL );
             } catch( Exception e ) {
               e.printStackTrace();
               throw new RuntimeException( e );
             }
             IzPanel packsPanel = null;
             for( int i = 0; i < panels.size(); ++i ) {
                packsPanel = (IzPanel)panels.get(i);
                if( packsPanelCls.isInstance( packsPanel )) { // there's only one
                   break;
                }
                packsPanel = null;
             }
             if( packsPanel != null ) {
                Debug.trace( "-ValidatePackSelections.panelDeactivate() - calling ImgPacks panel to make new xml." );
                packsPanel.makeXMLData( panelRoot );
             }
          }
       }
    }
View Full Code Here

Examples of com.izforge.izpack.installer.IzPanel

                packsPanelCls = Class.forName( PANEL_PKG + "." + PACKS_PANEL );
             } catch( Exception e ) {
               e.printStackTrace();
               throw new RuntimeException( e );
             }
             IzPanel packsPanel = null;
             for( int i = 0; i < panels.size(); ++i ) {
                packsPanel = (IzPanel)panels.get(i);
                if( packsPanelCls.isInstance( packsPanel )) { // there's only one
                   break;
                }
                packsPanel = null;
             }
             if( packsPanel != null ) {
                Debug.trace( "-ValidatePackSelections.panelDeactivate() - calling ImgPacks panel to make new xml." );
                packsPanel.makeXMLData( panelRoot );
             }
          }
       }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.