null
204205206207208209210211212213214
} catch (IOException e) { resource.unload(); throw e; } } if (uri.fragment() != null) { EObject rootElement = resource.getEObject(uri.fragment()); if (rootElement instanceof Diagram) { document.setContent((Diagram) rootElement); return; }
205206207208209210211212213214215
resource.unload(); throw e; } } if (uri.fragment() != null) { EObject rootElement = resource.getEObject(uri.fragment()); if (rootElement instanceof Diagram) { document.setContent((Diagram) rootElement); return; } } else {
238239240241242243244245246247248
239240241242243244245246247248249
237238239240241242243244245246247
188189190191192193194195196197198
{ // Proxy AssosiationEnd's must be StereoType Entity URI proxyURI = type2.eProxyURI(); String className = proxyURI.fragment().substring( proxyURI.fragment().lastIndexOf( '/' ) + 1 ); String fragment = proxyURI.fragment().substring( 0, proxyURI.fragment().lastIndexOf( '/' ) ); String packageName = fragment.substring(fragment.lastIndexOf( '/' ) + 1 ); sb.append( packageName ).append( ".common." ); sb.append( className ).append( "TO" ); }
195196197198199200201202203204205
if ( type2 != null && type2.eIsProxy() ) { URI proxyURI = type2.eProxyURI(); String fragment = proxyURI.fragment().substring( 0, proxyURI.fragment().lastIndexOf( '/' ) ); String packageName = fragment.substring( fragment.lastIndexOf( "/", fragment.indexOf( "." ) ) + 1 ) .replace( '/', '.' ); sb.append( packageName ); }