Java Doc for TargetPlatform.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) 


java.lang.Object
   org.eclipse.pde.core.plugin.TargetPlatform

TargetPlatform
public class TargetPlatform (Code)
The central class for the plug-in development target platform. This class cannot be instantiated or subclassed by clients; all functionality is provided by static methods. Features include:
  • the target platform's OS/WS/ARCH
  • the default application and product
  • the available applications and products


since:
   3.3
since:
  





Method Summary
public static  voidcreatePlatformConfiguration(File location, IPluginModelBase[] plugins, IPluginModelBase brandingPlugin)
    
public static  String[]getApplications()
     Returns a list of identifiers for all available applications (i.e.
public static  StringgetBundleList()
     The comma-separated list of bundles which are automatically installed and optionally started.

Each entry if of the form [@ [] [":start"]] If the startlevel is omitted then the framework will use the default start level for the bundle. If the "start" tag is added then the bundle will be marked as started after being installed.

The list computed is based on the osgi.bundles key found in the config.ini file of the target platform.

public static  StringgetDefaultApplication()
     Returns the ID for the default application (org.eclipse.core.runtime.applications extension) for the current target platform.
public static  StringgetDefaultLocation()
     Returns the location of the default target platform, namely the location of the host (running) instance of Eclipse.
public static  StringgetDefaultProduct()
     Returns the ID for the default product (org.eclipse.core.runtime.products extension) for the current target platform, or null if none can be determined.
public static  StringgetLocation()
     Returns the target platform's main location as specified on the Environment tab of the Plug-in Development > Target Platform preference page.
public static  StringgetNL()
     Returns the target locale as specified on the Environment tab of the Plug-in Development > Target Platform preference page.
public static  StringgetOS()
     Returns the target operating system as specified on the Environment tab of the Plug-in Development > Target Platform preference page.
public static  StringgetOSArch()
     Returns the target system architecture as specified on the Environment tab of the Plug-in Development > Target Platform preference page.
public static  String[]getProducts()
     Returns a list of identifiers for all available products (i.e.
public static  StringgetWS()
     Returns the target windowing system as specified on the Environment tab of the Plug-in Development > Target Platform preference page.



Method Detail
createPlatformConfiguration
public static void createPlatformConfiguration(File location, IPluginModelBase[] plugins, IPluginModelBase brandingPlugin) throws CoreException(Code)
Creates a platform configuration to be used when launching an Eclipse application that uses Update Manager as a configurator
Parameters:
  location - the location where the configuration should be persisted
Parameters:
  plugins - the list of plug-ins that make up the configuration
Parameters:
  brandingPlugin - if specified, a entry for the feature containing the branding plug-in willbe created in the platform configuration
throws:
  CoreException - an exception is thrown if there was a problem writing the platformconfiguration file



getApplications
public static String[] getApplications()(Code)
Returns a list of identifiers for all available applications (i.e. org.eclipse.core.runtime.applications extensions) declared in the workspace and target platform plug-ins.

If a workspace plug-in has the same ID as a plug-in in the target platform, the extensions declared in the target counterpart are ignored.

a list of identifiers for all available applications



getBundleList
public static String getBundleList()(Code)
The comma-separated list of bundles which are automatically installed and optionally started.

Each entry if of the form [@ [] [":start"]] If the startlevel is omitted then the framework will use the default start level for the bundle. If the "start" tag is added then the bundle will be marked as started after being installed.

The list computed is based on the osgi.bundles key found in the config.ini file of the target platform. If no such key is found, then a suitable list is computed based on the target platform version.

a comma-separated list of bundles that are automatically installedand optionally started when a runtime Eclipse application is launched.



getDefaultApplication
public static String getDefaultApplication()(Code)
Returns the ID for the default application (org.eclipse.core.runtime.applications extension) for the current target platform.

If none could be determined, then org.eclipse.ui.ide.workbench application is returned.

the default application to run when launching an Eclipse application



getDefaultLocation
public static String getDefaultLocation()(Code)
Returns the location of the default target platform, namely the location of the host (running) instance of Eclipse. the location of the default target platform



getDefaultProduct
public static String getDefaultProduct()(Code)
Returns the ID for the default product (org.eclipse.core.runtime.products extension) for the current target platform, or null if none can be determined. If any of the the ID for the default product or null if none could be determined



getLocation
public static String getLocation()(Code)
Returns the target platform's main location as specified on the Environment tab of the Plug-in Development > Target Platform preference page. the target platform's main location



getNL
public static String getNL()(Code)
Returns the target locale as specified on the Environment tab of the Plug-in Development > Target Platform preference page. the target locale



getOS
public static String getOS()(Code)
Returns the target operating system as specified on the Environment tab of the Plug-in Development > Target Platform preference page. the target operating system



getOSArch
public static String getOSArch()(Code)
Returns the target system architecture as specified on the Environment tab of the Plug-in Development > Target Platform preference page. the target system architecture



getProducts
public static String[] getProducts()(Code)
Returns a list of identifiers for all available products (i.e. org.eclipse.core.runtime.products extensions) declared in the workspace and target platform plug-ins.

If a workspace plug-in has the same ID as a plug-in in the target platform, the extensions declared in the target counterpart are ignored.

a list of identifiers for all available products



getWS
public static String getWS()(Code)
Returns the target windowing system as specified on the Environment tab of the Plug-in Development > Target Platform preference page. the target windowing system



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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