public class ActivityEditor extends Editor
Editor.EditorListener, Editor.LModel
Modifier and Type | Field and Description |
---|---|
protected static int |
COMMON_PANELS |
protected static ImageIcon |
icon |
static String |
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 |
---|
ActivityEditor(Activity act)
Creates a new instance of ActivityEditor
|
Modifier and Type | Method and Description |
---|---|
protected void |
createChildren() |
EditorPanel |
createEditorPanel(Options options) |
protected void |
createPanels(ActivityEditorPanel panel) |
void |
drawPreview(Graphics2D g2,
Rectangle bounds,
int margin) |
Activity |
getActivity() |
ActivityBagEditor |
getActivityBagEditor() |
ActivityBagElementEditor |
getActivityBagElementEditor() |
AutoContentProviderEditor |
getAutoContentProviderEditor() |
Class |
getEditorPanelClass() |
static Icon |
getIcon() |
Icon |
getIcon(boolean leaf,
boolean expanded) |
MediaBagEditor |
getMediaBagEditor() |
Options |
getOptions() |
JClicProjectEditor |
getProjectEditor() |
static List<TripleString> |
getSystemActivityList(Options options) |
String |
getTitleKey() |
boolean |
nameChanged(int type,
String oldName,
String newName) |
boolean |
rename(String newName,
Component parent,
Messages msg) |
void |
saveData() |
void |
setActionsOwner() |
String |
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
protected static ImageIcon icon
protected static final int COMMON_PANELS
public static final String SYSTEM_LIST
public ActivityEditor(Activity act)
protected void createChildren()
createChildren
in class Editor
public AutoContentProviderEditor getAutoContentProviderEditor()
public Class getEditorPanelClass()
getEditorPanelClass
in class Editor
public EditorPanel createEditorPanel(Options options)
createEditorPanel
in class Editor
public String getTitleKey()
getTitleKey
in class Editor
protected void createPanels(ActivityEditorPanel panel)
public Activity getActivity()
public JClicProjectEditor getProjectEditor()
public MediaBagEditor getMediaBagEditor()
public Options getOptions()
public ActivityBagElementEditor getActivityBagElementEditor()
public ActivityBagEditor getActivityBagEditor()
public void saveData()
public void setActionsOwner()
setActionsOwner
in class Editor
public static Icon getIcon()
public void drawPreview(Graphics2D g2, Rectangle bounds, int margin)
public static List<TripleString> getSystemActivityList(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.