KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > pde > internal > core > isite > ISiteFeature


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.isite;
12
13 import org.eclipse.core.resources.IFile;
14 import org.eclipse.core.runtime.CoreException;
15 import org.eclipse.pde.internal.core.ifeature.IVersionable;
16
17 public interface ISiteFeature extends IVersionable, ISiteObject {
18     String JavaDoc P_TYPE = "type"; //$NON-NLS-1$
19
String JavaDoc P_URL = "url"; //$NON-NLS-1$
20
String JavaDoc P_OS = "os"; //$NON-NLS-1$
21
String JavaDoc P_WS = "ws"; //$NON-NLS-1$
22
String JavaDoc P_NL = "nl"; //$NON-NLS-1$
23
String JavaDoc P_ARCH = "arch"; //$NON-NLS-1$
24
String JavaDoc P_PATCH = "patch"; //$NON-NLS-1$
25
void addCategories(ISiteCategory[] categories) throws CoreException;
26     void removeCategories(ISiteCategory[] categories) throws CoreException;
27     ISiteCategory [] getCategories();
28     String JavaDoc getType();
29     String JavaDoc getURL();
30     String JavaDoc getOS();
31     String JavaDoc getNL();
32     String JavaDoc getArch();
33     String JavaDoc getWS();
34     boolean isPatch();
35     void setType(String JavaDoc type) throws CoreException;
36     void setURL(String JavaDoc url) throws CoreException;
37     void setOS(String JavaDoc os) throws CoreException;
38     void setWS(String JavaDoc ws) throws CoreException;
39     void setArch(String JavaDoc arch) throws CoreException;
40     void setNL(String JavaDoc nl) throws CoreException;
41     void setIsPatch(boolean patch) throws CoreException;
42     IFile getArchiveFile();
43 }
44
Popular Tags