Modifier and Type | Field and Description |
---|---|
ActivityBag |
activityBag |
ActivitySequence |
activitySequence |
protected ResourceBridge |
bridge |
String |
code
Optional code used in reports for filtering queries by activity
|
static String |
CODE |
static String |
CURRENT_VERSION |
static String |
ELEMENT_NAME |
protected FileSystem |
fileSystem |
protected String |
fullPath |
MediaBag |
mediaBag |
protected String |
name |
static String |
NAME |
ProjectSettings |
settings |
Skin |
skin |
String |
type |
static String |
TYPE |
String |
version |
static String |
VERSION |
Constructor and Description |
---|
JClicProject(ResourceBridge bridge,
FileSystem fileSystem,
String fullPath)
Creates new JClicProject
|
Modifier and Type | Method and Description |
---|---|
void |
end() |
protected void |
finalize() |
ResourceBridge |
getBridge()
Getter for property resourceBridge.
|
Document |
getDocument() |
Editor |
getEditor(Editor parent)
Returns the
Editor associated to this object. |
FileSystem |
getFileSystem()
Getter for property fileSystem.
|
String |
getFullPath()
Getter for property fullPath.
|
static JClicProject |
getJClicProject(Element e,
ResourceBridge rb,
FileSystem fs,
String fullPath) |
static JClicProject |
getJClicProject(ResourceBridge rb,
String fullPath,
ProgressDialog pd) |
Element |
getJDomElement() |
String |
getName() |
String |
getPublicName() |
void |
realize(EventSounds parent,
PlayStation ps) |
void |
saveDocument(OutputStream out) |
void |
saveProject(String fileName) |
void |
saveZipDocument(OutputStream out,
boolean includeMedia) |
void |
saveZipDocumentPreservingZipContents(OutputStream out,
ZipFileSystem zfs) |
void |
setBridge(ResourceBridge bridge)
Setter for property bridge.
|
void |
setFileSystem(FileSystem fileSystem)
Setter for property fileSystem.
|
void |
setFullPath(String fullPath)
Setter for property fullPath.
|
void |
setName(String newName) |
void |
setProperties(Element e,
Object aux) |
public static String CURRENT_VERSION
protected ResourceBridge bridge
protected FileSystem fileSystem
public ActivityBag activityBag
public ActivitySequence activitySequence
public MediaBag mediaBag
public Skin skin
protected String name
public String version
public ProjectSettings settings
public String type
public String code
protected String fullPath
public static String TYPE
public static String ELEMENT_NAME
public static String VERSION
public static String NAME
public static String CODE
public JClicProject(ResourceBridge bridge, FileSystem fileSystem, String fullPath)
public Element getJDomElement()
getJDomElement
in interface Domable
public void setProperties(Element e, Object aux) throws Exception
setProperties
in interface Domable
Exception
public static JClicProject getJClicProject(Element e, ResourceBridge rb, FileSystem fs, String fullPath) throws Exception
Exception
public static JClicProject getJClicProject(ResourceBridge rb, String fullPath, ProgressDialog pd) throws Exception
Exception
public Document getDocument()
public void saveDocument(OutputStream out) throws Exception
Exception
public void saveZipDocument(OutputStream out, boolean includeMedia) throws Exception
Exception
public void saveZipDocumentPreservingZipContents(OutputStream out, ZipFileSystem zfs) throws Exception
Exception
public void setName(String newName)
public String getName()
public String getPublicName()
public void realize(EventSounds parent, PlayStation ps)
public void end()
protected void finalize() throws Throwable
public ResourceBridge getBridge()
public void setBridge(ResourceBridge bridge)
bridge
- New value of property bridge
.public FileSystem getFileSystem()
public void setFileSystem(FileSystem fileSystem)
fileSystem
- New value of property fileSystem.public String getFullPath()
public void setFullPath(String fullPath)
fullPath
- New value of property fullPath.Copyright © 2004-15 Francesc Busquets (fbusquets@xtec.cat) & Departament d'Educació de la Generalitat de Catalunya (info@xtec.cat)
Licensed under the terms of the GNU General Public License.