EOFetchSpecification selectedFetchSpec = (EOFetchSpecification) selectedObject;
setSelectedEntity(selectedFetchSpec.getEntity());
getEntityEditor().setSelection(selection);
// setActivePage(EOModelEditor.EOENTITY_PAGE);
} else if (selectedObject instanceof AbstractEOAttributePath) {
AbstractEOAttributePath selectedAttributePath = (AbstractEOAttributePath) selectedObject;
setSelectedEntity(selectedAttributePath.getChildIEOAttribute().getEntity());
getEntityEditor().setSelection(new StructuredSelection(selectedAttributePath.getChildIEOAttribute()));
setActivePage(getPageNum(EOModelEditor.EOENTITY_PAGE));
} else if (selectedObject instanceof EOStoredProcedure) {
EOStoredProcedure selectedStoredProcedure = (EOStoredProcedure) selectedObject;
setSelectedStoredProcedure(selectedStoredProcedure);
// setActivePage(EOModel)