return;
}
if(!BooleanDatatype.getValues(className + "_useStyledBoxes").get(0).booleanValue()) {
DrawObject.drawSimpleBoxOuterLines(g2d, 0, 0, size.width - 1, size.height - 1, Color.WHITE, Color.BLACK);
} else {
DrawObject drawObject = null;
if(this.element instanceof PrefixOperator) {
drawObject = this.getOperatorStyle("documentEditorPane_style_prefixoperator");
}
if(this.element instanceof ImportOperator) {
drawObject = this.getOperatorStyle("documentEditorPane_style_importoperator");
} else if(this.element instanceof RuleOperator) {
drawObject = this.getOperatorStyle("documentEditorPane_style_ruleoperator");
} else if(this.element instanceof AnnotationOperator) {
drawObject = this.getOperatorStyle("documentEditorPane_style_annotationoperator");
} else if(this.element instanceof GroupOperator) {
drawObject = this.getOperatorStyle("documentEditorPane_style_groupoperator");
} else if(this.element instanceof VariableOperator) {
drawObject = this.getOperatorStyle("ruleEditorPane_style_variableoperator");
} else if(this.element instanceof ConstantOperator) {
drawObject = this.getOperatorStyle("ruleEditorPane_style_constantoperator");
} else if(this.element instanceof UnitermOperator) {
drawObject = this.getOperatorStyle("ruleEditorPane_style_unitermoperator");
} else if(this.element instanceof ListOperator) {
drawObject = this.getOperatorStyle("ruleEditorPane_style_listoperator");
} else if(this.element instanceof FrameOperator) {
drawObject = this.getOperatorStyle("ruleEditorPane_style_frameoperator");
}
if(drawObject == null) {
drawObject = this.getOperatorStyle(className + "_style_operator");
}
if(drawObject != null) {
drawObject.draw(g2d, 0, 0, size.width, size.height);
} else {
DrawObject.drawSimpleBoxOuterLines(g2d, 0, 0, size.width, size.height, Color.WHITE, Color.BLACK);
}
}
} catch(final Exception e) {