public class ActivityBagEditor extends Editor
Editor.EditorListener, Editor.LModel
Modifier and Type | Field and Description |
---|---|
static boolean |
actionsCreated |
static EditorAction |
copyActivityAttributesAction |
static ImageIcon |
icon |
static EditorAction |
newActivityBagElementAction |
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 |
---|
ActivityBagEditor(ActivityBag ab)
Creates a new instance of ActivityBagEditor
|
Modifier and Type | Method and Description |
---|---|
void |
changeActivityClass(ActivityBagElementEditor abed,
String newClassName) |
int |
checkOrphanElements(Options options,
Component parent,
boolean prompt) |
void |
clearActionsOwner() |
static void |
createActions(Options options) |
protected void |
createChildren() |
EditorPanel |
createEditorPanel(Options options) |
boolean |
createNewActivityBagElement(int index,
Component dlgParent) |
ActivityBag |
getActivityBag() |
Class |
getEditorPanelClass() |
static Icon |
getIcon() |
Icon |
getIcon(boolean leaf,
boolean expanded) |
Options |
getOptions() |
JClicProjectEditor |
getProjectEditor() |
String |
getTitleKey() |
void |
insert(MutableTreeNode newChild,
int childIndex) |
boolean |
nameChanged(int type,
String oldName,
String newName) |
void |
remove(int childIndex) |
void |
setActionsOwner() |
String |
toString() |
addEditorListener, canBeParentOf, canBeSiblingOf, canClone, canPasteHere, clearBasicActionsOwner, collectData, copy, createBasicActions, createEditor, createJTree, cut, delete, editData, findParentForDlg, fireEditorDataChanged, getChildByName, getClone, getCurrentTree, getEditorParent, getFirstChild, getFirstObject, getFirstParent, getListModel, getListSelectionModel, getNearestIndex, getTreeModel, insertEditor, isModified, moveDown, moveToIndex, moveUp, paste, 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 ImageIcon icon
public static EditorAction newActivityBagElementAction
public static EditorAction copyActivityAttributesAction
public static boolean actionsCreated
public ActivityBagEditor(ActivityBag ab)
protected void createChildren()
createChildren
in class Editor
public EditorPanel createEditorPanel(Options options)
createEditorPanel
in class Editor
public Class getEditorPanelClass()
getEditorPanelClass
in class Editor
public String getTitleKey()
getTitleKey
in class Editor
public ActivityBag getActivityBag()
public static Icon getIcon()
public Options getOptions()
public JClicProjectEditor getProjectEditor()
public boolean createNewActivityBagElement(int index, Component dlgParent)
public void changeActivityClass(ActivityBagElementEditor abed, String newClassName) throws Exception
Exception
public void setActionsOwner()
setActionsOwner
in class Editor
public void clearActionsOwner()
clearActionsOwner
in class Editor
public static void createActions(Options options)
public void insert(MutableTreeNode newChild, int childIndex)
insert
in interface MutableTreeNode
insert
in class Editor
public void remove(int childIndex)
remove
in interface MutableTreeNode
remove
in class Editor
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.