/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public MIRepository getRepository() { if (repository != null && repository.eIsProxy()) { InternalEObject oldRepository = (InternalEObject)repository; repository = (MIRepository)eResolveProxy(oldRepository); if (repository != oldRepository) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, MIAnalysisMetaModelPackage.REPOSITORY_CONNECTOR__REPOSITORY, oldRepository, repository)); } } return repository; }
private final mxCell createRepository(final MIRepository repository, final int c) { final mxCell vertex = new mxCell("<<Repository>>\n" + repository.getName() + " : " + KaxVizFrame.getShortClassName(repository), new mxGeometry(FILTER_SPACE, FILTER_SPACE + (c * (FILTER_HEIGHT + FILTER_SPACE)), FILTER_WIDTH, FILTER_HEIGHT), STYLE_REPOSITORY); vertex.setVertex(true); this.graph.addCell(vertex); return vertex; }
mRepository.setId(EcoreUtil.generateUUID()); mRepository.setClassname(repository.getClass().getName()); mRepository.getProperties().addAll(MetaModelHandler.convertProperties(repository.getCurrentConfiguration(), factory)); mProject.getRepositories().add(mRepository);
final Configuration configuration = MetaModelHandler.modelPropertiesToConfiguration(mRepository.getProperties()); final AbstractRepository repository = MetaModelHandler.createAndInitialize(AbstractRepository.class, mRepository.getClassname(), configuration, ac,
mRepository.setId(EcoreUtil.generateUUID()); mRepository.setClassname(repository.getClass().getName()); mRepository.getProperties().addAll(MetaModelHandler.convertProperties(repository.getCurrentConfiguration(), factory)); mProject.getRepositories().add(mRepository);
final Configuration configuration = MetaModelHandler.modelPropertiesToConfiguration(mRepository.getProperties()); final AbstractRepository repository = MetaModelHandler.createAndInitialize(AbstractRepository.class, mRepository.getClassname(), configuration, ac,
private final mxCell createRepository(final MIRepository repository, final int c) { final mxCell vertex = new mxCell("<<Repository>>\n" + repository.getName() + " : " + KaxVizFrame.getShortClassName(repository), new mxGeometry(FILTER_SPACE, FILTER_SPACE + (c * (FILTER_HEIGHT + FILTER_SPACE)), FILTER_WIDTH, FILTER_HEIGHT), STYLE_REPOSITORY); vertex.setVertex(true); this.graph.addCell(vertex); return vertex; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public MIRepository getRepository() { if (repository != null && repository.eIsProxy()) { InternalEObject oldRepository = (InternalEObject)repository; repository = (MIRepository)eResolveProxy(oldRepository); if (repository != oldRepository) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, MIAnalysisMetaModelPackage.REPOSITORY_CONNECTOR__REPOSITORY, oldRepository, repository)); } } return repository; }
final mxCell output = mapPlugin2Graph.get(outputPlugin); final mxCell input = mapRepository2Graph.get(repository); this.graph.insertEdge(null, null, repository.getName(), output, input, STYLE_CONNECTION_REPOSITORY);
final mxCell output = mapPlugin2Graph.get(outputPlugin); final mxCell input = mapRepository2Graph.get(repository); this.graph.insertEdge(null, null, repository.getName(), output, input, STYLE_CONNECTION_REPOSITORY);