Subversion Repositories pub

Compare Revisions

Ignore whitespace Rev 62 → Rev 68

/pluggablejs/trunk/src/net/outlyer/plugins/PluginProperties.java
30,7 → 30,15
* Common properties of the plugin object. All of them
* take sane defaults.
*/
class PluginProperties extends SandboxAccessorImpl {
// Can't be package-protected or its fields won't be modifiable from
// js code!
// This limitation appears to apply only to fields, not methods
public class PluginProperties extends SandboxAccessorImpl {
 
// This class isn't meant to be used outside of this package, but must be
// public (see comment above)
PluginProperties(){}
/**
* pluggablejs Api Version against which this plugin was written.
* Default: 1
58,4 → 66,9
* @deprecated The use of this field is yet to be defined
*/
public Object properties; // FIXME: To be defined
 
@Override public String toString() {
return String.format("PluginProperties{ name=%s, type=%s, apiVersion=%d }",
name, type, apiVersion);
}
}