Examples of Platform


Examples of at.bestsolution.efxclipse.tooling.jdt.ui.internal.editors.model.anttasks.parameters.Platform

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetPlatform(Platform newPlatform, NotificationChain msgs) {
    Platform oldPlatform = platform;
    platform = newPlatform;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AntTasksPackage.JAR__PLATFORM, oldPlatform, newPlatform);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

Examples of at.dotti.railway.manager.stations.Platform

      @Override
      public String getName() {
        return "Klosterneuburg Weidling";
      }
    };
    Platform p1 = new SimplePlatform();
    Platform p2 = new SimplePlatform();
    Platform p3 = new SimplePlatform();
    klbgWdlg.addPlatform(p1);
    klbgWdlg.addPlatform(p2);
    klbgWdlg.addPlatform(p3);
    Rail p1r1 = new SimpleRail();
    p1.addRail(p1r1);
    Rail p2r1 = new SimpleRail();
    p2.addRail(p2r1);
    Rail p3r1 = new SimpleRail();
    p3.addRail(p3r1);

    System.out.println(klbgWdlg);
  }
View Full Code Here

Examples of br.eti.kinoshita.testlinkjavaapi.model.Platform

    /**
     * @param map
     * @return Platform.
     */
    public static final Platform getPlatform(Map<String, Object> map) {
        Platform platform = null;
        if (map != null && map.size() > 0) {
            Object o = map.get(TestLinkResponseParams.ID.toString());
            if (o != null) {
                Integer id = Integer.parseInt(o.toString());

                if (id > 0) {
                    platform = new Platform();
                    platform.setId(id);

                    platform.setName(getString(map, TestLinkResponseParams.NAME.toString()));
                    platform.setNotes(getString(map, TestLinkResponseParams.NOTES.toString()));
                }

            }
        }
        return platform;
View Full Code Here

Examples of cc.plural.ecs.renderer.Platform

        provider = new Provider("LWJGL", Sys.getVersion());

        int platformID = LWJGLUtil.getPlatform();
        switch (platformID) {
            case LWJGLUtil.PLATFORM_LINUX:
                platform = new Platform(Platform.LINUX, Platform.LINUX_NAME);
                break;
            case LWJGLUtil.PLATFORM_MACOSX:
                platform = new Platform(Platform.OSX, Platform.OSX_NAME);
                break;
            case LWJGLUtil.PLATFORM_WINDOWS:
                platform = new Platform(Platform.WINDOWS, Platform.WINDOWS_NAME);
                break;
        }

        glVendor = new GLVendor(GL11.glGetString(GL11.GL_VENDOR));
        glRenderer = new GLRenderer(GL11.glGetString(GL11.GL_RENDERER));
View Full Code Here

Examples of com.eclipsesource.tabris.ClientDevice.Platform

@SuppressWarnings("restriction")
public class TabrisClientProvider implements ClientProvider {

  @Override
  public boolean accept( HttpServletRequest request ) {
    Platform platform = DeviceUtil.getPlatform();
    boolean result = platform == ANDROID || platform == IOS;
    if( result ) {
      setThemeForPlatform( platform );
    }
    return result;
View Full Code Here

Examples of com.eclipsesource.tabris.device.ClientDevice.Platform

  @Test
  public void testObtainsPlatform() {
    TrackingInfo info = TrackingInfoFactory.createInfo( ui.getDisplay() );

    Platform platform = info.getPlatform();

    assertSame( Platform.ANDROID, platform );
  }
View Full Code Here

Examples of com.eclipsesource.tabris.device.ClientDevice.Platform

  public void testGetPlatformIsAndroid() {
    TabrisRequest request = environment.getRequest();
    request.setHeader( Constants.USER_AGENT, "com.eclipsesource.tabris.android" );
    ClientDevice device = new ClientDeviceImpl();

    Platform platform = device.getPlatform();

    assertSame( Platform.ANDROID, platform );
  }
View Full Code Here

Examples of com.eclipsesource.tabris.device.ClientDevice.Platform

  public void testGetPlatformIsIOS() {
    TabrisRequest request = environment.getRequest();
    request.setHeader( Constants.USER_AGENT, "com.eclipsesource.tabris.ios" );
    ClientDevice device = new ClientDeviceImpl();

    Platform platform = device.getPlatform();

    assertSame( Platform.IOS, platform );
  }
View Full Code Here

Examples of com.eclipsesource.tabris.device.ClientDevice.Platform

  public void testGetPlatformIsSWT() {
    TabrisRequest request = environment.getRequest();
    request.setHeader( Constants.USER_AGENT, "com.eclipsesource.tabris.swt" );
    ClientDevice device = new ClientDeviceImpl();

    Platform platform = device.getPlatform();

    assertSame( Platform.SWT, platform );
  }
View Full Code Here

Examples of com.eclipsesource.tabris.device.ClientDevice.Platform

  public void testGetPlatformIsWebByDefault() {
    TabrisRequest request = environment.getRequest();
    request.setHeader( Constants.USER_AGENT, "Mozilla/bla" );
    ClientDevice device = new ClientDeviceImpl();

    Platform platform = device.getPlatform();

    assertSame( Platform.WEB, platform );
  }
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.