public class ProjectLibrary extends JClicProject implements Editable
Modifier and Type | Field and Description |
---|---|
static String |
LIBRARY_TYPE |
static String |
MSG_ID |
activityBag, activitySequence, bridge, code, CODE, CURRENT_VERSION, ELEMENT_NAME, fileSystem, fullPath, mediaBag, name, NAME, settings, skin, type, TYPE, version, VERSION
Modifier and Type | Method and Description |
---|---|
static ProjectLibrary |
createNewProjectLibrary(ResourceBridge rb,
FileSystem fileSystem) |
boolean |
editProjectLibrary(Object parent) |
Editor |
getEditor(Editor parent)
Returns the
Editor associated to this object. |
static ProjectLibrary |
getProjectLibrary(Element e,
ResourceBridge rb,
FileSystem fileSystem,
String fullPath) |
String |
getPublicName() |
protected JComponent |
getRbComponent() |
protected String |
getRbMessage(String msg) |
Menu |
getRootMenu() |
static ProjectLibrary |
loadProjectLibrary(String fullPath,
ResourceBridge rb) |
void |
save(String path) |
void |
setProperties(Element e,
Object aux) |
String |
toString() |
end, finalize, getBridge, getDocument, getFileSystem, getFullPath, getJClicProject, getJClicProject, getJDomElement, getName, realize, saveDocument, saveProject, saveZipDocument, saveZipDocumentPreservingZipContents, setBridge, setFileSystem, setFullPath, setName
public static final String LIBRARY_TYPE
public static final String MSG_ID
public void setProperties(Element e, Object aux) throws Exception
setProperties
in interface Domable
setProperties
in class JClicProject
Exception
public static ProjectLibrary createNewProjectLibrary(ResourceBridge rb, FileSystem fileSystem)
public static ProjectLibrary getProjectLibrary(Element e, ResourceBridge rb, FileSystem fileSystem, String fullPath) throws Exception
Exception
public static ProjectLibrary loadProjectLibrary(String fullPath, ResourceBridge rb) throws Exception
Exception
public String getPublicName()
getPublicName
in class JClicProject
public Menu getRootMenu()
public Editor getEditor(Editor parent)
Editable
Editor
associated to this object.getEditor
in interface Editable
getEditor
in class JClicProject
parent
- Editors can have a parent editor. Childs should communicate its changes to parents,
and changes in parents should affect its childs. This parameter can be null
in stand-alone objects.public boolean editProjectLibrary(Object parent)
protected JComponent getRbComponent()
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.