Java Doc for ModelEntry.java in  » IDE-Eclipse » Eclipse-plug-in-development » org » eclipse » pde » core » plugin » 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 » Eclipse plug in development » org.eclipse.pde.core.plugin 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.eclipse.pde.core.plugin.ModelEntry

ModelEntry
public class ModelEntry extends PlatformObject (Code)
A ModelEntry object has an ID and keeps track of all workspace plug-ins and target plug-ins that have that ID.

This class is not meant to be extended or instantiated by clients.


since:
   3.3


Field Summary
protected  ArrayListfExternalEntries
    
protected  ArrayListfWorkspaceEntries
    

Constructor Summary
public  ModelEntry(String id)
    

Method Summary
public  IPluginModelBase[]getActiveModels()
     Returns all the plug-ins, with the model entry ID, that are currently active.

Workspace plug-ins are always active.

public  IPluginModelBase[]getExternalModels()
     Returns all plug-ins in the target platform that have the model entry ID. The returned result contains both plug-ins that are enabled (ie.
public  StringgetId()
    
public  IPluginModelBasegetModel()
     Returns the plug-in model for the best match plug-in with the given ID.
public  IPluginModelBasegetModel(BundleDescription desc)
     Return the plug-in model associated with the given bundle description or null if none is found.
public  IPluginModelBase[]getWorkspaceModels()
    
public  booleanhasExternalModels()
     Returns true if there are target plug-ins associated with the ID of this model entry; falseotherwise.
public  booleanhasWorkspaceModels()
     Returns true if there are workspace plug-ins associated with the ID of this model entry; falseotherwise.

Field Detail
fExternalEntries
protected ArrayList fExternalEntries(Code)



fWorkspaceEntries
protected ArrayList fWorkspaceEntries(Code)




Constructor Detail
ModelEntry
public ModelEntry(String id)(Code)
Constructor
Parameters:
  id - the entry ID




Method Detail
getActiveModels
public IPluginModelBase[] getActiveModels()(Code)
Returns all the plug-ins, with the model entry ID, that are currently active.

Workspace plug-ins are always active. Target plug-ins are only active if:

  • they are checked on the Plug-in Development > Target Platform preference page
  • there does not exist a workspace plug-in that has the same ID

an array of the currently active plug-ins with the model entry ID



getExternalModels
public IPluginModelBase[] getExternalModels()(Code)
Returns all plug-ins in the target platform that have the model entry ID. The returned result contains both plug-ins that are enabled (ie. checked on the Plug-in Development > Target Platform preference page) and disabled. an array of plug-ins in the target platform that have the model entry ID



getId
public String getId()(Code)
Returns the model entry ID the model entry ID



getModel
public IPluginModelBase getModel()(Code)
Returns the plug-in model for the best match plug-in with the given ID. A null value is returned if no such bundle is found in the workspace or target platform.

A workspace plug-in is always preferably returned over a target plug-in. A plug-in that is checked/enabled on the Target Platform preference page is always preferably returned over a target plug-in that is unchecked/disabled.

In the case of a tie among workspace plug-ins or among target plug-ins, the plug-in with the highest version is returned.

In the case of a tie among more than one suitable plug-in that have the same version, one of those plug-ins is randomly returned.

the plug-in model for the best match plug-in with the given ID



getModel
public IPluginModelBase getModel(BundleDescription desc)(Code)
Return the plug-in model associated with the given bundle description or null if none is found.
Parameters:
  desc - the given bundle description the plug-in model associated with the given bundle description if such amodel exists.



getWorkspaceModels
public IPluginModelBase[] getWorkspaceModels()(Code)
Returns all the workspace plug-ins that have the model entry ID an array of workspace plug-ins that have the model entry ID



hasExternalModels
public boolean hasExternalModels()(Code)
Returns true if there are target plug-ins associated with the ID of this model entry; falseotherwise. true if there are target plug-ins associated with the IDof this model entry; falseotherwise.



hasWorkspaceModels
public boolean hasWorkspaceModels()(Code)
Returns true if there are workspace plug-ins associated with the ID of this model entry; falseotherwise. true if there are workspace plug-ins associated with the IDof this model entry; falseotherwise.



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