right = constOp;
}
// List
if ( left instanceof AbstractTermOperator ){
final AbstractTermOperator abstractTermOperator = (AbstractTermOperator) left;
final GraphWrapperOperator gwo = new GraphWrapperOperator(abstractTermOperator);
rootListLeft.add(gwo);
}
if ( right instanceof AbstractTermOperator ){
final AbstractTermOperator abstractTermOperator = (AbstractTermOperator) right;
final GraphWrapperOperator gwo = new GraphWrapperOperator(abstractTermOperator);
rootListRight.add(gwo);
}
// // Uniterm
// if ( left instanceof UnitermOperator ){
// UnitermOperator unitermOperator = (UnitermOperator) left;
// GraphWrapperOperator gwo = new GraphWrapperOperator(unitermOperator);
// rootListLeft.add(gwo);
// }
//
// if ( right instanceof UnitermOperator ){
// UnitermOperator unitermOperator = (UnitermOperator) right;
// GraphWrapperOperator gwo = new GraphWrapperOperator(unitermOperator);
// rootListRight.add(gwo);
// }
//
// // Frame
// if ( left instanceof FrameOperator ){
// FrameOperator frameOperator = (FrameOperator) left;
// GraphWrapperOperator gwo = new GraphWrapperOperator(frameOperator);
// rootListLeft.add(gwo);
// }
//
// if ( right instanceof FrameOperator ){
// FrameOperator frameOperator = (FrameOperator) right;
// GraphWrapperOperator gwo = new GraphWrapperOperator(frameOperator);
// rootListRight.add(gwo);
// }
// // List
// if ( left instanceof ListOperator ){
// ListOperator listOperator = (ListOperator) left;
// GraphWrapperOperator gwo = new GraphWrapperOperator(listOperator);
// rootListLeft.add(gwo);
// }
//
// if ( right instanceof ListOperator ){
// ListOperator listOperator = (ListOperator) right;
// GraphWrapperOperator gwo = new GraphWrapperOperator(listOperator);
// rootListRight.add(gwo);
// }
// And
if ( left instanceof AndContainer ){
final AndContainer andContainer = (AndContainer) left;
final GraphWrapperOperator gwo = new GraphWrapperOperator(andContainer);
rootListLeft.add(gwo);
}
if ( right instanceof AndContainer ){
final AndContainer andContainer = (AndContainer) right;
final GraphWrapperOperator gwo = new GraphWrapperOperator(andContainer);
rootListRight.add(gwo);
}
// OR
if ( right instanceof OrContainer ){
final OrContainer orContainer = (OrContainer) right;
final GraphWrapperOperator gwo = new GraphWrapperOperator(orContainer);
rootListRight.add(gwo);
}
// Exists
if ( right instanceof ExistsContainer ){
final ExistsContainer existsContainer = (ExistsContainer) right;
final GraphWrapperOperator gwo = new GraphWrapperOperator(existsContainer);
rootListRight.add(gwo);
}
// Variable
if ( left instanceof VariableOperator ){
final VariableOperator variableOperator = (VariableOperator) left;
final GraphWrapperOperator gwo = new GraphWrapperOperator(variableOperator);
rootListLeft.add(gwo);
}
if ( right instanceof VariableOperator ){
final VariableOperator variableOperator = (VariableOperator) right;
final GraphWrapperOperator gwo = new GraphWrapperOperator(variableOperator);
rootListRight.add(gwo);
}
// Constant
if ( left instanceof ConstantOperator ){
final ConstantOperator constantOperator = (ConstantOperator) left;
final GraphWrapperOperator gwo = new GraphWrapperOperator(constantOperator);
rootListLeft.add(gwo);
}
if ( right instanceof ConstantOperator ){
final ConstantOperator constantOperator = (ConstantOperator) right;
final GraphWrapperOperator gwo = new GraphWrapperOperator(constantOperator);
rootListRight.add(gwo);
}
// generate Left QueryGraph...
final JPanel graphPanelLeft = this.visualGraphs.get(0).createGraph(