Package org.woped.qualanalysis.sidebar.assistant.components

Examples of org.woped.qualanalysis.sidebar.assistant.components.SimpleGridBagLayout.addComponent()


    clickLabel.setFont(ITEMS_FONT);
    sgbl.addComponent(infoPanel, clickLabel, 0, 1, 1, 1, 1, 0);

    count = new JLabel(String.valueOf(qualanalysisService.getPlaces().size()), JLabel.RIGHT);
    count.setFont(ITEMS_FONT);
    sgbl.addComponent(infoPanel, count, 1, 1, 1, 1, 0, 0);

    // transitions
    clickLabel = new ClickLabel(Messages.getString(PREFIX + "NumTransitions") + COLON, qualanalysisService
        .getTransitions().iterator(), editor);
    clickLabel.setFont(ITEMS_FONT);
View Full Code Here


    // transitions
    clickLabel = new ClickLabel(Messages.getString(PREFIX + "NumTransitions") + COLON, qualanalysisService
        .getTransitions().iterator(), editor);
    clickLabel.setFont(ITEMS_FONT);
    sgbl.addComponent(infoPanel, clickLabel, 0, 2, 1, 1, 1, 0);

    count = new JLabel((int)calculateT(mec)+"", JLabel.RIGHT);
    count.setFont(ITEMS_FONT);
    sgbl.addComponent(infoPanel, count, 1, 2, 1, 1, 0, 0);
View Full Code Here

    clickLabel.setFont(ITEMS_FONT);
    sgbl.addComponent(infoPanel, clickLabel, 0, 2, 1, 1, 1, 0);

    count = new JLabel((int)calculateT(mec)+"", JLabel.RIGHT);
    count.setFont(ITEMS_FONT);
    sgbl.addComponent(infoPanel, count, 1, 2, 1, 1, 0, 0);

    // operators
    clickLabel = new ClickLabel(SUB_POINT + Messages.getString(PREFIX + "NumOperators") + COLON,
        qualanalysisService.getOperators().iterator(), editor);
    clickLabel.setFont(ITEMS_FONT);
View Full Code Here

    // operators
    clickLabel = new ClickLabel(SUB_POINT + Messages.getString(PREFIX + "NumOperators") + COLON,
        qualanalysisService.getOperators().iterator(), editor);
    clickLabel.setFont(ITEMS_FONT);
    sgbl.addComponent(infoPanel, clickLabel, 0, 3, 1, 1, 1, 0);

    count = new JLabel(String.valueOf(qualanalysisService.getOperators().size()), JLabel.RIGHT);
    count.setFont(ITEMS_FONT);
    sgbl.addComponent(infoPanel, count, 1, 3, 1, 1, 0, 0);
View Full Code Here

    clickLabel.setFont(ITEMS_FONT);
    sgbl.addComponent(infoPanel, clickLabel, 0, 3, 1, 1, 1, 0);

    count = new JLabel(String.valueOf(qualanalysisService.getOperators().size()), JLabel.RIGHT);
    count.setFont(ITEMS_FONT);
    sgbl.addComponent(infoPanel, count, 1, 3, 1, 1, 0, 0);

    // subprocesses
    clickLabel = new ClickLabel(SUB_POINT + Messages.getString(PREFIX + "NumSubprocesses") + COLON,
        qualanalysisService.getSubprocesses().iterator(), editor);
    clickLabel.setFont(ITEMS_FONT);
View Full Code Here

    // subprocesses
    clickLabel = new ClickLabel(SUB_POINT + Messages.getString(PREFIX + "NumSubprocesses") + COLON,
        qualanalysisService.getSubprocesses().iterator(), editor);
    clickLabel.setFont(ITEMS_FONT);
    sgbl.addComponent(infoPanel, clickLabel, 0, 4, 1, 1, 1, 0);

    count = new JLabel(String.valueOf(qualanalysisService.getSubprocesses().size()), JLabel.RIGHT);
    count.setFont(ITEMS_FONT);
    sgbl.addComponent(infoPanel, count, 1, 4, 1, 1, 0, 0);
View Full Code Here

    clickLabel.setFont(ITEMS_FONT);
    sgbl.addComponent(infoPanel, clickLabel, 0, 4, 1, 1, 1, 0);

    count = new JLabel(String.valueOf(qualanalysisService.getSubprocesses().size()), JLabel.RIGHT);
    count.setFont(ITEMS_FONT);
    sgbl.addComponent(infoPanel, count, 1, 4, 1, 1, 0, 0);

    // arcs
    JLabel arcLabel = new JLabel(Messages.getString(PREFIX + "NumArcs") + COLON);
    arcLabel.setFont(ITEMS_FONT);
    sgbl.addComponent(infoPanel, arcLabel, 0, 5, 1, 1, 1, 0);
View Full Code Here

    sgbl.addComponent(infoPanel, count, 1, 4, 1, 1, 0, 0);

    // arcs
    JLabel arcLabel = new JLabel(Messages.getString(PREFIX + "NumArcs") + COLON);
    arcLabel.setFont(ITEMS_FONT);
    sgbl.addComponent(infoPanel, arcLabel, 0, 5, 1, 1, 1, 0);

    count = new JLabel((int)calculateA(mec)+"", JLabel.RIGHT);
    count.setFont(ITEMS_FONT);
    sgbl.addComponent(infoPanel, count, 1, 5, 1, 1, 0, 0);
View Full Code Here

    arcLabel.setFont(ITEMS_FONT);
    sgbl.addComponent(infoPanel, arcLabel, 0, 5, 1, 1, 1, 0);

    count = new JLabel((int)calculateA(mec)+"", JLabel.RIGHT);
    count.setFont(ITEMS_FONT);
    sgbl.addComponent(infoPanel, count, 1, 5, 1, 1, 0, 0);

    addComponent(infoPanel, 0, 2, 1, 1, 1, 0);
  }
 
  private double calculateA(ModelElementContainer mec){
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.