KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > pde > internal > core > ifeature > IFeatureEntry


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 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.ifeature;
12
13 import org.eclipse.core.runtime.CoreException;
14 import org.eclipse.pde.core.IIdentifiable;
15 /**
16  * The reference to a plug-in that is part of this feature.
17  */

18 public interface IFeatureEntry extends IFeatureObject, IIdentifiable {
19     String JavaDoc P_OS = "p_os"; //$NON-NLS-1$
20
String JavaDoc P_WS = "p_ws"; //$NON-NLS-1$
21
String JavaDoc P_NL = "p_nl"; //$NON-NLS-1$
22
String JavaDoc P_ARCH = "p_arch"; //$NON-NLS-1$
23
String JavaDoc P_DOWNLOAD_SIZE = "p_download_size"; //$NON-NLS-1$
24
String JavaDoc P_INSTALL_SIZE = "p_install_size"; //$NON-NLS-1$
25

26     /**
27      * Returns a comma-separated list of the operating systems this plug-in supports.
28      */

29     public String JavaDoc getOS();
30     /**
31      * Returns a comma-separated list of the window systems this plug-in supports.
32      */

33     public String JavaDoc getWS();
34     /**
35      * Returns a comma-separated list of the locales this plug-in supports.
36      */

37     public String JavaDoc getNL();
38     /**
39      * Returns a comma-separated list of the architecture this plug-in supports.
40      */

41     public String JavaDoc getArch();
42     /**
43      * Returns estimated download size of this plug-in.
44      */

45     public long getDownloadSize();
46     /**
47      * Returns estimated size of this plug-in when installed.
48      */

49     public long getInstallSize();
50     /**
51      * Sets a comma-separated list of the operating systems this plug-in supports.
52      */

53     public void setOS(String JavaDoc os) throws CoreException;
54     /**
55      * Sets a comma-separated list of the window systems this plug-in supports.
56      */

57     public void setWS(String JavaDoc ws) throws CoreException;
58     /**
59      * Sets a comma-separated list of the locales this plug-in supports.
60      */

61     public void setNL(String JavaDoc nl) throws CoreException;
62     /**
63      * Sets a comma-separated list of the archiecture this plug-in supports.
64      */

65     public void setArch(String JavaDoc arch) throws CoreException;
66     /**
67      * Sets the estimated download size of this plug-in.
68      */

69     public void setDownloadSize(long size) throws CoreException;
70     /**
71      * Sets the estimated size of this plug-in when installed.
72      */

73     public void setInstallSize(long size) throws CoreException;
74 }
75
Popular Tags