public class MediaBagElementEditor extends Editor
Editor.EditorListener, Editor.LModel
Modifier and Type | Field and Description |
---|---|
static EditorAction |
testMediaBagElementAction |
allowCopy, allowCut, allowDelete, allowPaste, basicActionsCreated, clip, clipCutted, copyAction, currentTree, cutAction, deleteAction, listeners, listModel, listSelectionModel, moveDownAction, moveUpAction, pasteAction, restrictMoveToSameType, treeModel
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
Constructor and Description |
---|
MediaBagElementEditor(MediaBagElement el)
Creates a new instance of MediaBagElementEditor
|
addEditorListener, canPasteHere, clearBasicActionsOwner, collectData, copy, createBasicActions, createEditor, createJTree, cut, editData, findParentForDlg, fireEditorDataChanged, getChildByName, getClone, getCurrentTree, getEditorParent, getFirstChild, getFirstObject, getFirstParent, getListModel, getListSelectionModel, getNearestIndex, getTitleKey, getTreeModel, insert, insertEditor, isModified, moveDown, moveToIndex, moveUp, paste, remove, removeEditorListener, reselect, select, setClip, setCurrentTree, setListSelectionModel, setModified, setTreeModel
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
public static EditorAction testMediaBagElementAction
public MediaBagElementEditor(MediaBagElement el)
protected void createChildren()
createChildren
in class Editor
public Class getEditorPanelClass()
getEditorPanelClass
in class Editor
public EditorPanel createEditorPanel(Options options)
createEditorPanel
in class Editor
public MediaBagElement getMediaBagElement()
public MediaBag getMediaBag()
public String getName()
public boolean rename(String newName, Editor.EditorListener agent, Messages msg)
public void updateContent(Editor.EditorListener agent)
public boolean changeFileName(String newFileName, Editor.EditorListener agent, Messages msg)
protected void saveData()
protected void setActionsFlag()
public void setActionsOwner()
setActionsOwner
in class Editor
public void clearActionsOwner()
clearActionsOwner
in class Editor
public static Icon getIcon()
public boolean canBeParentOf(Editor e)
canBeParentOf
in class Editor
public boolean canBeSiblingOf(Editor e)
canBeSiblingOf
in class Editor
public JClicProjectEditor getProjectEditor()
public static void createActions(Options opt)
public long getFileSize()
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.