01: /*
02: * $RCSfile: ProductStepReadmeNode.java,v $
03: * @modification $Date: 2001/09/28 19:41:42 $
04: * @version $Id: ProductStepReadmeNode.java,v 1.1 2001/09/28 19:41:42 hfalk Exp $
05: *
06: */
07:
08: package com.memoire.vainstall.builder.util;
09:
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: /**
19: * This is
20: *
21: * @see
22: *
23: * @author Henrik Falk
24: * @version $Id: ProductStepReadmeNode.java,v 1.1 2001/09/28 19:41:42 hfalk Exp $
25: */
26: public class ProductStepReadmeNode extends AbstractVAIProductNode {
27:
28: ProductStepReadmePanel panel = null;
29:
30: private final static Border loweredBorder = new SoftBevelBorder(
31: BevelBorder.LOWERED);
32:
33: public ProductStepReadmeNode() {
34: super ();
35: }
36:
37: public String getName() {
38: return "Readme";
39: }
40:
41: public JPanel getUI() {
42: if (panel == null) {
43: panel = new ProductStepReadmePanel();
44: panel.setBorder(loweredBorder);
45: }
46:
47: return panel;
48: }
49:
50: public String getTitle() {
51: return "Readme Step";
52: }
53:
54: public ImageIcon getIcon() {
55: return new javax.swing.ImageIcon(getClass().getResource(
56: "/com/memoire/vainstall/builder/images/New16.gif"));
57: }
58:
59: public void start() {
60: ((ProductStepReadmePanel) getUI()).initialize(getModel());
61: }
62:
63: public void stop() {
64: ((ProductStepReadmePanel) getUI()).stop();
65: }
66:
67: public void save() {
68: }
69:
70: public JPopupMenu getPopupMenu() {
71: return null;
72: }
73:
74: }
|