this.statusBar = statusBar;
this.groupGraph = new GroupGraph(this);
this.visualGraphs.add(this.groupGraph);
LANGUAGE.SEMANTIC_WEB.setStyles();
this.visualGraphs.get(0).addComponentListener(new ComponentAdapter(){
@Override
public void componentResized(final ComponentEvent e) {
GroupEditorPane.this.componentCnt = GroupEditorPane.this.visualGraphs.get(0).getComponentCount();
GroupEditorPane.this.rulesOnCanvasCnt = GroupEditorPane.this.countRulesOnCanvas();
// Rules
GroupEditorPane.this.initRuleComponents();
if (GroupEditorPane.this.componentCnt > 0
&& ( GroupEditorPane.this.visualGraphs.get(0).getComponent(GroupEditorPane.this.componentCnt - 1).isVisible() )
&& ( GroupEditorPane.this.visualGraphs.get(0).getComponent(GroupEditorPane.this.componentCnt - 1) instanceof RuleOperatorPanel )
&& ( GroupEditorPane.this.rulesOnCanvasCnt-1 == GroupEditorPane.this.rulesCnt )
) {
GroupEditorPane.this.rulesCnt++;
final RuleOperatorPanel rop = (RuleOperatorPanel) GroupEditorPane.this.visualGraphs.get(0).getComponent(GroupEditorPane.this.componentCnt - 1);
rop.setRuleName(GroupEditorPane.this.rulePanel.getRuleName());
} // End Rules
// Prefix
if (GroupEditorPane.this.componentCnt > 0
&& ( GroupEditorPane.this.visualGraphs.get(0).getComponent(GroupEditorPane.this.componentCnt - 1).isVisible() )
&& ( GroupEditorPane.this.visualGraphs.get(0).getComponent(GroupEditorPane.this.componentCnt - 1) instanceof PrefixOperatorPanel)
){
final PrefixOperatorPanel pop = ( PrefixOperatorPanel ) GroupEditorPane.this.visualGraphs.get(0).getComponent(GroupEditorPane.this.componentCnt - 1);
pop.addComponentListener(new ComponentAdapter() {
@Override
public void componentResized(final ComponentEvent e) {
pop.updateSize();