Source Code Cross Referenced for INavigatorSorterService.java in  » IDE-Eclipse » ui » org » eclipse » ui » navigator » 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 » org.eclipse.ui.navigator 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


01:        /*******************************************************************************
02:         * Copyright (c) 2006 IBM Corporation and others.
03:         * All rights reserved. This program and the accompanying materials
04:         * are made available under the terms of the Eclipse Public License v1.0
05:         * which accompanies this distribution, and is available at
06:         * http://www.eclipse.org/legal/epl-v10.html
07:         *
08:         * Contributors:
09:         *     IBM Corporation - initial API and implementation
10:         ******************************************************************************/package org.eclipse.ui.navigator;
11:
12:        import java.util.Map;
13:
14:        import org.eclipse.jface.viewers.ViewerSorter;
15:
16:        /**
17:         * 
18:         * Provides an interface to extensions declared in
19:         * <b>org.eclipse.ui.navigator.navigatorContent/commonSorter</b>.
20:         * 
21:         * <p>
22:         * Like other extensions to the Common Navigator framework, sorters defined by
23:         * the above extension point must be bound to the associated
24:         * {@link INavigatorContentService} through a
25:         * <b>org.eclipse.ui.navigator.viewer/viewerContentBinding</b> extension.
26:         * </p>
27:         * 
28:         * <p>
29:         * This interface is not intended to be implemented by clients.
30:         * </p>
31:         * 
32:         * @see INavigatorContentService#getSorterService()
33:         * @see ViewerSorter
34:         * @since 3.2
35:         */
36:        public interface INavigatorSorterService {
37:
38:            /**
39:             * Return a {@link ViewerSorter} from an extension which is visible to the
40:             * associated {@link INavigatorContentService} and whose <b>parentExpression</b>
41:             * matches the given parent.
42:             * 
43:             * @param aParent
44:             *            An element from the tree
45:             * @return An applicable ViewerSorter or simple {@link ViewerSorter} if no
46:             *         sorter is found.
47:             */
48:            ViewerSorter findSorterForParent(Object aParent);
49:
50:            /**
51:             * Return a {@link ViewerSorter} from an extension which is visible to the
52:             * associated {@link INavigatorContentService} and whose <b>parentExpression</b>
53:             * matches the given parent.
54:             * 
55:             * @param source
56:             *            The source of the element.
57:             * @param parent
58:             *            An element from the tree
59:             * @param lvalue
60:             *            An element from the tree
61:             * @param rvalue
62:             *            An element from the tree
63:             * @return An applicable ViewerSorter or simple {@link ViewerSorter} if no
64:             *         sorter is found.
65:             */
66:            ViewerSorter findSorter(INavigatorContentDescriptor source,
67:                    Object parent, Object lvalue, Object rvalue);
68:
69:            /**
70:             * Find and return all viewer sorters associated with the given descriptor.
71:             * 
72:             * <p>
73:             * The <i>commonSorter</i> element is not required to have an id, so in
74:             * some cases, an auto-generated id, using the content extension id as a
75:             * base, is generated to ensure the map is properly filled with all
76:             * available sorters. No guarantees are given as to the order or consistency
77:             * of these generated ids between invocations.
78:             * </p>
79:             * 
80:             * @param theSource
81:             *            A descriptor that identifies a particular content extension
82:             * @return A Map[String sorterDescriptorId, ViewerSorter instance] where the
83:             *         key is the id defined in the extension and the value is the
84:             *         instantiated sorter.
85:             * 
86:             * @see INavigatorContentService#getContentDescriptorById(String)
87:             * @see INavigatorContentService#getContentExtensionById(String)
88:             * @see INavigatorContentExtension#getDescriptor()
89:             * @since 3.3
90:             */
91:            public Map findAvailableSorters(
92:                    INavigatorContentDescriptor theSource);
93:
94:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.