📄 f057a971a33d001d192abbead0da6110
字号:
pleaseGiveNodeText_9.setVisible(false);
final Button extendTheLeftButton_3_2_2_1_1 = new Button(shell, SWT.NONE);
extendTheLeftButton_3_2_2_1_1.setBounds(271, 165, 20, 23);
extendTheLeftButton_3_2_2_1_1.setVisible(false);
extendTheLeftButton_3_2_2_1_1.setText("R");
final Button confirmButton_1_2_2_1_1 = new Button(shell, SWT.NONE);
confirmButton_1_2_2_1_1.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e)
{
extendTheLeftButton_2_2_2_1_1.setVisible(true);
extendTheLeftButton_3_2_2_1_1.setVisible(true);
confirmButton_1_2_2_1_1.setVisible(false);
Color color =new Color(e.widget.getDisplay(),0,0,255);
pleaseGiveNodeText_9.setBackground(color);
pleaseGiveNodeText_9.setEnabled(false);
confirmButton_1_2_2_1_1.addSelectionListener(new SelectionAdapter()
{
public void widgetSelected(SelectionEvent e)
{ shell.addPaintListener(new PaintListener() {
public void paintControl(PaintEvent e)
{
GC gc = e.gc;
gc.drawLine(266, 138 ,253, 166);
}
});
}
});
shell.redraw();
if (pleaseGiveNodeText_9.getText()=="")
{
pleaseGiveNodeText_9.setText(Integer.toString(TrackingNum));
TrackingNum++;
}
BT.insert(pleaseGiveNodeText_9.getText(), "01", false,pleaseGiveNodeText_9);
}
});
confirmButton_1_2_2_1_1.setBounds(232, 189, 43, 22);
confirmButton_1_2_2_1_1.setVisible(false);
confirmButton_1_2_2_1_1.setText("Confirm");
final Button extendTheLeftButton_2_2_2_1_2 = new Button(shell, SWT.NONE);
extendTheLeftButton_2_2_2_1_2.setBounds(301, 165, 20, 23);
extendTheLeftButton_2_2_2_1_2.setVisible(false);
extendTheLeftButton_2_2_2_1_2.setText("L");
pleaseGiveNodeText_10 = new Text(shell, SWT.CENTER | SWT.BORDER);
pleaseGiveNodeText_10.setBounds(321, 166, 36, 22);
pleaseGiveNodeText_10.setVisible(false);
pleaseGiveNodeText_28 = new Text(shell, SWT.CENTER | SWT.BORDER);
pleaseGiveNodeText_28.setBounds(164, 216, 36, 22);
pleaseGiveNodeText_28.setVisible(false);
final Button extendTheLeftButton_3_2_2_1_2 = new Button(shell, SWT.NONE);
extendTheLeftButton_3_2_2_1_2.setBounds(357, 165, 20, 23);
extendTheLeftButton_3_2_2_1_2.setVisible(false);
extendTheLeftButton_3_2_2_1_2.setText("R");
final Button confirmButton_1_2_2_1_2 = new Button(shell, SWT.NONE);
confirmButton_1_2_2_1_2.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e)
{
extendTheLeftButton_2_2_2_1_2.setVisible(true);
extendTheLeftButton_3_2_2_1_2.setVisible(true);
confirmButton_1_2_2_1_2.setVisible(false);
Color color =new Color(e.widget.getDisplay(),0,0,255);
pleaseGiveNodeText_10.setBackground(color);
pleaseGiveNodeText_10.setEnabled(false);
confirmButton_1_2_2_1_2.addSelectionListener(new SelectionAdapter()
{
public void widgetSelected(SelectionEvent e)
{ shell.addPaintListener(new PaintListener() {
public void paintControl(PaintEvent e)
{
GC gc = e.gc;
gc.drawLine(266, 138 ,339, 166);
}
});
}
});
shell.redraw();
if (pleaseGiveNodeText_10.getText()=="")
{
pleaseGiveNodeText_10.setText(Integer.toString(TrackingNum));
TrackingNum++;
}
BT.insert(pleaseGiveNodeText_10.getText(), "01", true,pleaseGiveNodeText_10);
}
});
confirmButton_1_2_2_1_2.setBounds(318, 189, 43, 22);
confirmButton_1_2_2_1_2.setVisible(false);
confirmButton_1_2_2_1_2.setText("Confirm");
final Button extendTheLeftButton_2_2_2_1_3 = new Button(shell, SWT.NONE);
extendTheLeftButton_2_2_2_1_3.setBounds(393, 165, 20, 23);
extendTheLeftButton_2_2_2_1_3.setVisible(false);
extendTheLeftButton_2_2_2_1_3.setText("L");
pleaseGiveNodeText_11 = new Text(shell, SWT.CENTER | SWT.BORDER);
pleaseGiveNodeText_11.setBounds(413, 166, 36, 22);
pleaseGiveNodeText_11.setVisible(false);
final Button extendTheLeftButton_3_2_2_1_3 = new Button(shell, SWT.NONE);
extendTheLeftButton_3_2_2_1_3.setBounds(449, 165, 20, 23);
extendTheLeftButton_3_2_2_1_3.setVisible(false);
extendTheLeftButton_3_2_2_1_3.setText("R");
final Button confirmButton_1_2_2_1_3 = new Button(shell, SWT.NONE);
confirmButton_1_2_2_1_3.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e)
{
extendTheLeftButton_2_2_2_1_3.setVisible(true);
extendTheLeftButton_3_2_2_1_3.setVisible(true);
confirmButton_1_2_2_1_3.setVisible(false);
Color color =new Color(e.widget.getDisplay(),0,0,255);
pleaseGiveNodeText_11.setBackground(color);
pleaseGiveNodeText_11.setEnabled(false);
confirmButton_1_2_2_1_3.addSelectionListener(new SelectionAdapter()
{
public void widgetSelected(SelectionEvent e)
{ shell.addPaintListener(new PaintListener() {
public void paintControl(PaintEvent e)
{
GC gc = e.gc;
gc.drawLine(486, 136 ,431, 166);
}
});
}
});
shell.redraw();
if (pleaseGiveNodeText_11.getText()=="")
{
pleaseGiveNodeText_11.setText(Integer.toString(TrackingNum));
TrackingNum++;
}
BT.insert(pleaseGiveNodeText_11.getText(), "10", false,pleaseGiveNodeText_11);
}
});
confirmButton_1_2_2_1_3.setBounds(410, 189, 43, 22);
confirmButton_1_2_2_1_3.setVisible(false);
confirmButton_1_2_2_1_3.setText("Confirm");
final Button extendTheLeftButton_2_2_2_1_4 = new Button(shell, SWT.NONE);
extendTheLeftButton_2_2_2_1_4.setBounds(475, 165, 20, 23);
extendTheLeftButton_2_2_2_1_4.setVisible(false);
extendTheLeftButton_2_2_2_1_4.setText("L");
pleaseGiveNodeText_12 = new Text(shell, SWT.CENTER | SWT.BORDER);
pleaseGiveNodeText_12.setBounds(495, 166, 36, 22);
pleaseGiveNodeText_12.setVisible(false);
final Button extendTheLeftButton_3_2_2_1_4 = new Button(shell, SWT.NONE);
extendTheLeftButton_3_2_2_1_4.setBounds(531, 165, 20, 23);
extendTheLeftButton_3_2_2_1_4.setVisible(false);
extendTheLeftButton_3_2_2_1_4.setText("R");
final Button confirmButton_1_2_2_1_4 = new Button(shell, SWT.NONE);
confirmButton_1_2_2_1_4.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e)
{
extendTheLeftButton_2_2_2_1_4.setVisible(true);
extendTheLeftButton_3_2_2_1_4.setVisible(true);
confirmButton_1_2_2_1_4.setVisible(false);
Color color =new Color(e.widget.getDisplay(),0,0,255);
pleaseGiveNodeText_12.setBackground(color);
pleaseGiveNodeText_12.setEnabled(false);
confirmButton_1_2_2_1_4.addSelectionListener(new SelectionAdapter()
{
public void widgetSelected(SelectionEvent e)
{ shell.addPaintListener(new PaintListener() {
public void paintControl(PaintEvent e)
{
GC gc = e.gc;
gc.drawLine(486, 136 ,513, 166);
}
});
}
});
shell.redraw();
if (pleaseGiveNodeText_12.getText()=="")
{
pleaseGiveNodeText_12.setText(Integer.toString(TrackingNum));
TrackingNum++;
}
BT.insert(pleaseGiveNodeText_12.getText(), "10", true,pleaseGiveNodeText_12);
}
});
confirmButton_1_2_2_1_4.setBounds(492, 189, 43, 22);
confirmButton_1_2_2_1_4.setVisible(false);
confirmButton_1_2_2_1_4.setText("Confirm");
final Button extendTheLeftButton_2_2_2_1_5 = new Button(shell, SWT.NONE);
extendTheLeftButton_2_2_2_1_5.setBounds(550, 165, 20, 23);
extendTheLeftButton_2_2_2_1_5.setVisible(false);
extendTheLeftButton_2_2_2_1_5.setText("L");
pleaseGiveNodeText_13 = new Text(shell, SWT.CENTER | SWT.BORDER);
pleaseGiveNodeText_13.setBounds(570, 166, 36, 22);
pleaseGiveNodeText_13.setVisible(false);
final Button extendTheLeftButton_3_2_2_1_5 = new Button(shell, SWT.NONE);
extendTheLeftButton_3_2_2_1_5.setBounds(606, 165, 20, 23);
extendTheLeftButton_3_2_2_1_5.setVisible(false);
extendTheLeftButton_3_2_2_1_5.setText("R");
final Button confirmButton_1_2_2_1_5 = new Button(shell, SWT.NONE);
confirmButton_1_2_2_1_5.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e)
{
extendTheLeftButton_2_2_2_1_5.setVisible(true);
extendTheLeftButton_3_2_2_1_5.setVisible(true);
confirmButton_1_2_2_1_5.setVisible(false);
Color color =new Color(e.widget.getDisplay(),0,0,255);
pleaseGiveNodeText_13.setBackground(color);
pleaseGiveNodeText_13.setEnabled(false);
confirmButton_1_2_2_1_5.addSelectionListener(new SelectionAdapter()
{
public void widgetSelected(SelectionEvent e)
{ shell.addPaintListener(new PaintListener() {
public void paintControl(PaintEvent e)
{
GC gc = e.gc;
gc.drawLine(620, 136 ,588, 166);
}
});
}
});
shell.redraw();
if (pleaseGiveNodeText_13.getText()=="")
{
pleaseGiveNodeText_13.setText(Integer.toString(TrackingNum));
TrackingNum++;
}
BT.insert(pleaseGiveNodeText_13.getText(), "11", false,pleaseGiveNodeText_13);
}
});
confirmButton_1_2_2_1_5.setBounds(567, 189, 43, 22);
confirmButton_1_2_2_1_5.setVisible(false);
confirmButton_1_2_2_1_5.setText("Confirm");
final Button extendTheLeftButton_2_2_2_1_6 = new Button(shell, SWT.NONE);
extendTheLeftButton_2_2_2_1_6.setBounds(630, 165, 20, 23);
extendTheLeftButton_2_2_2_1_6.setVisible(false);
extendTheLeftButton_2_2_2_1_6.setText("L");
pleaseGiveNodeText_14 = new Text(shell, SWT.CENTER | SWT.BORDER);
pleaseGiveNodeText_14.setBounds(650, 165, 36, 22);
pleaseGiveNodeText_14.setVisible(false);
final Button extendTheLeftButton_3_2_2_1_6 = new Button(shell, SWT.NONE);
extendTheLeftButton_3_2_2_1_6.setBounds(685, 165, 20, 23);
extendTheLeftButton_3_2_2_1_6.setVisible(false);
extendTheLeftButton_3_2_2_1_6.setText("R");
final Button confirmButton_1_2_2_1_6 = new Button(shell, SWT.NONE);
confirmButton_1_2_2_1_6.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e)
{
extendTheLeftButton_2_2_2_1_6.setVisible(true);
extendTheLeftButton_3_2_2_1_6.setVisible(true);
confirmButton_1_2_2_1_6.setVisible(false);
Color color =new Color(e.widget.getDisplay(),0,0,255);
pleaseGiveNodeText_14.setBackground(color);
pleaseGiveNodeText_14.setEnabled(false);
confirmButton_1_2_2_1_6.addSelectionListener(new SelectionAdapter()
{
public void widgetSelected(SelectionEvent e)
{ shell.addPaintListener(new PaintListener() {
public void paintControl(PaintEvent e)
{
GC gc = e.gc;
gc.drawLine(620, 136 ,668, 166);
}
});
}
});
shell.redraw();
if (pleaseGiveNodeText_14.getText()=="")
{
pleaseGiveNodeText_14.setText(Integer.toString(TrackingNum));
TrackingNum++;
}
BT.insert(pleaseGiveNodeText_14.getText(), "11", true,pleaseGiveNodeText_14);
}
});
confirmButton_1_2_2_1_6.setBounds(645, 189, 43, 22);
confirmButton_1_2_2_1_6.setVisible(false);
confirmButton_1_2_2_1_6.setText("Confirm");
confirmButton_1_3.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e)
{
extendTheLeftButton_2_3.setVisible(true);
extendTheLeftButton_2_3_1.setVisible(true);
confirmButton_1_3.setVisible(false);
Color color =new Color(e.widget.getDisplay(),0,0,255);
pleaseGiveNodeText_4.setBackground(color);
pleaseGiveNodeText_4.setEnabled(false);
confirmButton_1_3.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e)
{
confirmButton_1_3.addSelectionListener(new SelectionAdapter()
{
public void widgetSelected(SelectionEvent e)
{ shell.addPaintListener(new PaintListener() {
public void paintControl(PaintEvent e)
{
GC gc = e.gc;
gc.drawLine(202, 92 ,265, 116);
}
});
}
});
shell.redraw();
if (pleaseGiveNodeText_4.getText()=="")
{
pleaseGiveNodeText_4.setText(Integer.toString(TrackingNum));
TrackingNum++;
}
BT.insert(pleaseGiveNodeText_4.getText(), "0", true,pleaseGiveNodeText_4);
}
});
}
});
confirmButton_1_2_1.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e)
{
extendTheLeftButton_2_2_1.setVisible(true);
extendTheLeftButton_3_2_1.setVisible(true);
confirmButton_1_2_1.setVisible(false);
Color color =new Color(e.widget.getDisplay(),0,0,255);
pleaseGiveNodeText_5.setBackground(color);
pleaseGiveNodeText_5.setEnabled(false);
confirmButton_1_2_1.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e)
{
confirmButton_1_2_1.addSelectionListener(new SelectionAdapter()
{
public void widgetSelected(SelectionEvent e)
{ shell.addPaintListener(new PaintListener() {
public void paintControl(PaintEvent e)
{
GC gc = e.gc;
gc.drawLine(552, 92 ,484, 114);
}
});
}
});
shell.redraw();
if (pleaseGiveNodeText_5.getText()=="")
{
pleaseGiveNodeText_5.setText(Integer.toString(TrackingNum));
TrackingNum++;
}
BT.insert(pleaseGiveNodeText_5.getText(), "1", false,pleaseGiveNodeText_5);
}
});
}
});
confirmButton_1_3_1.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e)
{
extendTheLeftButton_2_3_2.setVisible(true);
extendTheLeftButton_2_3_1_1.setVisible(true);
confirmButton_1_3_1.setVisible(false);
Color color =new Color(e.widget.getDisplay(),0,0,255);
pleaseGiveNodeText_6.setBackground(color);
pleaseGiveNodeText_6.setEnabled(false);
confirmButton_1_3_1.addSelectionListener(new SelectionAdapter()
{
public void widgetSelected(SelectionEvent e)
{ shell.addPaintListener(new PaintListener() {
public void paintControl(PaintEvent e)
{
GC gc = e.gc;
gc.drawLine(552, 92 ,620, 114);
}
});
}
});
shell.redraw();
if (pleaseGiveNodeText_6.getText()=="")
{
pleaseGiveNodeText_6.setText(Integer.toString(TrackingNum));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -