ui workbench

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Eclipse » ui workbench 
Eclipse ui workbench
License:Eclipse Public License Version
URL:http://www.eclipse.com
Description:
Package NameComment
org.eclipse.ui Package-level Javadoc Application programming interfaces for interaction with and extension of the Eclipse Platform User Interface.

Package Specification

This package provides application programming interfaces for interaction with and extension of the Eclipse Platform User Interface.

The PlatformUI class provides access to a single workbench.  A workbench is the root object for the UI and has one or more workbench windows.  Each workbench window has a collection of workbench pages, only one of which is active and visible to the end user.  Each workbench page has a collection of workbench parts.  A page's parts are arranged (tiled or stacked) for presentation on the screen.  Within a page and its parts the user can interact with and modify a model (typically resources in a workspace).   There are two kinds of workbench parts: views and editors.  An editor is typically used to edit or browse a document or input object.  A view is typically used to navigate a hierarchy of information (like the workspace), open an editor, or display properties for the active editor.

The platform creates a workbench when the workbench plug-in is activated.  Since this happens at most once during the life of the running platform, there is only one workbench instance. Due to its singular nature, it is commonly referred to as the workbench.

Within a workbench the user will interact with many different resource types.  Because different tools are required for each, the workbench defines a number of extension points which allow for the integration of new tools.  There are extension points for views, editors, action sets, import wizards, export wizards, etc.
 

org.eclipse.ui.about Package-level Javadoc Application programming interfaces for interaction with and extension of the Eclipse Platform About dialog.

Package Specification

Provides interfaces for customizing the content of the About dialog.
org.eclipse.ui.actions Package-level Javadoc Classes for actions and operations used in a workbench window, page, or part in the Eclipse Platform User Interface.

Package Specification

Actions for resource management, project build and workbench page management are provided to encourage a standard look and feel across views and editors contributed by independent system vendors. Base classes are also provided for selection oriented actions which enable or disable based upon selection in a part or viewer. These should be used by ISV's to define actions for menus, toolbars, and context menus.

Action which leads to resource modification should take advantage of the WorkspaceModifyOperation classes.  These classes are used to defer events which typically occur as a result of workspace changes (such as the firing of resource deltas, performance of autobuilds, etc.) until the outermost operation has successfully completed.  This deferral leads to an optimized, faster execution of resource modification because fewer deltas and autobuilds are performed.

org.eclipse.ui.activities Package-level Javadoc Application programming interfaces for interaction with and extension of the Eclipse Platform User Interface.

Package Specification

This package provides application programming interfaces for interaction with activities. Activities are objects that may be enabled or disabled and contain bindings to various regular expressions. Activities are used by the workbench to filter selected contributions from the users view untill such a time that they express interest in using them.
org.eclipse.ui.application Package-level Javadoc Application-level APIs for configuring and controling the Eclipse Platform User Interface.

Package Specification

This package provides APIs that allow the main plug-in (the "application") to configure and control the Eclipse Platform User Interface, most notably the workbench. These APIs are not of interest to normal Eclipse plug-ins.
org.eclipse.ui.branding Package-level Javadoc

Classes for branding support.

Package Specification

This package has API to public branding and product constants. These constants are used when branding RCP applications.

org.eclipse.ui.browser Package-level Javadoc Web browser support APIs for opening URLs from Eclipse applications

Package Specification

This package provides APIs that allow Eclipse plug-ins to create instances of Web browsers and open URLs in them. Browser support is pluggable and the APIs in this package provide a common interface for using the currently active support.
org.eclipse.ui.commands Package-level Javadoc

Provides support for retrieving information on Commands from the workbench.

Package Specification

Most of org.eclipse.ui.commands.* is depracated in favour of org.eclipse.core.commands, but the ICommandService and associated classes are used to access the workbench view of org.eclipse.core.commands. getService(ICommandService.class) can be used to get the ICommandService from the workbench, workbench window, or part site.

org.eclipse.ui.contentassist Package-level Javadoc Provides a content assist add-on for implementors of IContentAssistSubjectControl. Content assist supports the user in writing  by proposing context sensitive completions at a given position. A completion can also be a incomplete in itself and content assist provides means to deal with nested completions.

Package Specification

The ContentAssistHandler provides API for an easy setup of a SubjectControlContentAssistant for a Text or a Combo widget.
 
org.eclipse.ui.contexts Package-level Javadoc

Provides support for integrating contexts into the Eclipse workbench.

Package Specification

This package provides the classes required to integrate contexts into the Eclipse workbench.

To use the context integration, the method getAdapter is called on the Eclipse workbench, with the argument IContextService.class. This will return an instance of IContextService.

org.eclipse.ui.dialogs Package-level Javadoc Classes for standard dialogs, wizards, and preference pages in the Eclipse Platform User Interface.

Package Specification

This package provides useful classes for the definition of wizards, property pages and preference pages.  It also provides standard dialogs such as the Save As dialog.
org.eclipse.ui.dnd Package-level Javadoc Classes and Interface specifications for Drag and Drop in the Eclipse Platform User Interface.

Package Specification

This package provides useful classes and interfaces for the definition of Drag and Drop behaviour in the Eclipse workbench.
org.eclipse.ui.fieldassist Package-level Javadoc Classes that provide workbench-level UI support for content assistance and common workbench field decorations.

Package Specification

This package provides workbench-level utilities that use the JFace-level field assist support. It includes the WorkbenchContentAssistAdapter, which can invoke content assistance using a command and key binding rather than specifying the invocation explicitly with a KeyStroke.
org.eclipse.ui.handlers Package-level Javadoc

Provides support for integrating handlers into the Eclipse workbench.

Package Specification

This package provides the classes required to integrate handlers into the Eclipse workbench.

To use the handler integration, the method getAdapter is called on the Eclipse workbench, with the argument IHandlerService.class. This will return an instance of IHandlerService.

org.eclipse.ui.help Package-level Javadoc Classes for integration with the help support system in the Eclipse Platform User Interface.

Package Specification

Within the Eclipse Platform UI each user interface component should integrate with the help support system.  The simplest form of help integration is accomplished using WorkbenchHelp.  This class provides the client with methods to define a help context for SWT Controls.  Once defined, the help support system will automatically launch help with the appropriate context if a user request for help occurs.
org.eclipse.ui.internal
org.eclipse.ui.internal.about
org.eclipse.ui.internal.actions
org.eclipse.ui.internal.activities
org.eclipse.ui.internal.activities.ws
org.eclipse.ui.internal.application
org.eclipse.ui.internal.browser
org.eclipse.ui.internal.commands
org.eclipse.ui.internal.contexts
org.eclipse.ui.internal.decorators
org.eclipse.ui.internal.dialogs
org.eclipse.ui.internal.dnd
org.eclipse.ui.internal.editorsupport
org.eclipse.ui.internal.expressions
org.eclipse.ui.internal.handlers
org.eclipse.ui.internal.help
org.eclipse.ui.internal.intro
org.eclipse.ui.internal.keys
org.eclipse.ui.internal.layout
org.eclipse.ui.internal.menus
org.eclipse.ui.internal.misc
org.eclipse.ui.internal.operations
org.eclipse.ui.internal.part
org.eclipse.ui.internal.preferences
org.eclipse.ui.internal.presentations
org.eclipse.ui.internal.presentations.defaultpresentation
org.eclipse.ui.internal.presentations.r33
org.eclipse.ui.internal.presentations.util
org.eclipse.ui.internal.progress
org.eclipse.ui.internal.provisional.application
org.eclipse.ui.internal.provisional.presentations
org.eclipse.ui.internal.quickaccess
org.eclipse.ui.internal.registry
org.eclipse.ui.internal.services
org.eclipse.ui.internal.splash
org.eclipse.ui.internal.statushandlers Package-level Javadoc To be written.

Package Specification

This package provides classes that can be used to ...

org.eclipse.ui.internal.testing
org.eclipse.ui.internal.texteditor
org.eclipse.ui.internal.texteditor.quickdiff QuickDiff Internal Implementation for quick diff display, restore actions and the org.eclipse.ui.editors.quickDiffReferenceProvider extension point.
org.eclipse.ui.internal.texteditor.quickdiff.compare.equivalence
org.eclipse.ui.internal.texteditor.quickdiff.compare.rangedifferencer QuickDiff Internal Copy of the respective classes in org.eclipse.compare.rangedifferencer in order to avoid circular dependencies.
org.eclipse.ui.internal.texteditor.rulers
org.eclipse.ui.internal.texteditor.spelling
org.eclipse.ui.internal.themes
org.eclipse.ui.internal.tweaklets
org.eclipse.ui.internal.util
org.eclipse.ui.internal.wizards
org.eclipse.ui.internal.wizards.preferences
org.eclipse.ui.intro Package-level Javadoc Application programming interfaces for interaction with and extension of the Eclipse Platform User Interface.

Package Specification

This package provides application programming interfaces for dealing with intro parts. An intro part is a visual component within the workbench responsible for introducing the product to new users. The intro part is typically shown the first time a product is started up.
org.eclipse.ui.keys Package-level Javadoc

Provides support for integrating keys into the Eclipse workbench.

Package Specification

This package provides the classes required to integrate keys into the Eclipse workbench.

To use the key integration, the method getAdapter is called on the Eclipse workbench, with the argument IBindingService.class. This will return an instance of IBindingService.

org.eclipse.ui.menus Package-level Javadoc Provides the public API and default implementation for contributing menu and toolbars to the menu service. Also for contributed Trim widgets.
org.eclipse.ui.model Package-level Javadoc Provides a workbench adapter for displaying workbench elements in the UI without having to know the concrete type of the element, and various label providers for workbench-specific objects like editors, views, and perspectives.
org.eclipse.ui.operations Package-level Javadoc Classes that provide the basic workbench UI support for undo and redo of operations.

Package Specification

This package provides utilities that implement the common function for interacting with the workbench operation history. The workbench operation support provides access to the operation history used by the workbench and a context that should be used to identify operations global to the workbench. The workbench history is used to maintain all undoable operations that occur in the workbench. Standard action handlers and an associated action group are provided so that any view or editor can easily add undo/redo support that works with the workbench operations history. Specialized operation approvers can be used by clients to get user approval for unexpected conditions in the operation history.
org.eclipse.ui.part Package-level Javadoc Classes for the creation of workbench parts that integrate with the Eclipse Platform User Interface.

Package Specification

A workbench part is a visual component within a workbench page.  There are two types: view and editor, as defined by IViewPart and IEditorPart.   An editor is typically used to edit or browse a document or input object.  A view is typically used to navigate a hierarchy of information (like the workspace), open an editor, or display properties for the active editor.  This package provides a base implementation for the definition of views and editors.
 
org.eclipse.ui.plugin Package-level Javadoc Class hierarchies for plug-ins that integrate with the Eclipse Platform UI.

Package Specification

A Plug-in is a bundle of extensions for the Platform.  This package contains support for the creation of User Interface Plug-ins, plug-ins which define extension points for the Platform User Interface.
 
org.eclipse.ui.preferences Package-level Javadoc Classes for using the preferences support in org.eclipse.core.runtime.preferences

Package Specification

This package has the convenience classes provided by the Eclipse workbench for use by clients who wish to use the core preference support added in 3.0.
 
org.eclipse.ui.presentations Package-level Javadoc

Classes for contributing presentations to eclipse.

Package Specification

This package has the presentation API support, for customizing the presentation of stacks for view and editors.

org.eclipse.ui.progress Package-level Javadoc Application programming interfaces for interaction with and extension of the Eclipse Platform User Interface.

Package Specification

This package provides API for connecting to the progress support in the Eclipse Workbench. The classes in this package are used to add information about the progress of org.eclipse.core.runtime.Jobs created by plug-ins.
org.eclipse.ui.services Package-level Javadoc

Classes for service support.

Package Specification

This package has the base service support API. IServiceLocator is used to retrieve any of the services contributed to the workbench, workbench window, or part site.

org.eclipse.ui.splash Package-level Javadoc Application programming interfaces for interaction with and extension of the Eclipse Platform User Interface.

Package Specification

This package provides API for augmenting or replacing the Eclipse splash process. See the org.eclipse.ui.splashHandlers extension point.
org.eclipse.ui.statushandlers Package-level Javadoc Application programming interfaces for interaction with and extension of the Eclipse Platform User Interface.

Package Specification

This package provides API for handling problems occured in the Eclipse based applications. See the org.eclipse.ui.statusHandlers extension point.
org.eclipse.ui.swt Package-level Javadoc Application programming interfaces for interaction with and extension of the Eclipse Platform User Interface.

Package Specification

This package provides API so an in-focus control can participate in the Commands and Handlers framework.
org.eclipse.ui.testing Package-level Javadoc

Classes for testing support.

Package Specification

This package has some test support objects.

org.eclipse.ui.texteditor Package-level Javadoc Provides a framework for text editors obeying to the desktop rules.

Package Specification

ITextEditor extends IEditorPart with text editor specific functionality. Text editors use source viewers (ISourceViewer) for displaying and editing the given editor input. In order to translate the editor input into a document and vice versa (e.g., for saving a change), a text editor uses document providers (IDocumentProvider). A document provider is responsible not just for providing the document for a given editor input but for the complete translation between the domain model and the editor's internal document-based model. Document provider can be shared between editors.
The package provides a default implementation of ITextEditor (AbstractTextEditor). This default implementation also covers the editor's complete action management and activation. The package contains a number of configurable and predefined actions. AbstractMarkerAnnotationModel establishs a link between text annotations (Annotation) and desktop markers (IMarker).
org.eclipse.ui.texteditor.link Linked Positions Infrastructure Adds a LinkedModeUI subclass that is aware of workbench editors.
org.eclipse.ui.texteditor.quickdiff QuickDiff API Provides interfaces to for the org.eclipse.ui.editors.quickDiffReferenceProvider extension point and adds an action to enable quick diff display for an editor.
org.eclipse.ui.texteditor.rulers Ruler Column API Provides interfaces and classes for the org.eclipse.ui.workbench.texteditor.rulerColumns.
org.eclipse.ui.texteditor.spelling Spell Checking Infrastructure Partial infrastructure for spell checking in text editors.
org.eclipse.ui.texteditor.templates Templates Application programming interfaces for interaction with the Eclipse Java User Interface text support.

Templates

Packages

  • org.eclipse.jface.text.templates
  • org.eclipse.ui.workbench.texteditor.templates
  • org.eclipse.ui.editors.templates

Introduction

Templates are shortcuts for frequently used fragments of text such as code patterns or complex text entities. They may contain variables which are only resolved at the time when the template is inserted within a context. Together with linked mode, inserting a template can create a on-the-fly edit mask within a text viewer.

Templates are specified as text, variables are defined using the ${variable} notation known from Ant, for example. The following snippet shows an example template for an instance check in Java:
if (${name} instanceof ${type}) {
    ${type} ${new_name} = (${type})${name};
    ${cursor}
}
In this template, the variables (name,type, ...) are resolved when inserted into java source and changing one variable instance will also change the other. When leaving linked mode, the caret is placed at the cursor variable.

Template functionality can be added to a custom text editor by offering TemplateProposals as content assist choices, which is simplified by using a subclass of TemplateCompletionProcessor. User template management can be offered by including a TemplatePreferencePage which uses a TemplateStore and ContextTypeRegistry as the underlying model to store templates. The org.eclipse.ui.editors.templates extension point can be used to allow other plug-ins to contribute templates to an editor. This is accomplished by using the ContributionTemplateStore and ContributionContextTypeRegistry subclasses of the above types.

Template variables are resolved by a TemplateVariableResolver. GlobalTemplateVariables offers some default variables such as date, user, and selection, but advanced features such as resolving to language constructs can be performed in subclasses.

Classes

  • Template a template consists of name, context type identifier, and a pattern.
  • TemplateTranslator and TemplateBuffer are used to parse the template grammar and don't need to be used usually.
  • A TemplateProposal can be offered in content assist, possibly created by a subclass of TemplateCompletionProcessor.
  • TemplateStore and ContextTypeRegistry manage a set of templates within a plug-in and offer ways to store them in the preferences or externally in XML streams via a TemplateReaderWriter.
  • ContributionTemplateStore and ContributionContextTypeRegistry add awareness for the org.eclipse.ui.editors.templates extension point.
  • TemplatePreferencePage allows the user to access the templates within a TemplateStore.

Example

See the Template Editor Example in the org.eclipse.ui.examples.javaeditor project.
org.eclipse.ui.themes Package-level Javadoc Application programming interfaces for interaction with and extension of the Eclipse Platform User Interface.

Package Specification

This package provides application programming interfaces for interaction with the themes. A theme is a collection of fonts, colors, and supporting data that may be used by plugin developers to apply a certain look and feel to their components. Themes are also used by the workbench to apply look and feel to their active presentation component.
org.eclipse.ui.views Package-level Javadoc Application programming interfaces for interaction with and extension of the Eclipse Platform User Interface.

Package Specification

This package provides API for querying the installed views and their properties. The view registry can be obtained using {@link org.eclipse.ui.IWorkbench#getViewRegistry()}.
org.eclipse.ui.wizards Package-level Javadoc Application programming interfaces for interaction with and extension of the Eclipse Platform User Interface wizard support. See the org.eclipse.ui.wizards extension point.

Package Specification

This package provides application programming interfaces for support for wizards such as registries, categories and descriptors. These types are used to build wizard selection interfaces such as the new, import and export wizards.
org.eclipse.ui.workbench.texteditor.quickdiff.tests
org.eclipse.ui.workbench.texteditor.tests
org.eclipse.ui.workbench.texteditor.tests.revisions
org.eclipse.ui.workbench.texteditor.tests.rulers
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.