public class ActivityBagElementEditor extends Editor
Editor.EditorListener, Editor.LModel
Modifier and Type | Field and Description |
---|---|
static boolean |
actionsCreated |
static ImageIcon |
icon |
static EditorAction |
testActivityAction |
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 |
---|
ActivityBagElementEditor(ActivityBagElement abe)
Creates a new instance of ActivityBagElementEditor
|
Modifier and Type | Method and Description |
---|---|
boolean |
canBeParentOf(Editor e) |
boolean |
canBeSiblingOf(Editor e) |
protected boolean |
canClone() |
void |
changeActivityClass(String newClassName) |
void |
clearActionsOwner() |
static void |
createActions(Options options) |
protected void |
createChildren() |
EditorPanel |
createEditorPanel(Options options) |
protected boolean |
delete(boolean changeSelection) |
void |
forgetActivityEditor() |
ActivityBagElement |
getActivityBagElement() |
ActivityEditor |
getActivityEditor() |
protected Editor |
getClone() |
Class |
getEditorPanelClass() |
static Icon |
getIcon() |
Icon |
getIcon(boolean leaf,
boolean expanded) |
boolean |
nameChanged(int type,
String oldName,
String newName) |
protected void |
setActionsFlag() |
void |
setActionsOwner() |
void |
testActivity() |
String |
toString() |
addEditorListener, canPasteHere, clearBasicActionsOwner, collectData, copy, createBasicActions, createEditor, createJTree, cut, editData, findParentForDlg, fireEditorDataChanged, getChildByName, 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 ImageIcon icon
public static EditorAction testActivityAction
public static boolean actionsCreated
public ActivityBagElementEditor(ActivityBagElement abe)
protected void createChildren()
createChildren
in class Editor
public EditorPanel createEditorPanel(Options options)
createEditorPanel
in class Editor
public Class getEditorPanelClass()
getEditorPanelClass
in class Editor
public ActivityBagElement getActivityBagElement()
public ActivityEditor getActivityEditor()
public void changeActivityClass(String newClassName) throws Exception
Exception
public void forgetActivityEditor()
public static Icon getIcon()
public boolean canBeParentOf(Editor e)
canBeParentOf
in class Editor
public boolean canBeSiblingOf(Editor e)
canBeSiblingOf
in class Editor
protected void setActionsFlag()
public void setActionsOwner()
setActionsOwner
in class Editor
public void clearActionsOwner()
clearActionsOwner
in class Editor
public void testActivity()
public static void createActions(Options options)
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.