Package org.mevenide.idea.psi.project

Examples of org.mevenide.idea.psi.project.PsiResourcePatterns


        final XmlFile xmlFile = psiResources.getXmlFile();

        final ResourcesTableModel resourcesModel = new ResourcesTableModel(psiResources);
        resources = new CRUDTablePanel<ResourcesTableModel>(xmlFile, resourcesModel);

        final PsiResourcePatterns psiIncl = psiResources.getIncludes(-1);
        final ResourcePatternsTableModel includesModel;
        includesModel = new ResourcePatternsTableModel(psiIncl);
        includes = new CRUDTablePanel<ResourcePatternsTableModel>(xmlFile, includesModel);
        includes.getAddButton().setEnabled(false);
        includes.getRemoveButton().setEnabled(false);
View Full Code Here


    }

    public void valueChanged(final ListSelectionEvent pEvent) {
        final int row = resources.getSelectedRow();

        final PsiResourcePatterns psiIncludes = psiResources.getIncludes(row);
        includes.setTableModel(new ResourcePatternsTableModel(psiIncludes));

        final PsiResourcePatterns psiExcludes = psiResources.getExcludes(row);
        excludes.setTableModel(new ResourcePatternsTableModel(psiExcludes));

        includes.getAddButton().setEnabled(row >= 0);
        includes.getRemoveButton().setEnabled(row >= 0);
View Full Code Here

        else if (pType == PatternType.EXCLUDES)
            cache = excludesCache;
        else
            throw new IllegalArgumentException("illegal type - " + pType);

        PsiResourcePatterns props = cache.get(pRow);
        if (props == null) {
            props = createPsiResourcePatterns(pRow, pType);
            cache.put(pRow, props);
        }
View Full Code Here

TOP

Related Classes of org.mevenide.idea.psi.project.PsiResourcePatterns

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.