Package net.sf.myway.calibrator.ui.scannedmaps

Examples of net.sf.myway.calibrator.ui.scannedmaps.ScannedMapsLabelProvider


    _viewer = new TreeViewer(container, SWT.BORDER | SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
    final ObservableListTreeContentProvider content = new ObservableListTreeContentProvider(
      BeanProperties.list("allChildren", Folder.class).listFactory(), //$NON-NLS-1$
      new FolderStructureAdvisor());
    _viewer.setContentProvider(content);
    _viewer.setLabelProvider(new ScannedMapsLabelProvider());
    _viewer.setUseHashlookup(true);
    _viewer.setInput(CalibratorPlugin.getBL().getTreeRoot());
    _viewer.addSelectionChangedListener(new ISelectionChangedListener() {
      @Override
      public void selectionChanged(final SelectionChangedEvent arg0) {
View Full Code Here


  public void createPartControl(final Composite parent) {
    _viewer = new TreeViewer(parent, SWT.SINGLE | SWT.H_SCROLL | SWT.V_SCROLL);
    _content = new ObservableListTreeContentProvider(BeanProperties.list("allChildren", //$NON-NLS-1$
      Folder.class).listFactory(), new FolderStructureAdvisor());
    _viewer.setContentProvider(_content);
    _viewer.setLabelProvider(new ScannedMapsLabelProvider());
    _viewer.setUseHashlookup(true);
    _viewer.setInput(getBL().getTreeRoot());
    makeActions();
    hookContextMenu();
    hookDoubleClickAction();
View Full Code Here

    Label label1 = new Label(container, SWT.NULL);
    label1.setText(Messages.NewScannedMapWizardPage_FolderLabel);
    _tree = new TreeViewer(container, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER);
    _tree.setContentProvider(new FolderContentProvider());
    _tree.setLabelProvider(new ScannedMapsLabelProvider());
    _tree.setUseHashlookup(true);
    _tree.setInput(CalibratorPlugin.getModel().getTreeRoot());
    _tree.addSelectionChangedListener(new ISelectionChangedListener() {
      @Override
      public void selectionChanged(SelectionChangedEvent event) {
View Full Code Here

    final Label label1 = new Label(container, SWT.NULL);
    label1.setText(Messages.NewFolderWizardPage_ParentLabel);
    _tree = new TreeViewer(container, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER);
    _tree.setContentProvider(new FolderContentProvider());
    _tree.setLabelProvider(new ScannedMapsLabelProvider());
    _tree.setUseHashlookup(true);
    _tree.setInput(CalibratorPlugin.getModel().getTreeRoot());
    _tree.addSelectionChangedListener(new ISelectionChangedListener() {
      @Override
      public void selectionChanged(final SelectionChangedEvent event) {
View Full Code Here

TOP

Related Classes of net.sf.myway.calibrator.ui.scannedmaps.ScannedMapsLabelProvider

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.