package EventsAndGlassPane;
import DisplayProject.Array_Of_DisplayNode;
import DisplayProject.Array_Of_OutlineColumnDesc;
import DisplayProject.Constants;
import DisplayProject.DataField;
import DisplayProject.DisplayNode;
import DisplayProject.DropListModel;
import DisplayProject.GridField;
import DisplayProject.OutlineColumnDesc;
import DisplayProject.UDSWindow;
import DisplayProject.UIutils;
import DisplayProject.WindowManager;
import DisplayProject.WindowUsageMap;
import DisplayProject.actions.AppletConnectionInfo;
import DisplayProject.actions.ExitOnTab;
import DisplayProject.actions.HeightPolicy;
import DisplayProject.actions.RootNode;
import DisplayProject.actions.StatusText;
import DisplayProject.actions.TreeRootVisible;
import DisplayProject.actions.UserWindow;
import DisplayProject.actions.WidthPolicy;
import DisplayProject.binding.BindingManager;
import DisplayProject.binding.beans.Observable;
import DisplayProject.controls.DropList;
import DisplayProject.controls.ListView;
import DisplayProject.controls.MultiLineTextField;
import DisplayProject.controls.OutlineField;
import DisplayProject.controls.TreeViewWidget;
import DisplayProject.factory.CompoundFieldFactory;
import DisplayProject.factory.PushButtonFactory;
import DisplayProject.plaf.Win32LookAndFeel;
import EventsAndGlassPane.Array_Of_ClassNode;
import EventsAndGlassPane.ClassNode;
import EventsAndGlassPane.Top;
import Framework.Array_Of_ListElement;
import Framework.ErrorMgr;
import Framework.ForteKeyboardFocusManager;
import Framework.FrameworkUtils;
import Framework.ListElement;
import Framework.RuntimeProperties;
import Framework.TextData;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GridBagConstraints;
import java.awt.Insets;
import java.awt.KeyboardFocusManager;
import java.io.Serializable;
import javax.help.CSH;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextField;
import javax.swing.UIManager;
/**
* Bottom<p>
* <p>
* @author Generated from Forte
* @since 19-Nov-2008
*/
@RuntimeProperties(isDistributed=false, isAnchored=false, isShared=false, isTransactional=false)
@UDSWindow()
@SuppressWarnings("serial")
public class Bottom
extends Top
implements Serializable, Observable
{
// ----------
// Attributes
// ----------
protected BindingManager bindingManager = null;
// ------------
// Constructors
// ------------
public Bottom() {
// Explicitly call the superclass constructor to prevent the implicit call
super();
this.initialize();
Array_Of_ClassNode<ClassNode> nodes = new Array_Of_ClassNode<ClassNode>();
this.setRightTree(new ClassNode(true, true, true));
this.setTree(new DisplayNode(true, true, true, DisplayNode.qq_Resolver.cISFILLED_ISFOLDER_ISOPENED));
this.setLv(new ClassNode(true, true));
for (int i = 1; i <= 50; i++) {
TextData t = new TextData("AAA");
nodes.set(i-1, new ClassNode(t.concat(i), i*2));
}
this.getqq_lv().setViewNodes((Array_Of_DisplayNode)nodes);
nodes = new Array_Of_ClassNode<ClassNode>();
for (int i = 1; i <= 50; i++) {
TextData t = new TextData("BBB");
nodes.set(i-1, new ClassNode(t.concat(i), i*2));
nodes.get(i-1).setParent(this.getRightTree());
}
for (int i = 1; i <= 50; i++) {
TextData t = new TextData("CCC");
nodes.set(i-1, new ClassNode(t.concat(i), i*2));
nodes.get(i-1).setParent(this.getTree());
}
this.setDf(new TextData());
this.setTf(new TextData());
}
// ----------------------
// Accessors and Mutators
// ----------------------
protected BindingManager getBindingManager() {
if (this.bindingManager == null) {
this.bindingManager = new BindingManager(this);
}
return bindingManager;
}
// -------
// Methods
// -------
/**
* runner<p>
* <p>
*/
public void runner() {
this.display();
}
// ------------------
// Window Definitions
// ------------------
// <editor-fold defaultstate="collapsed" desc="Window Definitions">
private int qq_defaultSet = 1;
private int qq_msgNumber = 0;
private int qq_msgSet = 0;
public GridField qq_Class_btns;
public GridField qq_GridField21;
public JButton qq_EventHandler_Btn;
public JButton qq_JButton35;
public JButton qq_compileAll_btn;
public JButton qq_menuworkshop_Btn;
public JButton qq_newClassConstant_btn;
public JButton qq_newEvent_btn;
public JButton qq_newMethod_btn;
public JButton qq_newUnmappedAttribute_btn;
public JButton qq_newVirtualAttribute_btn;
public JButton qq_saveAll_btn;
public JButton qq_windowWorkshop_Btn;
public OutlineColumnDesc qq_lv_DVNodeText;
public OutlineColumnDesc qq_lv_Size;
public OutlineColumnDesc qq_rightTree_DVNodeText;
/**
* qq_newClassConstant_btn: transformed from: qqds_PictureButton
* TagId=15
* isInherited=FALSE
*/
public JButton getqq_newClassConstant_btn() {
if (qq_newClassConstant_btn == null) {
qq_newClassConstant_btn = PushButtonFactory.newInstance("newClassConstant_btn");
qq_newClassConstant_btn.setIcon(new ImageIcon(Bottom.class.getResource("Bottom.qq_newClassConstant_btn.png")));
qq_newClassConstant_btn.setVerifyInputWhenFocusTarget(true);
WidthPolicy.set(qq_newClassConstant_btn, Constants.SP_NATURAL);
HeightPolicy.set(qq_newClassConstant_btn, Constants.SP_NATURAL);
qq_newClassConstant_btn.setSize(new Dimension(24, 24));
qq_newClassConstant_btn.setMinimumSize(new Dimension(24, 24));
qq_newClassConstant_btn.setPreferredSize(new Dimension(24, 24));
// HelpTopic
CSH.setHelpIDString(qq_newClassConstant_btn, "");
// FloatOverText
qq_newClassConstant_btn.setToolTipText("New Constant");
// StatusText
StatusText.set(qq_newClassConstant_btn, "Creates a new constant for the class.");
}
return qq_newClassConstant_btn;
}
public void setqq_newClassConstant_btn(JButton value) {
JButton oldValue = qq_newClassConstant_btn;
qq_newClassConstant_btn = value;
this.qq_Listeners.firePropertyChange("qq_newClassConstant_btn", oldValue, value);
}
/**
* qq_EventHandler_Btn: transformed from: qqds_PictureButton
* TagId=20
* isInherited=FALSE
*/
public JButton getqq_EventHandler_Btn() {
if (qq_EventHandler_Btn == null) {
qq_EventHandler_Btn = PushButtonFactory.newInstance("EventHandler_Btn");
qq_EventHandler_Btn.setIcon(new ImageIcon(Bottom.class.getResource("Bottom.qq_EventHandler_Btn.png")));
qq_EventHandler_Btn.setVerifyInputWhenFocusTarget(true);
WidthPolicy.set(qq_EventHandler_Btn, Constants.SP_NATURAL);
HeightPolicy.set(qq_EventHandler_Btn, Constants.SP_NATURAL);
qq_EventHandler_Btn.setSize(new Dimension(24, 24));
qq_EventHandler_Btn.setMinimumSize(new Dimension(24, 24));
qq_EventHandler_Btn.setPreferredSize(new Dimension(24, 24));
// HelpTopic
CSH.setHelpIDString(qq_EventHandler_Btn, "");
// FloatOverText
qq_EventHandler_Btn.setToolTipText("New Event Handler");
// StatusText
StatusText.set(qq_EventHandler_Btn, "Creates a new event handler.");
}
return qq_EventHandler_Btn;
}
public void setqq_EventHandler_Btn(JButton value) {
JButton oldValue = qq_EventHandler_Btn;
qq_EventHandler_Btn = value;
this.qq_Listeners.firePropertyChange("qq_EventHandler_Btn", oldValue, value);
}
/**
* qq_newMethod_btn: transformed from: qqds_PictureButton
* TagId=19
* isInherited=FALSE
*/
public JButton getqq_newMethod_btn() {
if (qq_newMethod_btn == null) {
qq_newMethod_btn = PushButtonFactory.newInstance("newMethod_btn");
qq_newMethod_btn.setIcon(new ImageIcon(Bottom.class.getResource("Bottom.qq_newMethod_btn.png")));
qq_newMethod_btn.setVerifyInputWhenFocusTarget(true);
WidthPolicy.set(qq_newMethod_btn, Constants.SP_NATURAL);
HeightPolicy.set(qq_newMethod_btn, Constants.SP_NATURAL);
qq_newMethod_btn.setSize(new Dimension(24, 24));
qq_newMethod_btn.setMinimumSize(new Dimension(24, 24));
qq_newMethod_btn.setPreferredSize(new Dimension(24, 24));
// HelpTopic
CSH.setHelpIDString(qq_newMethod_btn, "");
// FloatOverText
qq_newMethod_btn.setToolTipText("New Method");
// StatusText
StatusText.set(qq_newMethod_btn, "Creates a new method.");
}
return qq_newMethod_btn;
}
public void setqq_newMethod_btn(JButton value) {
JButton oldValue = qq_newMethod_btn;
qq_newMethod_btn = value;
this.qq_Listeners.firePropertyChange("qq_newMethod_btn", oldValue, value);
}
/**
* qq_newEvent_btn: transformed from: qqds_PictureButton
* TagId=18
* isInherited=FALSE
*/
public JButton getqq_newEvent_btn() {
if (qq_newEvent_btn == null) {
qq_newEvent_btn = PushButtonFactory.newInstance("newEvent_btn");
qq_newEvent_btn.setIcon(new ImageIcon(Bottom.class.getResource("Bottom.qq_newEvent_btn.png")));
qq_newEvent_btn.setVerifyInputWhenFocusTarget(true);
WidthPolicy.set(qq_newEvent_btn, Constants.SP_NATURAL);
HeightPolicy.set(qq_newEvent_btn, Constants.SP_NATURAL);
qq_newEvent_btn.setSize(new Dimension(24, 24));
qq_newEvent_btn.setMinimumSize(new Dimension(24, 24));
qq_newEvent_btn.setPreferredSize(new Dimension(24, 24));
// HelpTopic
CSH.setHelpIDString(qq_newEvent_btn, "");
// FloatOverText
qq_newEvent_btn.setToolTipText("New Event");
// StatusText
StatusText.set(qq_newEvent_btn, "Creates a new event.");
}
return qq_newEvent_btn;
}
public void setqq_newEvent_btn(JButton value) {
JButton oldValue = qq_newEvent_btn;
qq_newEvent_btn = value;
this.qq_Listeners.firePropertyChange("qq_newEvent_btn", oldValue, value);
}
/**
* qq_newVirtualAttribute_btn: transformed from: qqds_PictureButton
* TagId=17
* isInherited=FALSE
*/
public JButton getqq_newVirtualAttribute_btn() {
if (qq_newVirtualAttribute_btn == null) {
qq_newVirtualAttribute_btn = PushButtonFactory.newInstance("newVirtualAttribute_btn");
qq_newVirtualAttribute_btn.setIcon(new ImageIcon(Bottom.class.getResource("Bottom.qq_newVirtualAttribute_btn.png")));
qq_newVirtualAttribute_btn.setVerifyInputWhenFocusTarget(true);
WidthPolicy.set(qq_newVirtualAttribute_btn, Constants.SP_NATURAL);
HeightPolicy.set(qq_newVirtualAttribute_btn, Constants.SP_NATURAL);
qq_newVirtualAttribute_btn.setSize(new Dimension(24, 24));
qq_newVirtualAttribute_btn.setMinimumSize(new Dimension(24, 24));
qq_newVirtualAttribute_btn.setPreferredSize(new Dimension(24, 24));
// HelpTopic
CSH.setHelpIDString(qq_newVirtualAttribute_btn, "");
// FloatOverText
qq_newVirtualAttribute_btn.setToolTipText("New Virtual Attribute");
// StatusText
StatusText.set(qq_newVirtualAttribute_btn, "Creates a new virtual attribute.");
}
return qq_newVirtualAttribute_btn;
}
public void setqq_newVirtualAttribute_btn(JButton value) {
JButton oldValue = qq_newVirtualAttribute_btn;
qq_newVirtualAttribute_btn = value;
this.qq_Listeners.firePropertyChange("qq_newVirtualAttribute_btn", oldValue, value);
}
/**
* qq_newUnmappedAttribute_btn: transformed from: qqds_PictureButton
* TagId=16
* isInherited=FALSE
*/
public JButton getqq_newUnmappedAttribute_btn() {
if (qq_newUnmappedAttribute_btn == null) {
qq_newUnmappedAttribute_btn = PushButtonFactory.newInstance("newUnmappedAttribute_btn");
qq_newUnmappedAttribute_btn.setIcon(new ImageIcon(Bottom.class.getResource("Bottom.qq_newUnmappedAttribute_btn.png")));
qq_newUnmappedAttribute_btn.setVerifyInputWhenFocusTarget(true);
WidthPolicy.set(qq_newUnmappedAttribute_btn, Constants.SP_NATURAL);
HeightPolicy.set(qq_newUnmappedAttribute_btn, Constants.SP_NATURAL);
qq_newUnmappedAttribute_btn.setSize(new Dimension(24, 24));
qq_newUnmappedAttribute_btn.setMinimumSize(new Dimension(24, 24));
qq_newUnmappedAttribute_btn.setPreferredSize(new Dimension(24, 24));
// HelpTopic
CSH.setHelpIDString(qq_newUnmappedAttribute_btn, "");
// FloatOverText
qq_newUnmappedAttribute_btn.setToolTipText("New Attribute");
// StatusText
StatusText.set(qq_newUnmappedAttribute_btn, "Creates a new attribute.");
}
return qq_newUnmappedAttribute_btn;
}
public void setqq_newUnmappedAttribute_btn(JButton value) {
JButton oldValue = qq_newUnmappedAttribute_btn;
qq_newUnmappedAttribute_btn = value;
this.qq_Listeners.firePropertyChange("qq_newUnmappedAttribute_btn", oldValue, value);
}
/**
* qq_Class_btns: transformed from: qqds_GridField
* TagId=14
* isInherited=FALSE
* In forte this was a 6x1 grid field.
* There are no cell margins set
* The width policy is set to Natural, and the height policy is set to Natural.
*/
protected void setqq_Class_btnsProperties() {
qq_Class_btns.setCellGravity(Constants.CG_CENTER);
qq_Class_btns.setIgnoreInvisibleChildren(true);
qq_Class_btns.setCollapsed(true);
qq_Class_btns.setHeightPolicy(Constants.SP_NATURAL);
qq_Class_btns.setWidthPolicy(Constants.SP_NATURAL);
qq_Class_btns.setBackground(null);
}
public GridField getqq_Class_btns() {
if (qq_Class_btns == null) {
qq_Class_btns = CompoundFieldFactory.newGridField("Class_btns", false);
setqq_Class_btnsProperties();
qq_Class_btns.setMinimumSize(new Dimension(144, 24));
GridBagConstraints qq_gbc = new GridBagConstraints();
qq_gbc.gridx = 0; // Column 1
qq_gbc.gridy = 0; // Row 1
qq_gbc.weightx = 0;
qq_gbc.weighty = 0;
qq_gbc.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_Class_btns.add( getqq_newUnmappedAttribute_btn(), qq_gbc );
GridBagConstraints qq_gbc1 = new GridBagConstraints();
qq_gbc1.gridx = 1; // Column 2
qq_gbc1.gridy = 0; // Row 1
qq_gbc1.weightx = 0;
qq_gbc1.weighty = 0;
qq_gbc1.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
qq_gbc1.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc1.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_Class_btns.add( getqq_newVirtualAttribute_btn(), qq_gbc1 );
GridBagConstraints qq_gbc2 = new GridBagConstraints();
qq_gbc2.gridx = 2; // Column 3
qq_gbc2.gridy = 0; // Row 1
qq_gbc2.weightx = 0;
qq_gbc2.weighty = 0;
qq_gbc2.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
qq_gbc2.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc2.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_Class_btns.add( getqq_newMethod_btn(), qq_gbc2 );
GridBagConstraints qq_gbc3 = new GridBagConstraints();
qq_gbc3.gridx = 3; // Column 4
qq_gbc3.gridy = 0; // Row 1
qq_gbc3.weightx = 0;
qq_gbc3.weighty = 0;
qq_gbc3.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
qq_gbc3.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc3.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_Class_btns.add( getqq_newEvent_btn(), qq_gbc3 );
GridBagConstraints qq_gbc4 = new GridBagConstraints();
qq_gbc4.gridx = 4; // Column 5
qq_gbc4.gridy = 0; // Row 1
qq_gbc4.weightx = 0;
qq_gbc4.weighty = 0;
qq_gbc4.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
qq_gbc4.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc4.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_Class_btns.add( getqq_EventHandler_Btn(), qq_gbc4 );
GridBagConstraints qq_gbc5 = new GridBagConstraints();
qq_gbc5.gridx = 5; // Column 6
qq_gbc5.gridy = 0; // Row 1
qq_gbc5.weightx = 0;
qq_gbc5.weighty = 0;
qq_gbc5.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
qq_gbc5.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc5.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_Class_btns.add( getqq_newClassConstant_btn(), qq_gbc5 );
}
return qq_Class_btns;
}
public void setqq_Class_btns(GridField value) {
GridField oldValue = qq_Class_btns;
qq_Class_btns = value;
this.qq_Listeners.firePropertyChange("qq_Class_btns", oldValue, value);
}
/**
* qq_menuworkshop_Btn: transformed from: qqds_PictureButton
* TagId=25
* isInherited=FALSE
*/
public JButton getqq_menuworkshop_Btn() {
if (qq_menuworkshop_Btn == null) {
qq_menuworkshop_Btn = PushButtonFactory.newInstance("menuworkshop_Btn");
qq_menuworkshop_Btn.setIcon(new ImageIcon(Bottom.class.getResource("Bottom.qq_menuworkshop_Btn.png")));
qq_menuworkshop_Btn.setVerifyInputWhenFocusTarget(true);
WidthPolicy.set(qq_menuworkshop_Btn, Constants.SP_NATURAL);
HeightPolicy.set(qq_menuworkshop_Btn, Constants.SP_NATURAL);
qq_menuworkshop_Btn.setSize(new Dimension(24, 24));
qq_menuworkshop_Btn.setMinimumSize(new Dimension(24, 24));
qq_menuworkshop_Btn.setPreferredSize(new Dimension(24, 24));
// HelpTopic
CSH.setHelpIDString(qq_menuworkshop_Btn, "");
// FloatOverText
qq_menuworkshop_Btn.setToolTipText("New Submenu");
// StatusText
StatusText.set(qq_menuworkshop_Btn, "Creates a new submenu.");
}
return qq_menuworkshop_Btn;
}
public void setqq_menuworkshop_Btn(JButton value) {
JButton oldValue = qq_menuworkshop_Btn;
qq_menuworkshop_Btn = value;
this.qq_Listeners.firePropertyChange("qq_menuworkshop_Btn", oldValue, value);
}
/**
* qq_saveAll_btn: transformed from: qqds_PictureButton
* TagId=24
* isInherited=FALSE
*/
public JButton getqq_saveAll_btn() {
if (qq_saveAll_btn == null) {
qq_saveAll_btn = PushButtonFactory.newInstance("saveAll_btn");
qq_saveAll_btn.setIcon(new ImageIcon(Bottom.class.getResource("Bottom.qq_saveAll_btn.png")));
qq_saveAll_btn.setVerifyInputWhenFocusTarget(true);
WidthPolicy.set(qq_saveAll_btn, Constants.SP_NATURAL);
HeightPolicy.set(qq_saveAll_btn, Constants.SP_NATURAL);
qq_saveAll_btn.setSize(new Dimension(24, 24));
qq_saveAll_btn.setMinimumSize(new Dimension(24, 24));
qq_saveAll_btn.setPreferredSize(new Dimension(24, 24));
// HelpTopic
CSH.setHelpIDString(qq_saveAll_btn, "");
// FloatOverText
qq_saveAll_btn.setToolTipText("Save All");
// StatusText
StatusText.set(qq_saveAll_btn, "Writes all changes made in the workspace to disk.");
}
return qq_saveAll_btn;
}
public void setqq_saveAll_btn(JButton value) {
JButton oldValue = qq_saveAll_btn;
qq_saveAll_btn = value;
this.qq_Listeners.firePropertyChange("qq_saveAll_btn", oldValue, value);
}
/**
* qq_compileAll_btn: transformed from: qqds_PictureButton
* TagId=23
* isInherited=FALSE
*/
public JButton getqq_compileAll_btn() {
if (qq_compileAll_btn == null) {
qq_compileAll_btn = PushButtonFactory.newInstance("compileAll_btn");
qq_compileAll_btn.setIcon(new ImageIcon(Bottom.class.getResource("Bottom.qq_compileAll_btn.png")));
qq_compileAll_btn.setVerifyInputWhenFocusTarget(true);
WidthPolicy.set(qq_compileAll_btn, Constants.SP_NATURAL);
HeightPolicy.set(qq_compileAll_btn, Constants.SP_NATURAL);
qq_compileAll_btn.setSize(new Dimension(24, 24));
qq_compileAll_btn.setMinimumSize(new Dimension(24, 24));
qq_compileAll_btn.setPreferredSize(new Dimension(24, 24));
// HelpTopic
CSH.setHelpIDString(qq_compileAll_btn, "");
// FloatOverText
qq_compileAll_btn.setToolTipText("Compile");
// StatusText
StatusText.set(qq_compileAll_btn, "Compiles the entire class.");
}
return qq_compileAll_btn;
}
public void setqq_compileAll_btn(JButton value) {
JButton oldValue = qq_compileAll_btn;
qq_compileAll_btn = value;
this.qq_Listeners.firePropertyChange("qq_compileAll_btn", oldValue, value);
}
/**
* qq_windowWorkshop_Btn: transformed from: qqds_PictureButton
* TagId=22
* isInherited=FALSE
*/
public JButton getqq_windowWorkshop_Btn() {
if (qq_windowWorkshop_Btn == null) {
qq_windowWorkshop_Btn = PushButtonFactory.newInstance("windowWorkshop_Btn");
qq_windowWorkshop_Btn.setIcon(new ImageIcon(Bottom.class.getResource("Bottom.qq_windowWorkshop_Btn.png")));
qq_windowWorkshop_Btn.setVerifyInputWhenFocusTarget(true);
WidthPolicy.set(qq_windowWorkshop_Btn, Constants.SP_NATURAL);
HeightPolicy.set(qq_windowWorkshop_Btn, Constants.SP_NATURAL);
qq_windowWorkshop_Btn.setSize(new Dimension(24, 24));
qq_windowWorkshop_Btn.setMinimumSize(new Dimension(24, 24));
qq_windowWorkshop_Btn.setPreferredSize(new Dimension(24, 24));
// HelpTopic
CSH.setHelpIDString(qq_windowWorkshop_Btn, "");
// FloatOverText
qq_windowWorkshop_Btn.setToolTipText("Window");
// StatusText
StatusText.set(qq_windowWorkshop_Btn, "Opens the window workshop.");
}
return qq_windowWorkshop_Btn;
}
public void setqq_windowWorkshop_Btn(JButton value) {
JButton oldValue = qq_windowWorkshop_Btn;
qq_windowWorkshop_Btn = value;
this.qq_Listeners.firePropertyChange("qq_windowWorkshop_Btn", oldValue, value);
}
/**
* qq_GridField21: transformed from: qqds_GridField
* TagId=21
* isInherited=FALSE
* In forte this was a 4x1 grid field.
* There are no cell margins set
* The width policy is set to Natural, and the height policy is set to Natural.
*/
protected void setqq_GridField21Properties() {
qq_GridField21.setCellGravity(Constants.CG_CENTER);
qq_GridField21.setIgnoreInvisibleChildren(true);
qq_GridField21.setCollapsed(true);
qq_GridField21.setHeightPolicy(Constants.SP_NATURAL);
qq_GridField21.setWidthPolicy(Constants.SP_NATURAL);
qq_GridField21.setBackground(null);
}
public GridField getqq_GridField21() {
if (qq_GridField21 == null) {
qq_GridField21 = CompoundFieldFactory.newGridField("qq_GridField21", true);
setqq_GridField21Properties();
qq_GridField21.setMinimumSize(new Dimension(96, 24));
GridBagConstraints qq_gbc = new GridBagConstraints();
qq_gbc.gridx = 0; // Column 1
qq_gbc.gridy = 0; // Row 1
qq_gbc.weightx = 0;
qq_gbc.weighty = 0;
qq_gbc.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_GridField21.add( getqq_compileAll_btn(), qq_gbc );
GridBagConstraints qq_gbc1 = new GridBagConstraints();
qq_gbc1.gridx = 1; // Column 2
qq_gbc1.gridy = 0; // Row 1
qq_gbc1.weightx = 0;
qq_gbc1.weighty = 0;
qq_gbc1.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
qq_gbc1.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc1.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_GridField21.add( getqq_saveAll_btn(), qq_gbc1 );
GridBagConstraints qq_gbc2 = new GridBagConstraints();
qq_gbc2.gridx = 2; // Column 3
qq_gbc2.gridy = 0; // Row 1
qq_gbc2.weightx = 0;
qq_gbc2.weighty = 0;
qq_gbc2.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
qq_gbc2.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc2.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_GridField21.add( getqq_windowWorkshop_Btn(), qq_gbc2 );
GridBagConstraints qq_gbc3 = new GridBagConstraints();
qq_gbc3.gridx = 3; // Column 4
qq_gbc3.gridy = 0; // Row 1
qq_gbc3.weightx = 0;
qq_gbc3.weighty = 0;
qq_gbc3.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
qq_gbc3.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc3.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_GridField21.add( getqq_menuworkshop_Btn(), qq_gbc3 );
}
return qq_GridField21;
}
public void setqq_GridField21(GridField value) {
GridField oldValue = qq_GridField21;
qq_GridField21 = value;
this.qq_Listeners.firePropertyChange("qq_GridField21", oldValue, value);
}
/**
* qq_JButton35: transformed from: qqds_PictureButton
* TagId=35
* isInherited=FALSE
*/
public JButton getqq_JButton35() {
if (qq_JButton35 == null) {
qq_JButton35 = PushButtonFactory.newInstance("");
qq_JButton35.setIcon(new ImageIcon(Bottom.class.getResource("Bottom.qq_JButton35.png")));
qq_JButton35.setVerifyInputWhenFocusTarget(true);
WidthPolicy.set(qq_JButton35, Constants.SP_NATURAL);
HeightPolicy.set(qq_JButton35, Constants.SP_NATURAL);
qq_JButton35.setSize(new Dimension(24, 24));
qq_JButton35.setMinimumSize(new Dimension(24, 24));
qq_JButton35.setPreferredSize(new Dimension(24, 24));
}
return qq_JButton35;
}
public void setqq_JButton35(JButton value) {
JButton oldValue = qq_JButton35;
qq_JButton35 = value;
this.qq_Listeners.firePropertyChange("qq_JButton35", oldValue, value);
}
/**
* qq_ToolBar: transformed from: qqds_GridField
* TagId=13
* isInherited=TRUE
* In forte this was a 3x2 grid field.
* The cell margins are all 20 mils
* The width policy is set to Natural, and the height policy is set to Natural.
*/
protected void setqq_ToolBarProperties() {
super.setqq_ToolBarProperties();
qq_ToolBar.setHeightPolicy(Constants.SP_NATURAL);
qq_ToolBar.setWidthPolicy(Constants.SP_NATURAL);
qq_ToolBar.setBackground(null);
}
public GridField getqq_ToolBar() {
if (qq_ToolBar == null) {
qq_ToolBar = CompoundFieldFactory.newGridField("ToolBar", false);
setqq_ToolBarProperties();
GridBagConstraints qq_gbc = new GridBagConstraints();
qq_gbc.gridx = 2; // Column 3
qq_gbc.gridy = 0; // Row 1
qq_gbc.weightx = 0;
qq_gbc.weighty = 0;
qq_gbc.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_ToolBar.add( getqq_JButton35(), qq_gbc );
GridBagConstraints qq_gbc1 = new GridBagConstraints();
qq_gbc1.gridx = 0; // Column 1
qq_gbc1.gridy = 1; // Row 2
qq_gbc1.weightx = 0;
qq_gbc1.weighty = 0;
qq_gbc1.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER
qq_gbc1.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc1.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_ToolBar.add( getqq_Class_btns(), qq_gbc1 );
GridBagConstraints qq_gbc2 = new GridBagConstraints();
qq_gbc2.gridx = 1; // Column 2
qq_gbc2.gridy = 1; // Row 2
qq_gbc2.weightx = 0;
qq_gbc2.weighty = 0;
qq_gbc2.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER
qq_gbc2.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc2.insets = new Insets(0, 8, 0, 0); // Top, Left, Bottom, Right Margin
qq_ToolBar.add( getqq_GridField21(), qq_gbc2 );
}
return qq_ToolBar;
}
public void setqq_ToolBar(GridField value) {
GridField oldValue = qq_ToolBar;
qq_ToolBar = value;
this.qq_Listeners.firePropertyChange("qq_ToolBar", oldValue, value);
}
/**
* qq_statusLine: transformed from: qqds_DataField
* TagId=31
* isInherited=TRUE
*/
public DataField getqq_statusLine() {
if (qq_statusLine == null) {
// Mask type: MK_NONE
super.getqq_statusLine();
qq_statusLine.setOriginalFormatText(null);
qq_statusLine.setHorizontalAlignment(JTextField.LEFT);
qq_statusLine.setBorder(null);
qq_statusLine.setBackground(null);
getBindingManager().bindComponent(qq_statusLine, "statusLine");
}
return qq_statusLine;
}
public void setqq_statusLine(DataField value) {
DataField oldValue = qq_statusLine;
qq_statusLine = value;
this.qq_Listeners.firePropertyChange("qq_statusLine", oldValue, value);
}
/**
* qq_tf_sp: transformed from: qqds_TextField
* TagId=30
* isInherited=TRUE
*/
public JScrollPane getqq_tf_sp() {
if (qq_tf_sp == null) {
super.getqq_tf_sp();
qq_tf_sp.setName("tf");
qq_tf_sp.setViewportView(getqq_tf());
qq_tf_sp.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
qq_tf_sp.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
}
return qq_tf_sp;
}
public void setqq_tf_sp(JScrollPane value) {
JScrollPane oldValue = qq_tf_sp;
qq_tf_sp = value;
this.qq_Listeners.firePropertyChange("qq_tf_sp", oldValue, value);
}
/**
* qq_tf: transformed from: qqds_TextField
* TagId=30
* isInherited=TRUE
*/
public MultiLineTextField getqq_tf() {
if (qq_tf == null) {
super.getqq_tf();
super.getqq_tf();
qq_tf.setRows(8);
qq_tf.setColumns(34);
getBindingManager().bindComponent(qq_tf, "tf");
ExitOnTab.set(qq_tf, true);
}
return qq_tf;
}
public void setqq_tf(MultiLineTextField value) {
MultiLineTextField oldValue = qq_tf;
qq_tf = value;
this.qq_Listeners.firePropertyChange("qq_tf", oldValue, value);
}
/**
* qq_df: transformed from: qqds_DataField
* TagId=29
* isInherited=TRUE
*/
public DataField getqq_df() {
if (qq_df == null) {
// Mask type: MK_NONE
super.getqq_df();
qq_df.setOriginalFormatText(null);
qq_df.setHorizontalAlignment(JTextField.LEFT);
qq_df.setValidateOnKeystroke(true);
getBindingManager().bindComponent(qq_df, "df");
}
return qq_df;
}
public void setqq_df(DataField value) {
DataField oldValue = qq_df;
qq_df = value;
this.qq_Listeners.firePropertyChange("qq_df", oldValue, value);
}
/**
* qq_rightTree: transformed from: qqds_OutlineField
* TagId=28
* isInherited=TRUE
*/
public OutlineField getqq_rightTree() {
if (qq_rightTree == null) {
super.getqq_rightTree();
Array_Of_OutlineColumnDesc<OutlineColumnDesc> columns = new Array_Of_OutlineColumnDesc<OutlineColumnDesc>();
columns.add(getqq_rightTree_DVNodeText());
qq_rightTree.setColumnList(columns);
qq_rightTree.setShowHeader(true);
qq_rightTree.setControlsDisplayed(true);
qq_rightTree.setVertScrollBar(true);
qq_rightTree.setHorzScrollBar(true);
qq_rightTree.setFont(new Font("MonoSpaced", Font.PLAIN, 1));
TreeRootVisible.set(qq_rightTree, false);
qq_rightTree.setTitleSetNum(0);
qq_rightTree.setFont(new Font("MonoSpaced", Font.PLAIN, 1));
}
return qq_rightTree;
}
public void setqq_rightTree(OutlineField value) {
OutlineField oldValue = qq_rightTree;
qq_rightTree = value;
this.qq_Listeners.firePropertyChange("qq_rightTree", oldValue, value);
}
public OutlineColumnDesc getqq_rightTree_DVNodeText() {
if (qq_rightTree_DVNodeText == null) {
qq_rightTree_DVNodeText = new OutlineColumnDesc(Constants.TA_LEFT, true, true, 8, "DVNodeText", Constants.FP_DEFAULT, Constants.FS_DRAG, "Name", 0);
}
return qq_rightTree_DVNodeText;
}
/**
* qq_rightFilter: transformed from: qqds_DropList
* TagId=27
* isInherited=TRUE
*/
public DropList getqq_rightFilter() {
if (qq_rightFilter == null) {
super.getqq_rightFilter();
Array_Of_ListElement<ListElement> elements = new Array_Of_ListElement<ListElement>();
elements.add( new ListElement( 1, "One", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
elements.add( new ListElement( 2, "Two", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
elements.add( new ListElement( 3, "Three", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
elements.add( new ListElement( 4, "Four", ListElement.qq_Resolver.cINTEGERVALUE_TEXTVALUE ) );
qq_rightFilter.setName("rightFilter");
getBindingManager().bindComponent(qq_rightFilter, "rightFilter", elements);
qq_rightFilter.addActionListener( (DropListModel)qq_rightFilter.getModel() );
// OPTIONAL UIutils.reloadLabelText(qq_rightFilter, mcat);
qq_rightFilter.setMaximumRowCount(4);
}
return qq_rightFilter;
}
public void setqq_rightFilter(DropList value) {
DropList oldValue = qq_rightFilter;
qq_rightFilter = value;
this.qq_Listeners.firePropertyChange("qq_rightFilter", oldValue, value);
}
/**
* qq_browserGrid: transformed from: qqds_GridField
* TagId=26
* isInherited=TRUE
* In forte this was a 1x4 grid field.
* There are no cell margins set
* The width policy is set to Natural, and the height policy is set to Natural.
*/
protected void setqq_browserGridProperties() {
super.setqq_browserGridProperties();
qq_browserGrid.setHeightPolicy(Constants.SP_NATURAL);
qq_browserGrid.setWidthPolicy(Constants.SP_NATURAL);
qq_browserGrid.setBackground(null);
}
public GridField getqq_browserGrid() {
if (qq_browserGrid == null) {
qq_browserGrid = CompoundFieldFactory.newGridField("browserGrid", false);
setqq_browserGridProperties();
GridBagConstraints qq_gbc = new GridBagConstraints();
qq_gbc.gridx = 0; // Column 1
qq_gbc.gridy = 0; // Row 1
qq_gbc.weightx = 0;
qq_gbc.weighty = 0;
qq_gbc.anchor = GridBagConstraints.WEST; // Gravity - original: CG_MIDDLELEFT
qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc.insets = new Insets(0, 0, 1, 0); // Top, Left, Bottom, Right Margin
qq_browserGrid.add( getqq_rightFilter(), qq_gbc );
GridBagConstraints qq_gbc1 = new GridBagConstraints();
qq_gbc1.gridx = 0; // Column 1
qq_gbc1.gridy = 1; // Row 2
qq_gbc1.weightx = 0;
qq_gbc1.weighty = 0;
qq_gbc1.anchor = GridBagConstraints.WEST; // Gravity - original: CG_MIDDLELEFT
qq_gbc1.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc1.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_browserGrid.add( getqq_df(), qq_gbc1 );
GridBagConstraints qq_gbc2 = new GridBagConstraints();
qq_gbc2.gridx = 0; // Column 1
qq_gbc2.gridy = 2; // Row 3
qq_gbc2.weightx = 0;
qq_gbc2.weighty = 0;
qq_gbc2.anchor = GridBagConstraints.WEST; // Gravity - original: CG_MIDDLELEFT
qq_gbc2.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc2.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_browserGrid.add( getqq_tf_sp(), qq_gbc2 );
GridBagConstraints qq_gbc3 = new GridBagConstraints();
qq_gbc3.gridx = 0; // Column 1
qq_gbc3.gridy = 3; // Row 4
qq_gbc3.weightx = 0;
qq_gbc3.weighty = 0;
qq_gbc3.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
qq_gbc3.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc3.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_browserGrid.add( getqq_rightTree(), qq_gbc3 );
}
return qq_browserGrid;
}
public void setqq_browserGrid(GridField value) {
GridField oldValue = qq_browserGrid;
qq_browserGrid = value;
this.qq_Listeners.firePropertyChange("qq_browserGrid", oldValue, value);
}
/**
* qq_lv: transformed from: qqds_ListView
* TagId=32
* isInherited=TRUE
*/
public ListView getqq_lv() {
if (qq_lv == null) {
super.getqq_lv();
qq_lv.setListStyle(Constants.LT_DETAIL);
qq_lv.setMappedType(Array_Of_ClassNode.class);
Array_Of_OutlineColumnDesc<OutlineColumnDesc> columns = new Array_Of_OutlineColumnDesc<OutlineColumnDesc>();
columns.add(getqq_lv_DVNodeText());
columns.add(getqq_lv_Size());
qq_lv.setColumnList(columns);
qq_lv.setHasTitles(true);
qq_lv.setSize(new Dimension(408, 398));
qq_lv.setMinimumSize(new Dimension(408, 398));
// OPTIONAL qq_lv.setPreferredSize(new Dimension(408, 398));
}
return qq_lv;
}
public void setqq_lv(ListView value) {
ListView oldValue = qq_lv;
qq_lv = value;
this.qq_Listeners.firePropertyChange("qq_lv", oldValue, value);
}
public OutlineColumnDesc getqq_lv_DVNodeText() {
if (qq_lv_DVNodeText == null) {
qq_lv_DVNodeText = new OutlineColumnDesc(Constants.TA_LEFT, false, false, 10, "DVNodeText", Constants.FP_DEFAULT, Constants.FS_VISIBLE, "Namext", 0);
}
return qq_lv_DVNodeText;
}
public OutlineColumnDesc getqq_lv_Size() {
if (qq_lv_Size == null) {
qq_lv_Size = new OutlineColumnDesc(Constants.TA_LEFT, false, false, 6, "size", Constants.FP_DEFAULT, Constants.FS_VISIBLE, "Size", 0);
}
return qq_lv_Size;
}
/**
* qq_tree_sp: transformed from: qqds_TreeView
* TagId=33
* isInherited=TRUE
*/
public JScrollPane getqq_tree_sp() {
if (qq_tree_sp == null) {
super.getqq_tree_sp();
qq_tree_sp.setName("tree");
qq_tree_sp.setViewportView(getqq_tree());
qq_tree_sp.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
qq_tree_sp.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
}
return qq_tree_sp;
}
public void setqq_tree_sp(JScrollPane value) {
JScrollPane oldValue = qq_tree_sp;
qq_tree_sp = value;
this.qq_Listeners.firePropertyChange("qq_tree_sp", oldValue, value);
}
/**
* qq_tree: transformed from: qqds_TreeView
* TagId=33
* isInherited=TRUE
*/
public TreeViewWidget getqq_tree() {
if (qq_tree == null) {
super.getqq_tree();
RootNode.set(qq_tree, getTree());
qq_tree.setName("tree");
}
return qq_tree;
}
public void setqq_tree(TreeViewWidget value) {
TreeViewWidget oldValue = qq_tree;
qq_tree = value;
this.qq_Listeners.firePropertyChange("qq_tree", oldValue, value);
}
/**
* qq_topGrid: transformed from: qqds_GridField
* TagId=12
* isInherited=TRUE
* In forte this was a 3x3 grid field.
* There are no cell margins set
* The width policy is set to Natural, and the height policy is set to Natural.
*/
protected void setqq_topGridProperties() {
super.setqq_topGridProperties();
qq_topGrid.setHeightPolicy(Constants.SP_NATURAL);
qq_topGrid.setWidthPolicy(Constants.SP_NATURAL);
qq_topGrid.setBackground(null);
}
public GridField getqq_topGrid() {
if (qq_topGrid == null) {
qq_topGrid = CompoundFieldFactory.newGridField("topGrid", false);
setqq_topGridProperties();
GridBagConstraints qq_gbc = new GridBagConstraints();
qq_gbc.gridx = 0; // Column 1
qq_gbc.gridy = 0; // Row 1
qq_gbc.weightx = 0;
qq_gbc.weighty = 0;
qq_gbc.anchor = GridBagConstraints.WEST; // Gravity - original: CG_MIDDLELEFT
qq_gbc.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_topGrid.add( getqq_ToolBar(), qq_gbc );
GridBagConstraints qq_gbc1 = new GridBagConstraints();
qq_gbc1.gridx = 0; // Column 1
qq_gbc1.gridy = 1; // Row 2
qq_gbc1.weightx = 0;
qq_gbc1.weighty = 0;
qq_gbc1.anchor = GridBagConstraints.WEST; // Gravity - original: CG_MIDDLELEFT
qq_gbc1.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc1.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_topGrid.add( getqq_browserGrid(), qq_gbc1 );
GridBagConstraints qq_gbc2 = new GridBagConstraints();
qq_gbc2.gridx = 1; // Column 2
qq_gbc2.gridy = 1; // Row 2
qq_gbc2.weightx = 0;
qq_gbc2.weighty = 0;
qq_gbc2.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
qq_gbc2.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc2.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_topGrid.add( getqq_lv(), qq_gbc2 );
GridBagConstraints qq_gbc3 = new GridBagConstraints();
qq_gbc3.gridx = 2; // Column 3
qq_gbc3.gridy = 1; // Row 2
qq_gbc3.weightx = 0;
qq_gbc3.weighty = 0;
qq_gbc3.anchor = GridBagConstraints.CENTER; // Gravity - original: CG_CENTER gf
qq_gbc3.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc3.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_topGrid.add( getqq_tree_sp(), qq_gbc3 );
GridBagConstraints qq_gbc4 = new GridBagConstraints();
qq_gbc4.gridx = 0; // Column 1
qq_gbc4.gridy = 2; // Row 3
qq_gbc4.weightx = 0;
qq_gbc4.weighty = 0;
qq_gbc4.anchor = GridBagConstraints.WEST; // Gravity - original: CG_MIDDLELEFT
qq_gbc4.fill = GridBagConstraints.NONE; // Size to parent - original: No size to parent
qq_gbc4.insets = new Insets(0, 0, 0, 0); // Top, Left, Bottom, Right Margin
qq_topGrid.add( getqq_statusLine(), qq_gbc4 );
}
return qq_topGrid;
}
public void setqq_topGrid(GridField value) {
GridField oldValue = qq_topGrid;
qq_topGrid = value;
this.qq_Listeners.firePropertyChange("qq_topGrid", oldValue, value);
}
/**
* Form: transformed from: qqds_Panel
* TagId=1
* isInherited=FALSE
*/
protected void setFormProperties() {
super.setFormProperties();
}
public JPanel getForm() {
if (Form == null) {
Form = CompoundFieldFactory.newForm();
this.setFormProperties();
Form.add( getqq_topGrid() );
}
return Form;
}
public void setForm(JPanel value) {
JPanel oldValue = Form;
Form = value;
this.qq_Listeners.firePropertyChange("Form", oldValue, value);
}
/**
* Gets the default message set number for the window and its widgets.
*/
public int getSetNum() {
return this.qq_defaultSet;
}
/**
* Sets the default message set number for the window and its widgets.
*/
public void setSetNum(int value) {
this.qq_defaultSet = value;
}
/**
* Gets the message set number for the message number of the window's title.
*/
public int getTitleSetNum() {
return this.qq_msgSet;
}
/**
* Sets the message set number for the message number of the window's title.
*/
public void setTitleSetNum(int value) {
this.qq_msgSet = value;
}
/**
* Gets the message number for the message number of the window's title.
*/
public int getTitleMsgNum() {
return this.qq_msgNumber;
}
/**
* Sets the message number for the message number of the window's title.
*/
public void setTitleMsgNum(int value) {
this.qq_msgNumber = value;
}
/**
* Initialise the window and all its children.
*/
protected void initialize() {
if (this.Form == null) {
this.setName( "Bottom" );
this.setTitle( "" );
this.setSystemClosePolicy(Constants.SC_ENABLEDSHUTDOWN);
if (this.getContentPane() != this.getForm()) {
this.setContentPane(getForm());
}
this.qq_setupWindowUsage();
this.setResizable( false );
this.setAlwaysOnTop(false);
UserWindow.setIconizeEnabled(this, true);
WindowManager.addWindowListener(this);
this.setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE);
this.setUsage(DisplayProject.Constants.WU_UPDATE);
UIutils.processGUIActions();
this.pack();
this.setInitialX(0);
this.setInitialY(0);
this.setInitialPositionPolicy(Constants.PP_SYSTEMDEFAULT);
}
}
// ----------------
// Window usage
//-----------------
public void qq_setupWindowUsage() {
this.usage = new WindowUsageMap();
this.usage.add(getqq_topGrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_ToolBar(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_Class_btns(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_newClassConstant_btn(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_EventHandler_Btn(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_newMethod_btn(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_newEvent_btn(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_newVirtualAttribute_btn(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_newUnmappedAttribute_btn(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_GridField21(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_menuworkshop_Btn(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_saveAll_btn(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_compileAll_btn(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_windowWorkshop_Btn(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_JButton35(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_INACTIVE, Constants.FS_INACTIVE, Constants.FS_INACTIVE);
this.usage.add(getqq_statusLine(), Constants.FS_INACTIVE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_browserGrid(), Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_tf(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_df(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_rightTree(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_rightFilter(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_lv(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
this.usage.add(getqq_tree(), Constants.FS_UPDATE, Constants.FS_VIEWONLY, Constants.FS_QUERY, Constants.FS_UPDATE, Constants.FS_UPDATE, Constants.FS_UPDATE);
}
// </editor-fold>
// -----------
// Main method
// -----------
public static void main( String[] args ) {
FrameworkUtils.setCmdLineArgs(args);
AppletConnectionInfo client = null;
try {
// Install our own focus manager. MUST be done prior to setting the
// UIManager, otherwise you'll run into issues like things have the wrong focus.
KeyboardFocusManager.setCurrentKeyboardFocusManager(new ForteKeyboardFocusManager());
UIManager.setLookAndFeel(new Win32LookAndFeel());
client = UserWindow.postAPPLETStarted();
Bottom bottom_start = new Bottom();
bottom_start.runner();
UserWindow.postAPPLETStopped(client);
System.exit(0);
} catch (Throwable e) {
ErrorMgr.showErrors(null, "Unhandled exception", e);
UserWindow.postAPPLETStopped(client);
System.exit(0);
}
}
} // end class Bottom
// c Pass 2 Conversion Time: 499 milliseconds