org.eclipse.ui

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 » org.eclipse.ui 
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.
 

Java Source File NameTypeComment
AbstractSourceProvider.javaClass

An implementation of ISourceProvider that provides listener support.

ActiveShellExpression.javaClass

An expression that checks the active shell variable.

BasicWorkingSetElementAdapter.javaClass Basic IWorkingSetElementAdapter implementation that allows plugins to decribe simple declarative element adapters.

The executable extension format for this class is as follows:
<workingSet elementAdapterClass="org.eclipse.ui.BasicWorkingSetElementAdapter:class1.to.adapt.to[;option1=value1][;option2=value2],class2.to.adapt.to[;option1=value1][;option2=value2],..."> ...

ExtensionFactory.javaClass Factory for the workbench's public extensions.
IActionBars.javaInterface Used by a part to access its menu, toolbar, and status line managers.
IActionBars2.javaInterface Interface extention to IActionBars that provides an additional cool bar manager.
IActionDelegate.javaInterface Interface for actions contributed via an extension point.

This interface should be implemented by clients who need to contribute actions via an extension point.

IActionDelegate2.javaInterface Interface extension to IActionDelegate adding lifecycle methods. In addition, a runWithEvent method that includes the triggering SWT event.

An action delegate that implements this interface will have its runWithEvent(IAction, Event) called instead of its run(IAction) method.

Clients should implement this interface, in addition to IActionDelegate or sub-interfaces, if interested in the triggering event or in the lifecycle of the delegate object.

Clients can choose to subclass the provided abstract implementation org.

IActionDelegateWithEvent.javaInterface This interface is a mixin interface for action delegates, adding the ability to examine the triggering SWT event when it is run.
IActionFilter.javaInterface An adapter which performs action filtering.

Within the workbench a plugin may extend the actions which appear in the context menu for any object.

IContainmentAdapter.javaInterface This adapter interface provides a way to test element containment in a model-independent way.
IDecoratorManager.javaInterface Manages the decorators contributed via the decorators extension point.
IEditorActionBarContributor.javaInterface A editor action bar contributor defines the actions for one or more editors.
IEditorActionDelegate.javaInterface Interface for an action that is contributed into an editor-activated menu or tool bar.
IEditorDescriptor.javaInterface Description of an editor in the workbench editor registry.
IEditorInput.javaInterface IEditorInput is a light weight descriptor of editor input, like a file name but more abstract.
IEditorLauncher.javaInterface An editor launcher is used to launch external editors on a file in the local file system.

Clients should implement this interface to define a new type of editor launcher.

IEditorMatchingStrategy.javaInterface An editor matching strategy allows editor extensions to provide their own algorithm for matching the input of an open editor of that type to a given editor input.
IEditorPart.javaInterface An editor is a visual component within a workbench page.
IEditorReference.javaInterface Implements a reference to a editor.
IEditorRegistry.javaInterface Registry of editors known to the workbench.

An editor can be created in one of two ways:

  • An editor can be defined by an extension to the workbench.
  • The user manually associates an editor with a given resource extension type.
IEditorSite.javaInterface The primary interface between an editor part and the workbench.
IElementFactory.javaInterface A factory for re-creating objects from a previously saved memento.
IExportWizard.javaInterface Interface for export wizards.
IFileEditorMapping.javaInterface An association between a file name/extension and a list of known editors for files of that type.

The name and extension can never empty or null.

IFolderLayout.javaInterface An IFolderLayout is used to define the initial views within a folder.
IImportWizard.javaInterface Interface for import wizards.
IInPlaceEditor.javaInterface Interface for editor parts that represent an in-place style editor.
IInPlaceEditorInput.javaInterface This interface defines an editor input for in-place editors.

Clients implementing this editor input interface should override Object.equals(Object) to answer true for two inputs that are the same.

IKeyBindingService.javaInterface The key binding service allows one to query or set the scope of Eclipse for the purposes of resolving key assignments to commands, and to register actions to handle specific commands.
ILocalWorkingSetManager.javaInterface A local working set manager can be used to manage a set of working sets independently from the working sets managed by the global working set manager.
IMemento.javaInterface Interface to a memento used for saving the important state of an object in a form that can be persisted in the file system.

Mementos were designed with the following requirements in mind:

  1. Certain objects need to be saved and restored across platform sessions.
  2. When an object is restored, an appropriate class for an object might not be available.
INavigationHistory.javaInterface Manages a list of entries to keep a history of locations on editors, enabling the user to go back and forward without losing context. The history is a list of INavigationLocation and a pointer to the current location.
INavigationLocation.javaInterface Represents the context marked for the user in the navigation history. Not intended to be implemented by clients.
INavigationLocationProvider.javaInterface Should be implemented by editors that wish to contribute to the navigation history.
INestableKeyBindingService.javaInterface

A service that is capable of nesting other services within itself.

INewWizard.javaInterface Interface for creation wizards.
INullSelectionListener.javaInterface Interface for listening to null selection changes.

This interface should be implemented by selection listeners that want to be notified when the selection becomes null. It has no methods.

IObjectActionDelegate.javaInterface Interface for an object action that is contributed into a popup menu for a view or editor.
IPageLayout.javaInterface A page layout defines the initial layout for a perspective within a page in a workbench window.

This interface is not intended to be implemented by clients.

When a perspective is opened, it creates a new page layout with a single editor area.

IPageListener.javaInterface Interface for listening to page lifecycle events.
IPageService.javaInterface A page service tracks the page and perspective lifecycle events within a workbench window.
IPartListener.javaInterface Interface for listening to part lifecycle events.
IPartListener2.javaInterface Interface for listening to part lifecycle events.
IPartService.javaInterface A part service tracks the creation and activation of parts within a workbench page.
IPathEditorInput.javaInterface This interface defines an editor input based on the local file system path of a file.

Clients implementing this editor input interface should override Object.equals(Object) to answer true for two inputs that are the same.

IPersistable.javaInterface Objects implementing this interface are capable of saving their state in an IMemento .
IPersistableEditor.javaInterface An editor can implement this interface and participate in the workbench session save/restore cycle using IMemento, similar to how IViewPart currently works.
IPersistableElement.javaInterface Interface for asking an object to store its state in a memento.

This interface is typically included in interfaces where persistance is required.

When the workbench is shutdown objects which implement this interface will be persisted.

IPerspectiveDescriptor.javaInterface A perspective descriptor describes a perspective in an IPerspectiveRegistry.
IPerspectiveFactory.javaInterface A perspective factory generates the initial page layout and visible action set for a page.

When a new page is created in the workbench a perspective is used to define the initial page layout.

IPerspectiveListener.javaInterface Interface for listening to perspective lifecycle events.
IPerspectiveListener2.javaInterface Extension interface to IPerspectiveListener which adds support for listening to part-specific perspective lifecycle events.
IPerspectiveListener3.javaInterface Extension interface to IPerspectiveListener which adds support for listening to perspective open and close events.
IPerspectiveListener4.javaInterface Extension interface to IPerspectiveListener which adds support for listening to perspective pre-deactivate events.
IPerspectiveRegistry.javaInterface The workbench's global registry of perspectives.
IPlaceholderFolderLayout.javaInterface An IPlaceholderFolderLayout is used to define the initial view placeholders within a folder.
IPluginContribution.javaInterface An interface that descriptor classes may implement in addition to their descriptor interface.
IPropertyListener.javaInterface Interface for listening for property changes on an object.
IReusableEditor.javaInterface Interface for reusable editors.
ISaveableFilter.javaInterface A filter for selecting Saveables.
ISaveablePart.javaInterface Workbench parts implement or adapt to this interface to participate in the enablement and execution of the Save and Save As actions.
ISaveablePart2.javaInterface Workbench parts implement or adapt to this interface to participate in actions that require a prompt for the user to provide input on what to do with unsaved data when the part is closed or the Workbench is shut down.

Note that if a part implements this interface, it is excluded from the common "prompt to save" dialog, and instead opens its own dialog.

ISaveablesLifecycleListener.javaInterface Listener for model lifecycle events.
ISaveablesSource.javaInterface Represents a source of Saveable objects (units of saveability).
ISelectionListener.javaInterface Interface for listening to selection changes.
ISelectionService.javaInterface A selection service tracks the selection within an object.
ISharedImages.javaInterface A registry for common images used by the workbench which may be useful to other plug-ins.

This class provides Image and ImageDescriptors for each named image in the interface.

IShowEditorInput.javaInterface Shows the given editor input.
ISizeProvider.javaInterface
ISourceProvider.javaInterface

A provider of notifications for when a change has occurred to a particular type of source.

ISourceProviderListener.javaInterface

A listener to changes in a particular source of information.

ISources.javaInterface

A source is type of event change that can occur within the workbench.

IStartup.javaInterface Plug-ins that register a startup extension will be activated after the Workbench initializes and have an opportunity to run code that can't be implemented using the normal contribution mechanisms.
IViewActionDelegate.javaInterface Interface for an action that is contributed into a view's local tool bar, pulldown menu, or popup menu.
IViewLayout.javaInterface Represents the layout info for a view or placeholder in an IPageLayout .
IViewPart.javaInterface A view is a visual component within a workbench page.
IViewReference.javaInterface Defines a reference to an IViewPart.
IViewSite.javaInterface The primary interface between a view part and the workbench.
IWindowListener.javaInterface Interface for listening to window lifecycle events.
IWorkbench.javaInterface A workbench is the root object for the Eclipse Platform user interface.

A workbench has one or more main windows which present to the end user information based on some underlying model, typically on resources in an underlying workspace.

IWorkbenchActionConstants.javaInterface Action ids for standard actions, groups in the workbench menu bar, and global actions.

This interface contains constants only; it is not intended to be implemented or extended.

Standard menus

  • File menu (M_FILE)
  • Edit menu (M_EDIT)
  • Window menu (M_WINDOW)
  • Help menu (M_HELP)

Standard group for adding top level menus

  • Extra top level menu group (MB_ADDITIONS)

Global actions

  • Undo (UNDO)
  • Redo (REDO)
  • Cut (CUT)
  • Copy (COPY)
  • Paste (PASTE)
  • Delete (DELETE)
  • Find (FIND)
  • Select All (SELECT_ALL)
  • Add Bookmark (BOOKMARK)

Standard File menu actions

  • Start group (FILE_START)
  • End group (FILE_END)
  • New action (NEW)
  • Extra New-like action group (NEW_EXT)
  • Close action (CLOSE)
  • Close All action (CLOSE_ALL)
  • Extra Close-like action group (CLOSE_EXT)
  • Save action (SAVE)
  • Save As action (SAVE_AS)
  • Save All action (SAVE_ALL)
  • Extra Save-like action group (SAVE_EXT)
  • Import action (IMPORT)
  • Export action (EXPORT)
  • Extra Import-like action group (IMPORT_EXT)
  • Quit action (QUIT)

Standard Edit menu actions

  • Start group (EDIT_START)
  • End group (EDIT_END)
  • Undo global action (UNDO)
  • Redo global action (REDO)
  • Extra Undo-like action group (UNDO_EXT)
  • Cut global action (CUT)
  • Copy global action (COPY)
  • Paste global action (PASTE)
  • Extra Cut-like action group (CUT_EXT)
  • Delete global action (DELETE)
  • Find global action (FIND)
  • Select All global action (SELECT_ALL)
  • Bookmark global action (BOOKMARK)

Standard Perspective menu actions

  • Extra Perspective-like action group (VIEW_EXT)

Standard Workbench menu actions

  • Start group (WB_START)
  • End group (WB_END)
  • Extra Build-like action group (BUILD_EXT)
  • Build action (BUILD)
  • Rebuild All action (REBUILD_ALL)

Standard Window menu actions

  • Extra Window-like action group (WINDOW_EXT)

Standard Help menu actions

  • Start group (HELP_START)
  • End group (HELP_END)
  • About action (ABOUT)

Standard pop-up menu groups

  • Managing group (GROUP_MANAGING)
  • Reorganize group (GROUP_REORGANIZE)
  • Add group (GROUP_ADD)
  • File group (GROUP_FILE)

To hook a global action handler, a view should use the following code: IAction copyHandler = ...; view.getSite().getActionBars().setGlobalActionHandler( IWorkbenchActionConstants.COPY, copyHandler); For editors, this should be done in the IEditorActionBarContributor.


See Also:   org.eclipse.ui.IActionBars.setGlobalActionHandler
See Also:   Note: many of the remaining non-deprecated constants here are IDE-specific
See Also:   and should be deprecated and moved to a constant pool at the IDE layer
See Also:   (e.g.
IWorkbenchListener.javaInterface Interface for listening to workbench lifecycle events.
IWorkbenchPage.javaInterface A workbench page consists of an arrangement of views and editors intended to be presented together to the user in a single workbench window.

A page can contain 0 or more views and 0 or more editors.

IWorkbenchPart.javaInterface A workbench part is a visual component within a workbench page.
IWorkbenchPart2.javaInterface Extends IWorkbenchPart , adding the name and status text properties. Prior to 3.0, a view's title was often modified to show both the part name and extra status text.
IWorkbenchPart3.javaInterface A part can provide arbitrary properties.
IWorkbenchPartConstants.javaInterface This interface describes the constants used for IWorkbenchPart properties.
IWorkbenchPartDescriptor.javaInterface Description of a workbench part.
IWorkbenchPartReference.javaInterface Implements a reference to a IWorkbenchPart.
IWorkbenchPartSite.javaInterface The primary interface between a workbench part and the workbench.
IWorkbenchPreferenceConstants.javaInterface Preference ids exposed by the Eclipse Platform User Interface.
IWorkbenchPreferencePage.javaInterface Interface for workbench preference pages.
IWorkbenchPropertyPage.javaInterface Interface for workbench property pages.
IWorkbenchSite.javaInterface The common interface between the workbench and its parts, including pages within parts.

The workbench site supports a few IServiceLocator services by default.

IWorkbenchWindow.javaInterface A workbench window is a top level window in a workbench.
IWorkbenchWindowActionDelegate.javaInterface Interface for an action that is contributed into the workbench window menu or tool bar.
IWorkbenchWindowPulldownDelegate.javaInterface Interface for a pulldown action that is contributed into the workbench window tool bar.
IWorkbenchWindowPulldownDelegate2.javaInterface Extension of IWorkbenchWindowPulldownDelegate that allows the delegate dropdown menu to be a child of a Menu item.
IWorkbenchWizard.javaInterface Implementors represent creation wizards that are to be contributed to the workbench's creation wizard extension point.
IWorkingSet.javaInterface A working set holds a number of IAdaptable elements.
IWorkingSetElementAdapter.javaInterface

Interface that describes a mechanism that may be provided by working set extensions to help manage the addition of elements to working sets.

IWorkingSetManager.javaInterface A working set manager stores working sets and provides property change notification when a working set is added or removed.
IWorkingSetUpdater.javaInterface An IWorkingSetUpdater can be used to dynamically update the content of a working set.
LegacyHandlerSubmissionExpression.javaClass

An expression encapsulating all of the information from legacy handler submissions.

NavigationLocation.javaClass Default implementation of INavigationLocation.
PartInitException.javaClass A checked exception indicating a workbench part cannot be initialized correctly.
PerspectiveAdapter.javaClass This adapter class provides default implementations for the methods described by the IPerspectiveListener interface and its extension interfaces.
PlatformUI.javaClass The central class for access to the Eclipse Platform User Interface.
Saveable.javaClass A Saveable represents a unit of saveability, e.g.
SaveablesLifecycleEvent.javaClass Event object describing a change to a set of Saveable objects.
SelectionEnabler.javaClass Determines the enablement status given a selection.
SubActionBars.javaClass Generic implementation of the IActionBars interface.
SubActionBars2.javaClass A implementation of the extended IActionBars2 interface.
WorkbenchEncoding.javaClass WorkbenchEncoding is a utility class for plug-ins that want to use the list of encodings defined by default in the workbench.
WorkbenchException.javaClass A checked exception indicating a recoverable error occured internal to the workbench.
XMLMemento.javaClass This class represents the default implementation of the IMemento interface.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.