Package org.eclipse.jface.action

Examples of org.eclipse.jface.action.ToolBarManager.createControl()


            } else {
              v.removeValues(selected);
            }
          }
        });
        return manager.createControl(conComposite);
      }

    });

    v.setValueAsSelection(false);
View Full Code Here


            } else {
              v.removeValues(selected);
            }
          }
        });
        return manager.createControl(conComposite);
      }

    });

    v.setValueAsSelection(false);
View Full Code Here

            };
            c.setLayout(new GridLayout(1, false));
            ToolBarManager man = new ToolBarManager();
            Action action = ui.createActions(man, false);
            man.createControl(c);

            GAEField d = (GAEField) f;
            if (d.keyKind == null) {
              final String[] kinds = new String[1];
              Binding bnd = new Binding("");
View Full Code Here

   * @return Control
   */
  Control getContainerToolBar(Composite composite) {
 
    ToolBarManager historyManager = new ToolBarManager(SWT.HORIZONTAL | SWT.FLAT);
    historyManager.createControl(composite);
 
    history.createHistoryControls(historyManager.getControl(), historyManager);
   
    historyManager.update(false);
 
View Full Code Here

      uncapturedTimeValueLabel.setForeground(toolkit.getColors().getColor(IFormColors.TITLE));
      uncapturedTimeValueLabel.setBackground(null);

      ToolBarManager toolbar = new ToolBarManager(SWT.FLAT);
      fillToolBar(toolbar);
      toolbar.createControl(textClient);
     
      toolkit.paintBordersFor(textClient);
      section.setTextClient(textClient);
    }
   
View Full Code Here

  public TableComposite(Composite parent, int style) {
    super(parent, style);
    setLayout(new GridLayout(1, false));
   
    ToolBarManager toolBarManager = new ToolBarManager(SWT.FLAT | SWT.RIGHT);
    ToolBar toolBar = toolBarManager.createControl(this);
    toolBar.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, true, false, 1, 1));
   
    tableViewer = new TableViewer(this, SWT.BORDER | SWT.FULL_SELECTION);
    TableViewerColumn column = new TableViewerColumn(tableViewer, SWT.NONE);
    column.getColumn().setWidth(30);
View Full Code Here

        return false;
    }

    protected void addSyncToolbarAction() {
        ToolBarManager toolBarManager = new ToolBarManager(SWT.FLAT);
        ToolBar toolbar = toolBarManager.createControl(getSection());
        final Cursor handCursor = new Cursor(Display.getCurrent(), SWT.CURSOR_HAND);
        toolbar.setCursor(handCursor);
        // Cursor needs to be explicitly disposed
        toolbar.addDisposeListener(new DisposeListener() {
            public void widgetDisposed(DisposeEvent e) {
View Full Code Here

        _browserComposite.setVisibility(Visibility.SANDBOX);
        visibility = Visibility.SANDBOX;
      }
    }));
       
        tbManager.createControl(parent);
        setControl(parent);
    }
   
    public boolean isPageComplete() {
        return super.isPageComplete() &
View Full Code Here

      public void run() {
        print();
      }
    }));
       
        ToolBar batchActionBar = tbManager.createControl(groupNew);
        batchActionBar.setLayoutData(new GridData(GridData.FILL, GridData.BEGINNING, false, false, 2,1));

        _textViewer = new TextViewer(groupNew, SWT.MULTI | SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL | SWT.WRAP);
        _textViewer.setDocument(new Document());
    licenceT = _textViewer.getTextWidget();
View Full Code Here

            _browserComposite.setVisibility(Visibility.SANDBOX);
            visibility = Visibility.SANDBOX;
          }
        }));

    tbManager.createControl(parent);
    return content;
  }
  public String getName() {
    return _name;
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.