Examples of Routing


Examples of org.eclipse.gmf.runtime.notation.Routing

      org.eclipse.swt.graphics.RGB fontRGB = PreferenceConverter
          .getColor(prefStore, IPreferenceConstants.PREF_FONT_COLOR);
      edgeFontStyle.setFontColor(FigureUtilities.RGBToInteger(fontRGB)
          .intValue());
    }
    Routing routing = Routing.get(prefStore
        .getInt(IPreferenceConstants.PREF_LINE_STYLE));
    if (routing != null) {
      ViewUtil.setStructuralFeatureValue(edge, NotationPackage.eINSTANCE
          .getRoutingStyle_Routing(), routing);
    }
View Full Code Here

Examples of org.jboss.seam.jms.annotations.Routing

                log.debug("In method " + m.getJavaMember().getName() + " with param type " + ap.getBaseType());
            }
            Class<?> intfClazz = m.getJavaMember().getDeclaringClass();
            String methodName = m.getJavaMember().getName();
            String routeId = intfClazz.getCanonicalName() + "." + methodName;
            Routing routing = null;
            if (m.isAnnotationPresent(Routing.class)) {
                routing = m.getAnnotation(Routing.class);
            } else {
                log.debug("Routing not found on method " + m.getJavaMember().getName());
            }
            RouteType routeType = (routing == null) ? RouteType.BOTH : routing.value();
            Route route = new RouteImpl(routeType).id(routeId);
            boolean isResourced = m.isAnnotationPresent(Resource.class);
            if (isResourced) {
                Resource r = m.getAnnotation(Resource.class);
                log.debug("Loading resource " + r.mappedName());
View Full Code Here

Examples of org.movsim.simulator.roadnetwork.routing.Routing

        projectMetaData.setXodrNetworkFilename(inputData.getScenario().getNetworkFilename()); // TODO

        Simulation simulationInput = inputData.getScenario().getSimulation();

        final boolean loadedRoadNetwork = parseOpenDriveXml(roadNetwork, projectMetaData);
        routing = new Routing(inputData.getScenario().getRoutes(), roadNetwork);
       
        vehicleFactory = new VehicleFactory(simulationInput.getTimestep(), inputData.getVehiclePrototypes(),
                inputData.getConsumption(), routing);

        roadNetwork.setWithCrashExit(simulationInput.isCrashExit());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.