1 7 8 package com.memoire.vainstall.builder.util; 9 10 import com.memoire.vainstall.VAGlobals; 11 import com.memoire.vainstall.builder.gui.ProductStepReadmePanel; 12 13 import java.awt.*; 14 import javax.swing.*; 15 import javax.swing.border.*; 16 import javax.swing.tree.*; 17 18 26 public class ProductStepReadmeNode extends AbstractVAIProductNode { 27 28 ProductStepReadmePanel panel = null; 29 30 private final static Border loweredBorder = new SoftBevelBorder(BevelBorder.LOWERED); 31 32 public ProductStepReadmeNode() { 33 super(); 34 } 35 36 public String getName() { 37 return "Readme"; 38 } 39 40 public JPanel getUI() { 41 if (panel == null) { 42 panel = new ProductStepReadmePanel(); 43 panel.setBorder(loweredBorder); 44 } 45 46 return panel; 47 } 48 49 public String getTitle() { 50 return "Readme Step"; 51 } 52 53 public ImageIcon getIcon() { 54 return new javax.swing.ImageIcon (getClass().getResource("/com/memoire/vainstall/builder/images/New16.gif")); 55 } 56 57 public void start() { 58 ((ProductStepReadmePanel)getUI()).initialize(getModel()); 59 } 60 61 public void stop() { 62 ((ProductStepReadmePanel)getUI()).stop(); 63 } 64 65 public void save() { 66 } 67 68 public JPopupMenu getPopupMenu() { 69 return null; 70 } 71 72 } 73 | Popular Tags |