Examples of TargetPlatform


Examples of fr.obeo.releng.targetplatform.TargetPlatform

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public String getWindowingSystem() {
    TargetPlatform _targetPlatform = this.getTargetPlatform();
    EList<TargetContent> _contents = _targetPlatform.getContents();
    Iterable<Environment> _filter = Iterables.<Environment>filter(_contents, Environment.class);
    final Function1<Environment, EList<String>> _function = new Function1<Environment, EList<String>>() {
      public EList<String> apply(final Environment it) {
        return it.getEnv();
      }
View Full Code Here

Examples of fr.obeo.releng.targetplatform.TargetPlatform

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public String getArchitecture() {
    TargetPlatform _targetPlatform = this.getTargetPlatform();
    EList<TargetContent> _contents = _targetPlatform.getContents();
    Iterable<Environment> _filter = Iterables.<Environment>filter(_contents, Environment.class);
    final Function1<Environment, EList<String>> _function = new Function1<Environment, EList<String>>() {
      public EList<String> apply(final Environment it) {
        return it.getEnv();
      }
View Full Code Here

Examples of fr.obeo.releng.targetplatform.TargetPlatform

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public Locale getLocalization() {
    TargetPlatform _targetPlatform = this.getTargetPlatform();
    EList<TargetContent> _contents = _targetPlatform.getContents();
    Iterable<Environment> _filter = Iterables.<Environment>filter(_contents, Environment.class);
    final Function1<Environment, EList<String>> _function = new Function1<Environment, EList<String>>() {
      public EList<String> apply(final Environment it) {
        return it.getEnv();
      }
View Full Code Here

Examples of fr.obeo.releng.targetplatform.TargetPlatform

   */
  public IExecutionEnvironment getExecutionEnvironment() {
    final IExecutionEnvironmentsManager eeManager = JavaRuntime.getExecutionEnvironmentsManager();
    boolean _notEquals = (!Objects.equal(eeManager, null));
    if (_notEquals) {
      TargetPlatform _targetPlatform = this.getTargetPlatform();
      EList<TargetContent> _contents = _targetPlatform.getContents();
      Iterable<Environment> _filter = Iterables.<Environment>filter(_contents, Environment.class);
      final Function1<Environment, EList<String>> _function = new Function1<Environment, EList<String>>() {
        public EList<String> apply(final Environment it) {
          return it.getEnv();
        }
View Full Code Here

Examples of fr.obeo.releng.targetplatform.TargetPlatform

    queue.addLast(targetPlatform);
    visited.add(targetPlatform);
    while ((!queue.isEmpty())) {
      {
        final LinkedList<TargetPlatform> tr = CollectionLiterals.<TargetPlatform>newLinkedList();
        final TargetPlatform t = queue.removeLast();
        EList<IncludeDeclaration> _includes = t.getIncludes();
        final Function1<IncludeDeclaration, TargetPlatform> _function = new Function1<IncludeDeclaration, TargetPlatform>() {
          public TargetPlatform apply(final IncludeDeclaration it) {
            Resource _eResource = t.eResource();
            return LocationIndexBuilder.this.getImportedTargetPlatform(_eResource, it);
          }
        };
        List<TargetPlatform> _map = ListExtensions.<IncludeDeclaration, TargetPlatform>map(_includes, _function);
        Iterable<TargetPlatform> _filterNull = IterableExtensions.<TargetPlatform>filterNull(_map);
View Full Code Here

Examples of fr.obeo.releng.targetplatform.TargetPlatform

    s.removeFirst();
    return false;
  }
 
  public TargetPlatform getImportedTargetPlatform(final Resource context, final IncludeDeclaration include) {
    TargetPlatform ret = null;
    String _resolve = this.resolver.resolve(include);
    final Resource resource = EcoreUtil2.getResource(context, _resolve);
    EList<EObject> _contents = null;
    if (resource!=null) {
      _contents=resource.getContents();
View Full Code Here

Examples of fr.obeo.releng.targetplatform.TargetPlatform

    boolean _isEmpty = _options.isEmpty();
    boolean _not = (!_isEmpty);
    if (!_not) {
      _and = false;
    } else {
      TargetPlatform _targetPlatform = location.getTargetPlatform();
      EList<Option> _options_1 = _targetPlatform.getOptions();
      boolean _isEmpty_1 = _options_1.isEmpty();
      boolean _not_1 = (!_isEmpty_1);
      _and = _not_1;
    }
    if (_and) {
View Full Code Here

Examples of fr.obeo.releng.targetplatform.TargetPlatform

    }
  }
 
  @Check
  public void deprecateOptionsOnLocation(final Location location) {
    final TargetPlatform targetPlatform = location.getTargetPlatform();
    boolean _and = false;
    EList<Option> _options = targetPlatform.getOptions();
    boolean _isEmpty = _options.isEmpty();
    if (!_isEmpty) {
      _and = false;
    } else {
      EList<Option> _options_1 = location.getOptions();
View Full Code Here

Examples of fr.obeo.releng.targetplatform.TargetPlatform

          EList<IncludeDeclaration> _includes = targetPlatform.getIncludes();
          final Function1<IncludeDeclaration, Boolean> _function = new Function1<IncludeDeclaration, Boolean>() {
            public Boolean apply(final IncludeDeclaration it) {
              boolean _xblockexpression = false;
              {
                final TargetPlatform direct = TargetPlatformValidator.this.indexBuilder.getImportedTargetPlatform(resource, it);
                boolean _or = false;
                EList<Location> _locations = direct.getLocations();
                boolean _contains = _locations.contains(location);
                if (_contains) {
                  _or = true;
                } else {
                  LinkedList<TargetPlatform> _importedTargetPlatforms = TargetPlatformValidator.this.indexBuilder.getImportedTargetPlatforms(direct);
View Full Code Here

Examples of fr.obeo.releng.targetplatform.TargetPlatform

    boolean _not = (!_isEmpty);
    if (_not) {
      EList<IncludeDeclaration> _includes = targetPlatform.getIncludes();
      final Function1<IncludeDeclaration, Boolean> _function = new Function1<IncludeDeclaration, Boolean>() {
        public Boolean apply(final IncludeDeclaration it) {
          TargetPlatform _get = cycle.get(1);
          Resource _eResource = targetPlatform.eResource();
          TargetPlatform _importedTargetPlatform = TargetPlatformValidator.this.indexBuilder.getImportedTargetPlatform(_eResource, it);
          return Boolean.valueOf(_get.equals(_importedTargetPlatform));
        }
      };
      final IncludeDeclaration cyclingImport = IterableExtensions.<IncludeDeclaration>findFirst(_includes, _function);
      boolean _notEquals = (!Objects.equal(cyclingImport, null));
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.