Examples of extend()


Examples of org.apache.isis.viewer.dnd.drawing.Size.extend()

            final int itemWidth = item.isBlank ? 0 : style().stringWidth(item.name);
            size.ensureWidth(itemWidth);
            size.extendHeight(style().getLineHeight() + ViewConstants.VPADDING);
        }

        size.extend(getPadding());
        size.extendWidth(ViewConstants.HPADDING * 2);
        return size;
    }

    public int getOption() {
View Full Code Here

Examples of org.apache.isis.viewer.dnd.drawing.Size.extend()

        size.ensureWidth(titleText.stringWidth(heading));

        size.extendWidth(errorIcon.getWidth());
        size.extendWidth(PADDING);

        size.extend(LEFT + RIGHT, TOP * 2);
        return size;
    }

    @Override
    public void draw(final Canvas canvas) {
View Full Code Here

Examples of org.apache.struts.tiles.xmlDefinition.XmlDefinitionsSet.extend()

        }

        // Parse default file, and add key file.
        XmlDefinitionsSet rootXmlConfig = parseXmlKeyFile(servletContext, "", null);

        rootXmlConfig.extend(lastXmlFile);
        rootXmlConfig.resolveInheritances();

        factory = new DefinitionsFactory(rootXmlConfig);
        loaded.put(key, factory);
View Full Code Here

Examples of org.camunda.bpm.engine.filter.Filter.extend()

    assertEquals(sortByNameAsc, orderBy);

    // extend query by new task query with additional sorting
    TaskQuery extendingQuery = taskService.createTaskQuery().orderByTaskAssignee().desc();
    extendedFilter = extendedFilter.extend(extendingQuery);
    query = extendedFilter.getQuery();
    orderBy = query.getOrderBy();

    assertEquals(sortByNameAsc + ", " + sortByAssigneeDesc, orderBy);
View Full Code Here

Examples of org.camunda.bpm.engine.filter.Filter.extend()

    assertEquals(sortByNameAsc + ", " + sortByAssigneeDesc, orderBy);

    // extend query by incomplete sorting query (sorting should not change)
    sortQuery = taskService.createTaskQuery().orderByCaseExecutionId();
    extendedFilter = extendedFilter.extend(sortQuery);
    query = extendedFilter.getQuery();
    orderBy = query.getOrderBy();

    assertEquals(sortByNameAsc + ", " + sortByAssigneeDesc, orderBy);
  }
View Full Code Here

Examples of org.camunda.bpm.engine.filter.Filter.extend()

      .findFilterById(filterId);

    ensureNotNull("No filter found for id '" + filterId + "'", "filter", filter);

    if (extendingQuery != null) {
      return filter.extend(extendingQuery);
    }
    else {
      return filter;
    }
  }
View Full Code Here

Examples of org.jboss.errai.codegen.builder.impl.ObjectBuilder.extend()

        );

        /* add the bean to SimpleCreationalContext */

        final ObjectBuilder objectBuilder = Stmt.create().newObject(Runnable.class);
        final BlockBuilder<AnonymousClassStructureBuilder> blockBuilder = objectBuilder
            .extend().publicOverridesMethod("run");

        final BlockBuilderUpdater updater
            = new BlockBuilderUpdater(injectContext, AsyncTypeInjector.this, constructionType, targetBlock, blockBuilder);

View Full Code Here

Examples of org.jboss.errai.codegen.builder.impl.ObjectBuilder.extend()

        );

        /* add the bean to SimpleCreationalContext */

        final ObjectBuilder objectBuilder = Stmt.create().newObject(Runnable.class);
        final BlockBuilder<AnonymousClassStructureBuilder> blockBuilder = objectBuilder
            .extend().publicOverridesMethod("run");

        final BlockBuilderUpdater updater
            = new BlockBuilderUpdater(injectContext, AsyncTypeInjector.this, constructionType, targetBlock, blockBuilder);

View Full Code Here

Examples of org.jibx.schema.codegen.custom.SchemaCustom.extend()

            s_logger.debug("Assigning customization for schema " + ++count + ": " + resolver.getName());
            SchemasetCustom owner = findSchemaset(schema, m_global);
            SchemaCustom custom = owner.forceCustomization(resolver.getName(), resolver.getId(), schema,
                m_validationContext);
            custom.validate(m_validationContext);
            custom.extend(null, m_validationContext);
        }
       
        // check all the customizations
        m_global.checkSchemas(m_validationContext);
        return !reportProblems(m_validationContext);
View Full Code Here

Examples of org.jibx.schema.codegen.custom.SchemaCustom.extend()

                }
                holder = m_packageDirectory.getPackageForUri(uri);
            } else {
                holder = m_packageDirectory.getPackage(pname);
            }
            custom.extend(holder, m_validationContext);
        }
       
        // check all the customizations
        m_global.checkSchemas(m_validationContext);
        return !m_validationContext.reportProblems(handler);
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.