KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > pde > internal > core > iproduct > IProduct


1 /*******************************************************************************
2  * Copyright (c) 2005, 2007 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.pde.internal.core.iproduct;
12
13
14
15 public interface IProduct extends IProductObject {
16     
17     String JavaDoc P_ID = "id"; //$NON-NLS-1$
18
String JavaDoc P_NAME = "name"; //$NON-NLS-1$
19
String JavaDoc P_APPLICATION = "application"; //$NON-NLS-1$
20
String JavaDoc P_USEFEATURES = "useFeatures"; //$NON-NLS-1$
21
String JavaDoc P_INCLUDE_FRAGMENTS = "includeFragments"; //$NON-NLS-1$
22
String JavaDoc P_INTRO_ID = "introId"; //$NON-NLS-1$
23

24     String JavaDoc getId();
25     
26     String JavaDoc getName();
27     
28     String JavaDoc getApplication();
29     
30     String JavaDoc getDefiningPluginId();
31     
32     boolean useFeatures();
33     
34     IAboutInfo getAboutInfo();
35     
36     IConfigurationFileInfo getConfigurationFileInfo();
37     
38     IArgumentsInfo getLauncherArguments();
39     
40     IJREInfo getJREInfo();
41     
42     IWindowImages getWindowImages();
43     
44     ISplashInfo getSplashInfo();
45     
46     IIntroInfo getIntroInfo();
47     
48     ILauncherInfo getLauncherInfo();
49     
50     void addPlugins(IProductPlugin[] plugin);
51     
52     void addFeatures(IProductFeature[] feature);
53     
54     void removePlugins(IProductPlugin[] plugins);
55     
56     void removeFeatures(IProductFeature[] feature);
57     
58     IProductPlugin[] getPlugins();
59     
60     IProductFeature[] getFeatures();
61
62     void setId(String JavaDoc id);
63     
64     void setName(String JavaDoc name);
65     
66     void setAboutInfo(IAboutInfo info);
67     
68     void setApplication(String JavaDoc application);
69     
70     void setConfigurationFileInfo(IConfigurationFileInfo info);
71     
72     void setLauncherArguments(IArgumentsInfo info);
73     
74     void setJREInfo(IJREInfo info);
75     
76     void setWindowImages(IWindowImages images);
77     
78     void setSplashInfo(ISplashInfo info);
79     
80     void setIntroInfo(IIntroInfo introInfo);
81     
82     void setLauncherInfo(ILauncherInfo info);
83     
84     void setUseFeatures(boolean use);
85     
86     void reset();
87     
88     void swap(IProductFeature feature1, IProductFeature feature2);
89     
90     boolean containsPlugin(String JavaDoc id);
91     
92     boolean containsFeature(String JavaDoc id);
93     
94 }
95
Popular Tags