Package name.abuchen.portfolio.ui.util

Examples of name.abuchen.portfolio.ui.util.LabelOnly


        contextMenu.setVisible(true);
    }

    private void menuAboutToShow(IMenuManager manager)
    {
        manager.add(new LabelOnly(Messages.LabelTaxonomies));
        for (final Taxonomy t : client.getTaxonomies())
        {
            Action action = new Action(t.getName())
            {
                @Override
                public void run()
                {
                    taxonomy = t;

                    if (clientSnapshot != null)
                        internalSetInput(clientSnapshot.groupByTaxonomy(taxonomy));
                    else
                        internalSetInput(portfolioSnapshot.groupByTaxonomy(taxonomy));
                }
            };
            action.setChecked(t.equals(taxonomy));
            manager.add(action);
        }

        manager.add(new Separator());

        manager.add(new LabelOnly(Messages.LabelColumns));
        support.menuAboutToShow(manager);
    }
View Full Code Here


    private void sharesMenuAboutToShow(IMenuManager manager)
    {
        Model model = (Model) getModel();

        manager.add(new LabelOnly(Messages.DividendsDialogTitleShares));

        ClientSnapshot snapshot = model.getSnapshot();

        if (snapshot != null && model.getSecurity() != null)
        {
View Full Code Here

    }

    @Override
    public void menuAboutToShow(IMenuManager manager)
    {
        manager.add(new LabelOnly(Messages.LabelAvailableAttributes));

        Set<AttributeType> existing = new HashSet<AttributeType>();
        for (AttributeDesignation d : model.getAttributes())
            existing.add(d.getType());
View Full Code Here

                addAndOpenTaxonomy(taxonomy);
            }
        });

        manager.add(new Separator());
        manager.add(new LabelOnly(Messages.LabelTaxonomyTemplates));

        for (final TaxonomyTemplate template : TaxonomyTemplate.list())
        {
            manager.add(new Action(template.getName())
            {
View Full Code Here

TOP

Related Classes of name.abuchen.portfolio.ui.util.LabelOnly

Copyright © 2018 www.massapicom. 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.