*/
if (modelElement instanceof SelectedGoalsSet){
GSSQuery query = (GSSQuery) modelElement.eContainer();
GSSQueryContainment queryContainment = (GSSQueryContainment) query.eContainer();
Toolbox toolbox = (Toolbox) queryContainment.eContainer();
GSS gss = toolbox.getGssCatalogue();
builder = new GoalSelectorGraphBuilder(managedFormComposite, SWT.NONE, getSite(), gss, (SelectedGoalsSet)modelElement, accessLayer);
} else
if (modelElement instanceof SelectedPrinciplesSet){
GSSQuery query = (GSSQuery) modelElement.eContainer();
GSSQueryContainment queryContainment = (GSSQueryContainment) query.eContainer();
Toolbox toolbox = (Toolbox) queryContainment.eContainer();
GSS gss = toolbox.getGssCatalogue();
builder = new PrincipleSelectorGraphBuilder(managedFormComposite, SWT.NONE, getSite(), gss,query, (SelectedPrinciplesSet)modelElement, accessLayer);
}
if (builder != null)
builder.build();