Examples of BreadCrumbElement


Examples of com.alee.extended.breadcrumb.BreadcrumbElement

                    @Override
                    public void actionPerformed ( final ActionEvent e )
                    {
                        // Currently updated element
                        final BreadcrumbElement be = getElement ( element );

                        // Calculating progress changes
                        final float progress = be.getProgress ();
                        if ( progress >= 1f )
                        {
                            if ( run % 2 != 0 )
                            {
                                // Clearing previous element progress on odd runs
                                be.setProgress ( 0f );
                                be.setShowProgress ( false );
                            }
                            else
                            {
                                // Saving progress on even runs
                                be.setProgress ( 1f );
                                be.setShowProgress ( true );
                            }

                            if ( element < 3 )
                            {
                                // Still the same run
                                element = element + 1;
                            }
                            else
                            {
                                // New run starts
                                element = 0;
                                run++;

                                // Clearing progress on odd run
                                if ( run % 2 != 0 )
                                {
                                    for ( int i = 0; i <= 3; i++ )
                                    {
                                        final BreadcrumbElement el = getElement ( i );
                                        el.setProgress ( 0f );
                                        el.setShowProgress ( false );
                                    }
                                }
                            }
                        }
                        else
View Full Code Here

Examples of fr.openwide.core.wicket.more.markup.html.template.model.BreadCrumbElement

      userModel.getObject().setEmail(profile.getEmail());
      userModel.getObject().setFullName(profile.getDisplayName());
      userModel.getObject().setRemoteIdentifier(profile.getId());
    }

    addBreadCrumbElement(new BreadCrumbElement(new ResourceModel("register.pageTitle"), RegisterPage.linkDescriptor()));
   
    add(new Label("pageTitle", new ResourceModel("register.pageTitle")));
   
    add(new RegisterFormPanel("registerFormPanel", userModel));
  }
View Full Code Here

Examples of fr.openwide.core.wicket.more.markup.html.template.model.BreadCrumbElement

  public DashboardPage(PageParameters parameters) {
    super(parameters);
   
    addBodyCssClass("force-vertical-scroll");
   
    addHeadPageTitleElement(new BreadCrumbElement(new ResourceModel("dashboard.pageTitle")));
    addBreadCrumbElement(new BreadCrumbElement(new ResourceModel("dashboard.pageTitle"), DashboardPage.linkDescriptor()));
   
    add(new Label("pageTitle", new ResourceModel("dashboard.pageTitle")));
   
    DashboardNotificationListViewPanel notificationsPanel = new DashboardNotificationListViewPanel("notificationPanel",
        new NotificationsModel(MavenArtifactNotifierSession.get().getUserModel()));
View Full Code Here

Examples of fr.openwide.core.wicket.more.markup.html.template.model.BreadCrumbElement

      redirect(getApplication().getHomePage());
      return;
    }

    addBreadCrumbElement(new BreadCrumbElement(new ResourceModel("home.pageTitle"), HomePage.linkDescriptor()));
    addBreadCrumbElement(new BreadCrumbElement(new ResourceModel("notification.email.confirm.pageTitle"), getPageClass(), parameters));
   
    add(new Label("pageTitle", new ResourceModel("notification.email.confirm.pageTitle")));
   
    add(new Link<EmailAddress>("confirmLink", emailAddressModel) {
      private static final long serialVersionUID = 1L;
View Full Code Here

Examples of fr.openwide.core.wicket.more.markup.html.template.model.BreadCrumbElement

    User user = LinkUtils.extractUserFromHashPageParameter(userService, parameters, getApplication().getHomePage());
    userModel = new GenericEntityModel<Long, User>(user);
    passwordModel = Model.of();
    confirmPasswordModel = Model.of();

    addBreadCrumbElement(new BreadCrumbElement(new ResourceModel("home.pageTitle"), HomePage.linkDescriptor()));
    addBreadCrumbElement(new BreadCrumbElement(new ResourceModel("notification.resetPassword.pageTitle"), getPageClass(), parameters));
   
    add(new Label("pageTitle", new ResourceModel("notification.resetPassword.pageTitle")));
   
    Form<User> form = new Form<User>("form") {
      private static final long serialVersionUID = 1L;
View Full Code Here

Examples of fr.openwide.core.wicket.more.markup.html.template.model.BreadCrumbElement

   
    projectModel = new GenericEntityModel<Long, Project>(null);
   
    linkDescriptor(projectModel).extractSafely(parameters, ProjectListPage.linkDescriptor());
   
    addBreadCrumbElement(new BreadCrumbElement(new ResourceModel("project.list.pageTitle"), ProjectListPage.linkDescriptor()));
    addBreadCrumbElement(new BreadCrumbElement(new StringResourceModel("project.description.pageTitle", projectModel),
        ProjectDescriptionPage.linkDescriptor(projectModel)));
   
    add(new Label("pageTitle", new StringResourceModel("project.description.pageTitle", projectModel)));
   
    // Edit popup
View Full Code Here

Examples of fr.openwide.core.wicket.more.markup.html.template.model.BreadCrumbElement

   
    artifactModel = new GenericEntityModel<Long, Artifact>(null);
   
    linkDescriptor(artifactModel).extractSafely(parameters, AdministrationArtifactPortfolioPage.linkDescriptor());
   
    addBreadCrumbElement(new BreadCrumbElement(new ResourceModel("navigation.administration.artifact"),
        AdministrationArtifactPortfolioPage.linkDescriptor()));
   
    addBreadCrumbElement(new BreadCrumbElement(new StringResourceModel("artifact.description.pageTitle", artifactModel),
        AdministrationArtifactDescriptionPage.linkDescriptor(artifactModel)));
   
    add(new Label("pageTitle", new StringResourceModel("artifact.description.pageTitle", artifactModel)));
   
    add(new DeprecatedArtifactPanel("deprecated", artifactModel));
View Full Code Here

Examples of fr.openwide.core.wicket.more.markup.html.template.model.BreadCrumbElement

    String term = parameters.get(LinkUtils.SEARCH_TERM_PARAMETER).toString();
    long pageNumber = LinkUtils.extractPageNumberParameter(parameters);
   
    IModel<String> searchTermModel = Model.of(term);
   
    addBreadCrumbElement(new BreadCrumbElement(new ResourceModel("project.list.pageTitle"),
        ProjectListPage.linkDescriptor()));
   
    // Add project button
    final ProjectFormPopupPanel addProjectPopup = new ProjectFormPopupPanel("addProjectPopup", FormPanelMode.ADD);
    add(addProjectPopup);
View Full Code Here

Examples of fr.openwide.core.wicket.more.markup.html.template.model.BreadCrumbElement

  }

  public AdministrationUserPortfolioPage(PageParameters parameters) {
    super(parameters);
   
    addBreadCrumbElement(new BreadCrumbElement(new ResourceModel("navigation.administration.user"),
        AdministrationUserPortfolioPage.linkDescriptor()));
   
    IModel<String> searchTermModel = Model.of("");
   
    UserPortfolioPanel portfolioPanel = new UserPortfolioPanel("portfolio", new UserDataProvider(searchTermModel),
View Full Code Here

Examples of fr.openwide.core.wicket.more.markup.html.template.model.BreadCrumbElement

  }

  public AdministrationUserGroupPortfolioPage(PageParameters parameters) {
    super(parameters);
   
    addBreadCrumbElement(new BreadCrumbElement(new ResourceModel("navigation.administration.usergroup"),
        AdministrationUserGroupPortfolioPage.linkDescriptor()));
   
    IModel<List<UserGroup>> userGroupListModel = new LoadableDetachableModel<List<UserGroup>>() {
      private static final long serialVersionUID = -4518288683578265677L;
     
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.