Package org.springframework.ide.eclipse.beans.ui.properties.model

Examples of org.springframework.ide.eclipse.beans.ui.properties.model.PropertiesModelLabelProvider


        handleTreeSelectionChanged();
      }
    });
    configSetsViewer = new TreeViewer(configSetsTree);
    configSetsViewer.setContentProvider(new ConfigSetContentProvider(project));
    configSetsViewer.setLabelProvider(new PropertiesModelLabelProvider());
    configSetsViewer.setSorter(new ConfigSetsSorter());
    configSetsViewer.setInput(project.getProject()); // activate content
    // provider
    configSetsViewer.expandToLevel(project, 1);
    configSetsViewer.addDoubleClickListener(new IDoubleClickListener() {
View Full Code Here


    gd.heightHint = LIST_VIEWER_HEIGHT;

    configsViewer.getTable().setLayoutData(gd);
    configsViewer.setContentProvider(new ConfigFilesContentProvider(
        createConfigList()));
    configsViewer.setLabelProvider(new PropertiesModelLabelProvider());
    configsViewer.setSorter(new ConfigFilesSorter());
    configsViewer.setInput(this); // activate content provider
    configsViewer.setCheckedElements(configSet.getConfigs().toArray());
    configsViewer.addSelectionChangedListener(new ISelectionChangedListener() {
     
View Full Code Here

        handleTableSelectionChanged();
      }
    });
    configsViewer = new TableViewer(configsTable);
    configsViewer.setContentProvider(new ConfigFilesContentProvider(project));
    configsViewer.setLabelProvider(new PropertiesModelLabelProvider());
    configsViewer.setInput(this); // activate content provider
    configsViewer.setSorter(new ConfigFilesSorter());

    if (this.selectedElement != null) {
      configsViewer.setSelection(new StructuredSelection(selectedElement), true);
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.beans.ui.properties.model.PropertiesModelLabelProvider

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.