Examples of ArtifactVersionTagPanel


Examples of fr.openwide.maven.artifact.notifier.web.application.artifact.component.ArtifactVersionTagPanel

                .link("artifactLink");
            artifactLink.add(new Label("id", BindingModel.of(artifactModel, Binding.artifact().artifactKey().key())));
            item.add(artifactLink);
           
            // Version tag
            item.add(new ArtifactVersionTagPanel("version", BindingModel.of(notificationModel,  Binding.artifactVersionNotification().artifactVersion().version())));
           
            // Version links
            item.add(new ArtifactVersionLinksPanel("links", BindingModel.of(notificationModel,
                Binding.artifactVersionNotification().artifactVersion())));
          }
View Full Code Here

Examples of fr.openwide.maven.artifact.notifier.web.application.artifact.component.ArtifactVersionTagPanel

    add(new ListView<ProjectVersion>("projectVersions", CollectionToListWrapperModel.of(setModel)) {
      private static final long serialVersionUID = 1L;

      @Override
      protected void populateItem(final ListItem<ProjectVersion> item) {
        item.add(new ArtifactVersionTagPanel("version", BindingModel.of(item.getModel(), Binding.projectVersion().version())));
        item.add(new DateLabel("lastUpdateDate", BindingModel.of(item.getModel(), Binding.projectVersion().lastUpdateDate()),
            DatePattern.SHORT_DATE));
       
        // Changelog link
        item.add(new HideableExternalLink("changelogLink",
View Full Code Here

Examples of fr.openwide.maven.artifact.notifier.web.application.artifact.component.ArtifactVersionTagPanel

          @Override
          protected boolean shouldGetFirstModel() {
            return followedArtifactModel.getObject() != null;
          }
        };
        ArtifactVersionTagPanel lastVersion = new ArtifactVersionTagPanel("lastVersion", lastVersionModel, false);
        item.add(lastVersion);
        item.add(new WebMarkupContainer("noVersions") {
          private static final long serialVersionUID = 1L;

          @Override
View Full Code Here

Examples of fr.openwide.maven.artifact.notifier.web.application.artifact.component.ArtifactVersionTagPanel

      @Override
      protected void populateItem(ListItem<ArtifactVersion> item) {
        item.add(ArtifactDescriptionPage.linkDescriptor(BindingModel.of(item.getModel(), Binding.artifactVersion().artifact())).link("artifactId")
            .setBody(BindingModel.of(item.getModel(), Binding.artifactVersion().artifact().artifactKey().key())));
       
        item.add(new ArtifactVersionTagPanel("version", BindingModel.of(item.getModel(), Binding.artifactVersion().version())));
      }
    });
  }
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.