Examples of displayName()


Examples of org.infinispan.jmx.annotations.ManagedOperation.displayName()

               if (uniqueOperations.contains(name)) {
                  throw new RuntimeException("Duplicate operation name: " + name);
               }
               uniqueOperations.add(name);

               String opDisplayName = managedOp.displayName();
               if (opDisplayName.length() == 0) {
                  throw new RuntimeException("Missing displayName on: " + name);
               }
               String displayName = withNamePrefix ? "[" + mbean.objectName() + "] " + opDisplayName : opDisplayName;
               validateDisplayName(displayName);
View Full Code Here

Examples of org.mifosplatform.portfolio.client.data.ClientData.displayName()

        } else {

            String clientName = null;
            if (client != null) {
                clientName = client.displayName();
            }

            String groupName = null;
            if (group != null) {
                groupName = group.getName();
View Full Code Here

Examples of org.netbeans.modules.php.api.executable.PhpExecutable.displayName()

    public void runCommand(PhpModule phpModule, List<String> parameters, Runnable postExecution) {
        PhpExecutable executable = getExecutable(phpModule);
        if (executable == null) {
            return;
        }
        executable.displayName(getDisplayName(phpModule, parameters.get(0)))
                .additionalParameters(getAllParameters(parameters))
                .run(getExecutionDescriptor(postExecution));
    }

    /**
 
View Full Code Here

Examples of org.nlogo.window.Widget.displayName()

      for (int i = 0; i < comps.length; i++) {
        if (comps[i] instanceof WidgetWrapper) {
          WidgetWrapper wrapper = (WidgetWrapper) comps[i];
          Widget widget = wrapper.widget();
          if (widget instanceof DummyPlotWidget &&
              e.widget.displayName().equals(widget.displayName())) {
            removeWidget(wrapper);
          }
        }
      }
      repaint();
View Full Code Here

Examples of org.rhq.helpers.pluginAnnotations.agent.Metric.displayName()

               String property = prefix + BeanConventions.getPropertyFromBeanConvention(method);
               if (!rhqMetric.property().isEmpty()) {
                  property = prefix + rhqMetric.property();
               }
               MetricProps metric = new MetricProps(property);
               String displayName = withNamePrefix ? "[" + mbean.objectName() + "] " + rhqMetric.displayName() : rhqMetric.displayName();
               metric.setDisplayName(displayName);
               metric.setDisplayType(rhqMetric.displayType());
               metric.setDataType(rhqMetric.dataType());
               metric.setUnits(rhqMetric.units());
               if (managedAttr != null) {
View Full Code Here

Examples of org.rhq.helpers.pluginAnnotations.agent.Operation.displayName()

               String name = prefix + method.getName();
               if (!rhqOperation.name().isEmpty()) {
                  name = prefix + rhqOperation.name();
               }
               OperationProps operation = new OperationProps(name);
               String displayName = withNamePrefix ? "[" + mbean.objectName() + "] " + rhqOperation.displayName() : rhqOperation.displayName();
               operation.setDisplayName(displayName);
               if (managedAttr != null) {
                  debug("Operation has ManagedAttribute annotation " + managedAttr);
                  operation.setDescription(managedAttr.description());
               } else if (managedOp != null) {
View Full Code Here

Examples of org.terasology.world.generator.RegisterWorldGenerator.displayName()

                        for (Class<?> generatorClass : tempEnvironment.getTypesAnnotatedWith(RegisterWorldGenerator.class)) {
                            if (tempEnvironment.getModuleProviding(generatorClass).equals(module.getId())) {
                                RegisterWorldGenerator annotation = generatorClass.getAnnotation(RegisterWorldGenerator.class);
                                if (isValidWorldGenerator(generatorClass)) {
                                    SimpleUri uri = new SimpleUri(moduleId, annotation.id());
                                    infos.add(new WorldGeneratorInfo(uri, annotation.displayName(), annotation.description()));
                                } else {
                                    logger.error("{} marked to be registered as a World Generator, but is not a subclass of WorldGenerator or lacks the correct constructor",
                                            generatorClass);
                                }
                            }
View Full Code Here

Examples of se.caboo.beast.model.User.displayName()

    Topic singleTopic = Topic.fetchRequiredTopic(editingContext, Topic.FORUM.eq(singleForum).and(ERXQ.equals("id", 633)));
    System.out.println("Application.Application:   " + singleTopic.title());
   
    System.out.println("Application.Application: Fetching topic user");
    User user = singleTopic.user();
    System.out.println("Application.Application:   " + user.displayName());

    System.out.println("Application.Application: Fetching posts for topic (composite pk, which is kind of interesting)");
    NSArray<Post> topicPosts = singleTopic.posts();
    for (Post post : topicPosts) {
      System.out.println("Application.Application:   " + post.createdAt());
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.