Commit ed244ec3 by Nepxion

增加图形化灰度发布功能

parent 082a6c97
......@@ -66,8 +66,8 @@ public class RouterTopology extends AbstractTopology {
private TopologyEntity serviceNodeEntity = new TopologyEntity(TopologyEntityType.SERVICE, true, true);
private TGraphBackground background;
private JBasicTextField textField = new JBasicTextField();
private JBasicComboBox comboBox = new JBasicComboBox();
private JBasicComboBox comboBox;
private JBasicTextField textField;
private ActionListener layoutActionListener;
private InstanceEntity instance;
......@@ -79,7 +79,10 @@ public class RouterTopology extends AbstractTopology {
}
private void initializeToolBar() {
comboBox = new JBasicComboBox();
comboBox.setPreferredSize(new Dimension(300, comboBox.getPreferredSize().height));
textField = new JBasicTextField();
textField.setPreferredSize(new Dimension(650, textField.getPreferredSize().height));
JToolBar toolBar = getGraph().getToolbar();
......
......@@ -87,10 +87,10 @@ public class ServiceTopology extends AbstractTopology {
private TopologyEntity notServiceNodeEntity = new TopologyEntity(TopologyEntityType.MQ, true, false);
private Map<String, Point> groupLocationMap = new HashMap<String, Point>();
private TGraphBackground background;
private JBasicMenuItem executeGrayReleaseMenuItem;
private JBasicMenuItem refreshGrayStateMenuItem;
private JBasicMenuItem executeGrayRouterMenuItem;
private TGraphBackground background;
private FilterPanel filterPanel;
private GrayPanel grayPanel;
private JBasicTextArea resultTextArea;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment