/**
* Assert that the given edit part is not openable, that is, it does not have an Open Diagram Hint
*/
public void assertNotOpenable(ShapeNodeEditPart part) {
View view = (View) part.getModel();
Style link = view.getStyle(NotationPackage.eINSTANCE
.getHintedDiagramLinkStyle());
if (!(link == null || !(link instanceof HintedDiagramLinkStyle)))
fail("part '" + part + "' is not a shortcut, it should be (link=" + link + ")");
}