Package org.eclipse.jface.viewers

Examples of org.eclipse.jface.viewers.TreeViewerFocusCellManager


  public PropertyListEditor(Composite parent, boolean rootVisible, boolean canEditRootType, Set<String> filteredKeyPaths) {
    _propertyListTree = new TreeViewer(parent, SWT.BORDER | SWT.FULL_SELECTION | SWT.BACKGROUND | SWT.SINGLE | SWT.NO_SCROLL | SWT.V_SCROLL);
    _propertyListTree.getTree().setHeaderVisible(true);
    _propertyListTree.getTree().setLinesVisible(true);
    _propertyListTree.setAutoExpandLevel(2);
    TreeViewerFocusCellManager focusCellManager = new TreeViewerFocusCellManager(_propertyListTree, new FocusCellOwnerDrawHighlighter(_propertyListTree), new WOTreeCellNavigationStrategy());
    ColumnViewerEditorActivationStrategy actSupport = new ColumnViewerEditorActivationStrategy(_propertyListTree) {
      protected boolean isEditorActivationEvent(ColumnViewerEditorActivationEvent event) {
        ViewerCell cell = (ViewerCell) event.getSource();
        boolean isEditorActivationEvent;
        if (cell.getColumnIndex() == 1) {
View Full Code Here

TOP

Related Classes of org.eclipse.jface.viewers.TreeViewerFocusCellManager

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.