org.eclipse.swt.widgets.Tree.addMouseListener()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(3.8k)|赞(0)|评价(0)|浏览(117)

本文整理了Java中org.eclipse.swt.widgets.Tree.addMouseListener()方法的一些代码示例,展示了Tree.addMouseListener()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Tree.addMouseListener()方法的具体详情如下:
包路径:org.eclipse.swt.widgets.Tree
类名称:Tree
方法名:addMouseListener

Tree.addMouseListener介绍

暂无

代码示例

代码示例来源:origin: caoxinyu/RedisClient

tree.addMouseListener(new MouseAdapter() {
  @Override
  public void mouseDown(MouseEvent arg0) {

代码示例来源:origin: pentaho/pentaho-kettle

coreObjectsTree.addMouseListener( new MouseAdapter() {
 @Override
 public void mouseDoubleClick( MouseEvent event ) {

代码示例来源:origin: pentaho/pentaho-kettle

wTree.addMouseListener( new MouseAdapter() {
 @Override
 public void mouseDoubleClick( MouseEvent e ) {

代码示例来源:origin: stackoverflow.com

final Tree tree = new Tree(parent, ...);
tree.addMouseListener(new MouseAdapter() {
  @override
  public void mouseDown(MouseEvent me) {
    if(tree.getSelection() instanceof MySpecificTreeNode) {
      // create menu...
    }
  }
});

代码示例来源:origin: cbeust/testng-eclipse

private void addListeners() {
 m_tree.addSelectionListener(new SelectionListener() {
  public void widgetSelected(SelectionEvent e) {
   activate();
  }
  public void widgetDefaultSelected(SelectionEvent e) {
   activate();
  }
 });
 m_tree.addDisposeListener(new DisposeListener() {
  public void widgetDisposed(DisposeEvent e) {
   disposeIcons();
  }
 });
 m_tree.addMouseListener(new MouseAdapter() {
  @Override
  public void mouseDoubleClick(MouseEvent e) {
   handleDoubleClick(e);
  }
 });
}

代码示例来源:origin: org.eclipse.platform/org.eclipse.ui.views

tree.addMouseListener(new MouseAdapter() {
  @Override
  public void mouseDown(MouseEvent event) {

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.ui.views

tree.addMouseListener(new MouseAdapter() {
  @Override
  public void mouseDown(MouseEvent event) {

代码示例来源:origin: org.eclipse/org.eclipse.ui.views

tree.addMouseListener(new MouseAdapter() {
  public void mouseDown(MouseEvent event) {

代码示例来源:origin: org.eclipse/org.eclipse.wst.xml.ui

tree.addMouseListener(theMouseAdapter);
tree.addKeyListener(keyListener);
ScrollBar hBar = tree.getHorizontalBar();

代码示例来源:origin: org.eclipse/org.eclipse.wst.xml.ui

public TreeExtension(Tree tree) {
  this.fTree = tree;
  InternalMouseListener listener = new InternalMouseListener();
  tree.addMouseMoveListener(listener);
  tree.addMouseListener(listener);
  tree.addPaintListener(this);
  editManager = new EditManager(tree);
  delayedDrawTimer = new DelayedDrawTimer(tree);
  tableLineColor = tree.getDisplay().getSystemColor(SWT.COLOR_WIDGET_LIGHT_SHADOW);
}

代码示例来源:origin: org.eclipse.pde/org.eclipse.pde.ui

tree.addMouseListener(new MouseAdapter() {
  @Override
  public void mouseUp(MouseEvent e) {

代码示例来源:origin: stackoverflow.com

tree.addMouseListener(new MouseListener() {
  @Override
  public void mouseUp(MouseEvent e) {

代码示例来源:origin: twineworks/ruby-for-pentaho-kettle

wSamplesTree.addMouseListener(new MouseAdapter() {

代码示例来源:origin: org.eclipse.mylyn.wikitext/ui

filteredTree.getViewer().getTree().addMouseListener(new MouseAdapter() {
  @Override
  public void mouseUp(MouseEvent e) {

代码示例来源:origin: org.apache.directory.studio/ldapbrowser.common

viewer.getTree().addMouseListener( viewerMouseListener );
EventRegistry.addEntryUpdateListener( this, BrowserCommonActivator.getDefault().getEventRunner() );
BrowserCommonActivator.getDefault().getPreferenceStore().addPropertyChangeListener( propertyChangeListener );

代码示例来源:origin: org.apache.uima/textmarker-ep-caseditor

treeView.addCheckStateListener(this);
treeView.addDoubleClickListener(this);
treeView.getTree().addMouseListener(this);

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

tree.addMouseListener(new MouseAdapter() {
  @Override
  public void mouseUp(MouseEvent e) {

代码示例来源:origin: RepreZen/KaiZen-OpenAPI-Editor

tree.addMouseListener(new MouseAdapter() {
  @Override
  public void mouseDown(MouseEvent e) {

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.ui

tree.addMouseListener(new MouseAdapter() {
  @Override
  public void mouseUp(MouseEvent e) {

代码示例来源:origin: org.eclipse/org.eclipse.jdt.ui

tree.addMouseListener(new MouseAdapter() {
  public void mouseUp(MouseEvent e) {

相关文章

Tree类方法