Java Doc for ISources.java in  » IDE-Eclipse » ui-workbench » org » eclipse » ui » Java Source Code / Java DocumentationJava Source Code and Java Documentation

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 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.eclipse.ui.ISources

All known Subclasses:   org.eclipse.ui.internal.services.SourcePriorityNameMapping,
ISources
public interface ISources (Code)

A source is type of event change that can occur within the workbench. For example, the active workbench window can change, so it is considered a source. Workbench services can track changes to these sources, and thereby try to resolve conflicts between a variety of possible options. This is most commonly used for things like handlers and contexts.

This interface defines the source that are known to the workbench at compile-time. These sources can be combined in a bit-wise fashion. So, for example, a ACTIVE_PART | ACTIVE_CONTEXT source includes change to both the active context and the active part.

The values assigned to each source indicates its relative priority. The higher the value, the more priority the source is given in resolving conflicts. Another way to look at this is that the higher the value, the more "local" the source is to what the user is currently doing. This is similar to, but distinct from the concept of components. The nesting support provided by components represent only one source (ACTIVE_SITE) that the workbench understands.

Note that for backward compatibility, we must reserve the lowest three bits for Priority instances using the old HandlerSubmission mechanism. This mechanism was used in Eclipse 3.0.

Note in 3.3:

Currently, source variables are not extensible by user plugins, and the number of bits available for resolving conflicts is limited. When the variable sources become user extensible a new conflict resolution mechanism will be implemented.

This interface is not intended to be implemented or extended by clients.


See Also:   org.eclipse.ui.ISourceProvider
since:
   3.1


Field Summary
final public static  intACTIVE_ACTION_SETS
     The priority given when the source includes a particular action set.
final public static  StringACTIVE_ACTION_SETS_NAME
     The variable name for the active action sets.
final public static  intACTIVE_CONTEXT
     The priority given when the source includes a particular context.
final public static  StringACTIVE_CONTEXT_NAME
     The variable name for the active contexts.
final public static  intACTIVE_CURRENT_SELECTION
     The priority given when the source includes the current selection.
final public static  StringACTIVE_CURRENT_SELECTION_NAME
     The variable name for the active selection.
final public static  intACTIVE_EDITOR
     The priority given when the source includes the active editor part.
final public static  intACTIVE_EDITOR_ID
     The priority given when the source includes the active editor identifier.
final public static  StringACTIVE_EDITOR_ID_NAME
     The variable name for the active editor identifier.
final public static  StringACTIVE_EDITOR_NAME
     The variable name for the active editor part.
final public static  StringACTIVE_FOCUS_CONTROL_ID_NAME
     The variable name for the active focus Control id, when provided by the IFocusService.
final public static  StringACTIVE_FOCUS_CONTROL_NAME
     The variable name for the active focus Control, when provided by the IFocusService.
final public static  intACTIVE_MENU
     The priority given when the source includes the current menu.
final public static  StringACTIVE_MENU_EDITOR_INPUT_NAME
     The variable name for the local editor input which is sometimes available while a context menu is visible.
final public static  StringACTIVE_MENU_NAME
     The variable name for the active menu.
final public static  StringACTIVE_MENU_SELECTION_NAME
     The variable name for the local selection, available while a context menu is visible.
final public static  intACTIVE_PART
     The priority given when the source includes the active part.
final public static  intACTIVE_PART_ID
     The priority given when the source includes the active part id.
final public static  StringACTIVE_PART_ID_NAME
     The variable name for the active part id.
final public static  StringACTIVE_PART_NAME
     The variable name for the active part.
final public static  intACTIVE_SHELL
     The priority given when the source includes the currently active shell.
final public static  StringACTIVE_SHELL_NAME
     The variable name for the active shell.
final public static  intACTIVE_SITE
     The priority given when the source includes the active workbench site.
final public static  StringACTIVE_SITE_NAME
     The variable name for the active workbench site.
final public static  intACTIVE_WORKBENCH_WINDOW
     The priority given when the source includes the currently active workbench window.
final public static  StringACTIVE_WORKBENCH_WINDOW_IS_COOLBAR_VISIBLE_NAME
     The variable name for the coolbar visibility state of the active workbench window.
final public static  StringACTIVE_WORKBENCH_WINDOW_IS_PERSPECTIVEBAR_VISIBLE_NAME
     The variable name for the perspective bar visibility state of the active workbench window.
final public static  StringACTIVE_WORKBENCH_WINDOW_NAME
     The variable name for the active workbench window.
final public static  intACTIVE_WORKBENCH_WINDOW_SHELL
     The priority given when the source includes the currently active workbench window shell.
final public static  StringACTIVE_WORKBENCH_WINDOW_SHELL_NAME
     The variable name for the active workbench window shell.
final public static  intACTIVE_WORKBENCH_WINDOW_SUBORDINATE
     The priority given when the source includes subordinate properties of the currently active workbench window.
final public static  intLEGACY_LEGACY
     The priority given when the activation is defined by a handler submission with a legacy priority.
final public static  intLEGACY_LOW
     The priority given when the activation is defined by a handler submission with a low priority.
final public static  intLEGACY_MEDIUM
     The priority given when the activation is defined by a handler submission with a medium priority.
final public static  intWORKBENCH
     The priority given to default handlers and handlers that are active across the entire workbench.



Field Detail
ACTIVE_ACTION_SETS
final public static int ACTIVE_ACTION_SETS(Code)
The priority given when the source includes a particular action set.
since:
   3.2



ACTIVE_ACTION_SETS_NAME
final public static String ACTIVE_ACTION_SETS_NAME(Code)
The variable name for the active action sets. This is for use with the ISourceProvider and IEvaluationContext .
since:
   3.2



ACTIVE_CONTEXT
final public static int ACTIVE_CONTEXT(Code)
The priority given when the source includes a particular context.



ACTIVE_CONTEXT_NAME
final public static String ACTIVE_CONTEXT_NAME(Code)
The variable name for the active contexts. This is for use with the ISourceProvider and IEvaluationContext.
since:
   3.2



ACTIVE_CURRENT_SELECTION
final public static int ACTIVE_CURRENT_SELECTION(Code)
The priority given when the source includes the current selection.



ACTIVE_CURRENT_SELECTION_NAME
final public static String ACTIVE_CURRENT_SELECTION_NAME(Code)
The variable name for the active selection. This is for use with the ISourceProvider and IEvaluationContext.
since:
   3.2



ACTIVE_EDITOR
final public static int ACTIVE_EDITOR(Code)
The priority given when the source includes the active editor part.



ACTIVE_EDITOR_ID
final public static int ACTIVE_EDITOR_ID(Code)
The priority given when the source includes the active editor identifier.
since:
   3.2



ACTIVE_EDITOR_ID_NAME
final public static String ACTIVE_EDITOR_ID_NAME(Code)
The variable name for the active editor identifier. This is for use with the ISourceProvider and IEvaluationContext.
since:
   3.2



ACTIVE_EDITOR_NAME
final public static String ACTIVE_EDITOR_NAME(Code)
The variable name for the active editor part. This is for use with the ISourceProvider and IEvaluationContext.
since:
   3.2



ACTIVE_FOCUS_CONTROL_ID_NAME
final public static String ACTIVE_FOCUS_CONTROL_ID_NAME(Code)
The variable name for the active focus Control id, when provided by the IFocusService.
since:
   3.3



ACTIVE_FOCUS_CONTROL_NAME
final public static String ACTIVE_FOCUS_CONTROL_NAME(Code)
The variable name for the active focus Control, when provided by the IFocusService.
since:
   3.3



ACTIVE_MENU
final public static int ACTIVE_MENU(Code)
The priority given when the source includes the current menu.
since:
   3.2



ACTIVE_MENU_EDITOR_INPUT_NAME
final public static String ACTIVE_MENU_EDITOR_INPUT_NAME(Code)
The variable name for the local editor input which is sometimes available while a context menu is visible.
since:
   3.3



ACTIVE_MENU_NAME
final public static String ACTIVE_MENU_NAME(Code)
The variable name for the active menu. This is for use with the ISourceProvider and IEvaluationContext .
since:
   3.2



ACTIVE_MENU_SELECTION_NAME
final public static String ACTIVE_MENU_SELECTION_NAME(Code)
The variable name for the local selection, available while a context menu is visible.
since:
   3.3



ACTIVE_PART
final public static int ACTIVE_PART(Code)
The priority given when the source includes the active part.



ACTIVE_PART_ID
final public static int ACTIVE_PART_ID(Code)
The priority given when the source includes the active part id.
since:
   3.2



ACTIVE_PART_ID_NAME
final public static String ACTIVE_PART_ID_NAME(Code)
The variable name for the active part id. This is for use with the ISourceProvider and IEvaluationContext.
since:
   3.2



ACTIVE_PART_NAME
final public static String ACTIVE_PART_NAME(Code)
The variable name for the active part. This is for use with the ISourceProvider and IEvaluationContext.



ACTIVE_SHELL
final public static int ACTIVE_SHELL(Code)
The priority given when the source includes the currently active shell.



ACTIVE_SHELL_NAME
final public static String ACTIVE_SHELL_NAME(Code)
The variable name for the active shell. This is for use with the ISourceProvider and IEvaluationContext.



ACTIVE_SITE
final public static int ACTIVE_SITE(Code)
The priority given when the source includes the active workbench site. In the case of nesting components, one should be careful to only activate the most nested component.



ACTIVE_SITE_NAME
final public static String ACTIVE_SITE_NAME(Code)
The variable name for the active workbench site. This is for use with the ISourceProvider and IEvaluationContext.



ACTIVE_WORKBENCH_WINDOW
final public static int ACTIVE_WORKBENCH_WINDOW(Code)
The priority given when the source includes the currently active workbench window.



ACTIVE_WORKBENCH_WINDOW_IS_COOLBAR_VISIBLE_NAME
final public static String ACTIVE_WORKBENCH_WINDOW_IS_COOLBAR_VISIBLE_NAME(Code)
The variable name for the coolbar visibility state of the active workbench window. This is for use with the ISourceProvider and IEvaluationContext.
since:
   3.3



ACTIVE_WORKBENCH_WINDOW_IS_PERSPECTIVEBAR_VISIBLE_NAME
final public static String ACTIVE_WORKBENCH_WINDOW_IS_PERSPECTIVEBAR_VISIBLE_NAME(Code)
The variable name for the perspective bar visibility state of the active workbench window. This is for use with the ISourceProvider and IEvaluationContext.
since:
   3.3



ACTIVE_WORKBENCH_WINDOW_NAME
final public static String ACTIVE_WORKBENCH_WINDOW_NAME(Code)
The variable name for the active workbench window. This is for use with the ISourceProvider and IEvaluationContext.



ACTIVE_WORKBENCH_WINDOW_SHELL
final public static int ACTIVE_WORKBENCH_WINDOW_SHELL(Code)
The priority given when the source includes the currently active workbench window shell.
since:
   3.2



ACTIVE_WORKBENCH_WINDOW_SHELL_NAME
final public static String ACTIVE_WORKBENCH_WINDOW_SHELL_NAME(Code)
The variable name for the active workbench window shell. This is for use with the ISourceProvider and IEvaluationContext.
since:
   3.2



ACTIVE_WORKBENCH_WINDOW_SUBORDINATE
final public static int ACTIVE_WORKBENCH_WINDOW_SUBORDINATE(Code)
The priority given when the source includes subordinate properties of the currently active workbench window.
since:
   3.3



LEGACY_LEGACY
final public static int LEGACY_LEGACY(Code)
The priority given when the activation is defined by a handler submission with a legacy priority.



LEGACY_LOW
final public static int LEGACY_LOW(Code)
The priority given when the activation is defined by a handler submission with a low priority.



LEGACY_MEDIUM
final public static int LEGACY_MEDIUM(Code)
The priority given when the activation is defined by a handler submission with a medium priority.



WORKBENCH
final public static int WORKBENCH(Code)
The priority given to default handlers and handlers that are active across the entire workbench.





www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.