`

JFace snippet

 
阅读更多

附件有org.eclipse.jface.snippets,就是官网上面的,现在需要GIT,低版本的eclipse没有把GIT集成在eclipse中,需要自己手动安装。

 

自己对这些例子简直看看了。

1.1 Snippet012DialogWithImageButtons(button with image)
2 Layout
2.1 Snippet013GridLayoutFactory(done)
2.2 Snippet016TableLayout(done)
2.3 Snippet027TreeLayout(tree table)
3 Viewers
3.1 Snippet001TableViewer(done)
3.2 Snippet002TreeViewer(ITreeContentProvider)
3.3 Snippet003TableLabelProvider(ITableLabelProvider.getColumnImage)
3.4 Snippet004HideSelection(Snippet that hides the selection when nothing is selected.)
3.5 Snippet005TreeCustomMenu(Customized context menu based on TreeItem-Selection)
3.6 Snippet006TableMultiLineCells(OwnerDrawLabelProvider)
3.7 Snippet007FullSelection(CellEditor, ICellModifier)
3.8 Snippet008RevealElement(AbstractTableViewer.reveal())
3.9 Snippet009CellEditors(CellEditor, ICellModifier)
3.10 Snippet010OwnerDraw(OwnerDrawLabelProvider)
3.11 Snippet011CustomTooltips(CellLabelProvider, to custom Tooltip for cell.)
3.12 Snippet013TableViewerNoMandatoryLabelProvider(ITableFontProvider, ITableColorProvider)
3.13 Snippet014TreeViewerNoMandatoryLabelProvider(ITableFontProvider, ITableColorProvider)
3.14 Snippet015CustomTooltipsForTree(CellLabelProvider, to cuton tooltip for cell)
3.15 Snippet017TableViewerHideShowColumns(dynamic hide column, using setting column's width.)
3.16 Snippet018TableViewerAddRemoveColumnsWithEditing (add and remove column)
3.17 Snippet019TableViewerAddRemoveColumnsWithEditingNewAPI(done)
3.18 Snippet021CellEditorsOnDoubleClick (disable mouse down listen)
3.19 Snippet022TableViewerRefreshNoScroll (done)
3.20 Snippet024TableViewerExploreNewAPI(AbstractEditingSupport)
3.21 Snippet025TabEditing(org.eclipse.jface.viewers.TableViewerEditor key tab to tranverse editor cell.)
3.22 Snippet026TreeViewerTabEditing ('tab' to tranverse editor cell)
3.23 Snippet027ComboBoxCellEditors (ComboBoxCell-Editor)
3.24 Snippet029VirtualTableViewer (Virtual TableViewer)
3.25 Snippet030VirtualLazyTableViewer (Virtual Lazy TableViewer)
3.26 Snippet031TableViewerCustomTooltipsMultiSelection (custom tooltips)
3.27 Snippet032TableTreeViewer (TableTreeViewer editor)
3.28 Snippet033CellEditorPerRowPre33 (different CellEditors within one column)
3.29 Snippet034CellEditorPerRowNewAPI (different CellEditors within one column)
3.30 Snippet035TableCursorCellHighlighter (TableCursorCellHighlighter)
3.31 Snippet036FocusBorderCellHighlighter (FocusBorderCellHighlighter)
3.32 Snippet037FancyCustomTooltips (FancyCustomTooltips)
3.33 Snippet038TreeViewerInlinelEditingOldAPI (TreeViewerInlinelEditingOldAPI)
3.34 Snippet039ListViewer (ListViewer)
3.35 Snippet040TableViewerSorting (TableViewerSorting)
3.36 Snippet041TableViewerAlternatingColors (TableViewerAlternatingColors)
3.37 Snippet042ToolTipSupportFor32API (ToolTips with the OLD viewer API)
3.38 Snippet043NoColumnTreeViewerKeyboardEditing (keyboard-editing support in a TreeViewer)
3.39 Snippet044NoColumnTableViewerKeyboardEditing (keyboard-editing support in a TableViewer)
3.40 Snippet045TableViewerFillFromBackgroundThread (FillFromBackgroundThread)
3.41 Snippet046UpdateViewerFromBackgroundThread (UpdateViewerFromBackgroundThread)
3.42 Snippet047VirtualLazyTreeViewer (VirtualLazyTreeViewer)
3.43 Snippet048TreeViewerTabWithCheckboxFor3_3 (TAB-Traversal and Checkbox)
3.44 Snippet049StyledCellLabelProvider (StyledCellLabelProvider)
3.45 Snippet050DelegatingStyledCellLabelProvider (DelegatingStyledCellLabelProvider)
3.46 Snippet051TableCenteredImage( how to center an image using an owner draw label provider)
3.47 Snippet052DouleClickCellEditor (how to setup a Viewer to start cell editing on double click)
3.48 Snippet053StartEditorWithContextMenu (StartEditorWithContextMenu)
Snippet054NativeControlsInViewers54(NativeControlsInViewers, such as can editor 3 radio)
3.49 Snippet055HideShowColumn (HideShowColumn)
3.50 Snippet056BooleanCellEditor (BooleanCellEditor, image and text)
3.51 Snippet057TableViewerSkipHiddenCells (how easy cell-navigation with hidden cells)
3.52 Snippet058CellNavigationIn34 (full feature cell navigation)
3.53 Snippet059CellNavigationIn33 (full feature cell navigation)
3.54 Snippet060TextCellEditorWithContentProposal (how to attach content assist to a text cell editor.)
3.55 Snippet061FakedNativeCellEditor (FakedNativeCellEditor)
Snippet62TextAndDialogCellEditor (TextAndDialogCellEditor me has bug)
4 Window
4.1 Snippet020CustomizedControlTooltips (custom toolstips for controls)
4.2 Snippet023TreeViewerCustomTooltips (TreeViewerCustomTooltips)
4.3 Snippet031TableStaticTooltip.java (TableStaticTooltip)
5 Wizard
5.1 Snippet047WizardWithLongRunningOperation (open wizard demonstrate how to load data from a background thread into a TableViewer)

分享到:
评论

相关推荐

    swt/jface.jar

    标题中的"swt/jface.jar"是一个关键组件,它在Java开发环境中用于构建用户界面。SWT(Standard Widget Toolkit)是IBM开发的一个开源GUI库,它提供了与原生操作系统更紧密集成的图形用户界面控件。JFace是建立在SWT...

    JFace教程

    ### JFace教程知识点详解 #### 一、JFace简介与应用场景 **JFace** 是 Eclipse 平台的一个重要组成部分,它提供了一套丰富的 API 来帮助开发者构建基于 SWT(Standard Widget Toolkit)的用户界面。JFace 的核心...

    SWT/JFace专题 --- SWT/JFace概述

    SWT (Standard Widget Toolkit) 和 JFace 是两个在Java中用于构建图形用户界面(GUI)的重要库,尤其在开发Eclipse插件时被广泛应用。它们是开源项目,由Eclipse基金会维护,为开发者提供了丰富的控件和高级UI设计...

    SWT_JFace_in_action_jface_action_

    《SWT_JFace_in_Action》是一本专注于Java编程领域中SWT(Standard Widget Toolkit)和JFace技术的实践指南。这本书深入浅出地讲解了如何使用这两项强大的工具来构建功能丰富的图形用户界面(GUI)。SWT是Eclipse...

    JFace 类包(3.14)

    JFace 是一个面向Java开发者的图形用户界面(GUI)构建框架,它建立在SWT(Standard Widget Toolkit)之上,提供了一种更高层次的抽象来创建应用程序的用户界面。JFace的目标是简化GUI开发,使开发者可以更加关注...

    mysource-jface

    "mysource-jface"是一个与Java编程相关的项目,主要涉及JFace库的使用。JFace是Eclipse框架的一部分,它提供了一组高级图形用户界面(GUI)组件和工具,简化了SWT(Standard Widget Toolkit)的使用。这篇博客文章...

    JFace一些资料

    **JFace技术详解** JFace是Eclipse框架中的一部分,它是构建用户界面(UI)的一种高级工具包。JFace的设计目标是提供一个面向对象的、与操作系统无关的接口,简化Swing和SWT(Standard Widget Toolkit)之间的开发...

    swt-jface入门

    【SWT/JFace 简介】 SWT(Standard Widget Toolkit)是Java开发者用于创建图形用户界面(GUI)的一种库,它与底层操作系统紧密集成,提供了可移植的API。SWT的优势在于其高性能和与操作系统原生界面的接近,这使得用...

    Eclipse SWT JFace核心应用_pdf_含标签_目录

    《Eclipse SWT/Jface核心应用》全面介绍了SWT、JFace和RCP的相关知识。全书共分5篇,第1篇介绍了SWT产生的背景以及SWT的一些基本概念和基础知识。第2篇介绍了SWT基本控件的使用,以及事件处理、布局等SWT基本知识的...

    SWT/JFace从入门到精通

    【SWT/JFace从入门到精通】 SWT(Standard Widget Toolkit)和JFace是Eclipse平台下用于构建图形用户界面(GUI)的两个关键库。它们为Java开发者提供了丰富的控件和高级UI功能,使创建桌面应用程序变得简单而强大。...

    org.eclipse.jface.snippets

    `Snippet`中的例子展示了如何使用`Display`, `Shell`, `Composite`等类来构建视图,`StructuredModel`来管理数据模型,以及事件处理器作为控制器。 9. **国际化和本地化**:JFace支持应用程序的国际化和本地化,`...

    SWT + JFace 入门

    SWT (Standard Widget Toolkit) 和 JFace 是两个用于构建Java图形用户界面(GUI)的开源库,它们在Java开发中特别是在开发桌面应用时扮演着重要角色。本文将深入探讨这两个库,以及如何入门使用它们。 SWT是IBM开发...

    全面介绍SWT-JFace

    JFace是建立在SWT之上的更高层次的抽象框架,简化了GUI开发的复杂性,使得代码更简洁,结构更清晰。 SWT的设计目标是提供与本机系统更紧密的集成,因此它能够创建出与平台原生应用类似的外观和行为。这与Java Swing...

    swt/jface api帮助文档

    SWT (Standard Widget Toolkit) 和 JFace 是两个与Java GUI编程密切相关的库,它们是Eclipse项目的一部分。本文将深入探讨这两个库的核心概念、功能以及API的使用。 SWT是Java的一个GUI(图形用户界面)工具包,它...

    使用 JFace 工具箱.pdf清晰版

    ### 使用JFace工具箱的关键知识点 #### 一、JFace工具箱概述 - **定义**:JFace作为Eclipse项目的一部分,提供了一系列高级且易于使用的用户界面组件,这些组件能够帮助开发者快速构建复杂的图形用户界面(GUI)...

    swt_jface_celleditor

    在Java编程领域, SWT (Standard Widget Toolkit) 和 JFace 是两个强大的图形用户界面(GUI)库,它们被广泛用于构建桌面应用程序。`swt_jface_celleditor` 标题和描述所涉及的知识点主要围绕如何在SWT/JFace中的...

    SWT/JFACE API

    SWT (Standard Widget Toolkit) 和 JFace 是两个用于构建Java图形用户界面(GUI)的开源库,它们在Java开发领域中被广泛使用,特别是在Eclipse IDE及其插件开发中。SWT是底层的UI库,提供了与操作系统原生控件直接...

    jface源代码不容错过

    JFace是Eclipse框架中的一个重要组成部分,它提供了一组高级的用户界面组件和工具,用于简化Java应用程序的开发。在Eclipse这样的IDE中,JFace起到了桥梁的作用,连接了SWT(Standard Widget Toolkit)和更高级别的...

    jface 入门例子

    **JFace 入门例子详解** 在Java编程领域,SWT(Standard Widget Toolkit)和JFace是两个重要的图形用户界面(GUI)库,主要用于构建桌面应用程序。SWT提供了底层的控件和窗口元素,而JFace则建立在SWT之上,提供了...

    JFace的源码,从官网下的

    JFace是Eclipse框架中的一个重要组成部分,主要用于提供面向用户的界面组件和数据抽象,使得开发者能够构建更加简洁、可维护的图形用户界面(GUI)。JFace的源码分析可以帮助我们深入理解其内部工作原理,提高开发...

Global site tag (gtag.js) - Google Analytics