public class LibraryModel extends PluginModelObject
Libraries are typed. The type is used to determine to which search path the library's
contribution should be added. The valid types are: CODE
and
RESOURCE
.
This class may be instantiated, or further subclassed.
Modifier and Type | Field and Description |
---|---|
static String |
CODE
Deprecated.
Constant string (value "code") indicating the code library type.
|
static String |
RESOURCE
Deprecated.
Constant string (value "resource") indicating the resource library type.
|
Constructor and Description |
---|
LibraryModel()
Deprecated.
Creates a new library model in which all fields
are
null . |
Modifier and Type | Method and Description |
---|---|
String[] |
getExports()
Deprecated.
Returns this library's export mask.
|
String[] |
getPackagePrefixes()
Deprecated.
|
String |
getType()
Deprecated.
Returns this library's type.
|
boolean |
isExported()
Deprecated.
Returns whether or not any of the code in this library is exported.
|
boolean |
isFullyExported()
Deprecated.
Returns whether or not all of the code in this library is exported.
|
void |
setExports(String[] value)
Deprecated.
Sets this library's export mask.
|
void |
setPackagePrefixes(String[] value)
Deprecated.
Sets this library's package prefixes to be the specified array or
null . |
void |
setType(String value)
Deprecated.
Sets this library's type.
|
assertIsWriteable, getName, getStartLine, isReadOnly, markReadOnly, setLocalizedName, setName, setStartLine, toString
public static final String CODE
public static final String RESOURCE
public LibraryModel()
null
.public String[] getExports()
null
public String getType()
public boolean isExported()
public boolean isFullyExported()
public void setExports(String[] value)
value
- this library's export mask. May be null
.public void setType(String value)
CODE
and RESOURCE
.
The given type value is canonicalized before being set.
This object must not be read-only.public String[] getPackagePrefixes()
ILibrary.getPackagePrefixes()
public void setPackagePrefixes(String[] value)
null
.value
- the list of package prefixes for this library
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.