Package net.andydvorak.intellij.lessc.state

Examples of net.andydvorak.intellij.lessc.state.CssDirectory


        cssDirectories = new ArrayList<CssDirectory>();

        // Deep clone
        for (final CssDirectory cssDirectory : lessProfile.getCssDirectories()) {
            cssDirectories.add(new CssDirectory(cssDirectory));
        }

        final ColumnInfo[] columns = { new CssDirectoryColumn() };
        profileMappingModel = new ListTableModel<CssDirectory>(columns, cssDirectories, 0);
        profileMappingTable = new JBTable(profileMappingModel);
View Full Code Here


    private void addRow() {
        final String path = promptForFilePath();

        if (StringUtil.isNotEmpty(path)) {
            profileMappingModel.addRow(new CssDirectory(path));
            removeDuplicateRows();
        }
    }
View Full Code Here

    private void editRow() {
        if (profileMappingTable.getSelectedRowCount() != 1) {
            return;
        }

        final CssDirectory cssDirectory = (CssDirectory) profileMappingModel.getItem(profileMappingTable.getSelectedRow());

        if (cssDirectory == null)
            return;

        final String newPath = promptForFilePath(cssDirectory.getPath());

        if (StringUtil.isNotEmpty(newPath)) {
            cssDirectory.setPath(newPath);
            removeDuplicateRows();
        }
    }
View Full Code Here

TOP

Related Classes of net.andydvorak.intellij.lessc.state.CssDirectory

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.