public class TextActivityBaseEditor extends ActivityEditor
Editor.EditorListener, Editor.LModel
Modifier and Type | Field and Description |
---|---|
protected int |
from |
protected int |
to |
COMMON_PANELS, icon, SYSTEM_LIST
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 |
---|
TextActivityBaseEditor(TextActivityBase act)
Creates a new instance of TextActivityBaseEditor
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEditTarget() |
protected JPanelActiveBox |
createNewBox(int pos,
Options options,
Component parent) |
protected TargetMarker |
createNewTarget(int ifrom,
int ito,
Options options,
Component parent) |
protected void |
createPanels(ActivityEditorPanel panel) |
protected boolean |
deleteTarget(TargetMarker tm,
Options options,
Component parent) |
protected void |
editCheckOptions(Options options,
Component parent) |
protected boolean |
editTarget(int pos,
Options options,
Component parent) |
protected boolean |
editType(Options options,
Component parent) |
protected TextActivityBase |
getTextActivity() |
protected boolean |
hasType() |
boolean |
nameChanged(int type,
String oldName,
String newName) |
createChildren, createEditorPanel, drawPreview, getActivity, getActivityBagEditor, getActivityBagElementEditor, getAutoContentProviderEditor, getEditorPanelClass, getIcon, getIcon, getMediaBagEditor, getOptions, getProjectEditor, getSystemActivityList, getTitleKey, rename, saveData, setActionsOwner, toString
addEditorListener, canBeParentOf, canBeSiblingOf, canClone, canPasteHere, clearActionsOwner, clearBasicActionsOwner, collectData, copy, createBasicActions, createEditor, createJTree, cut, delete, editData, findParentForDlg, fireEditorDataChanged, getChildByName, getClone, getCurrentTree, getEditorParent, getFirstChild, getFirstObject, getFirstParent, getListModel, getListSelectionModel, getNearestIndex, 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 TextActivityBaseEditor(TextActivityBase act)
protected void createPanels(ActivityEditorPanel panel)
createPanels
in class ActivityEditor
protected TextActivityBase getTextActivity()
protected JPanelActiveBox createNewBox(int pos, Options options, Component parent)
protected TargetMarker createNewTarget(int ifrom, int ito, Options options, Component parent)
protected boolean deleteTarget(TargetMarker tm, Options options, Component parent)
protected boolean canEditTarget()
protected boolean hasType()
public boolean nameChanged(int type, String oldName, String newName)
nameChanged
in class ActivityEditor
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.