public class SimpleRoleCompetenceWidget extends SimpleBasicWidget<T>
| Modifier and Type | Class and Description |
|---|---|
protected static class |
SimpleRoleCompetenceWidget.CompInplaceEditor
Create inplace editor that changes name of competence and the action
|
PoshWidget.PropertyNodeheight, propertyNode, width| Constructor and Description |
|---|
SimpleRoleCompetenceWidget(PoshScene poshScene,
cz.cuni.amis.pogamut.sposh.elements.TriggeredAction dataNode,
PoshWidget<? extends cz.cuni.amis.pogamut.sposh.elements.PoshElement> parent,
cz.cuni.amis.pogamut.sposh.elements.Competence compNode) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addChildWidget(cz.cuni.amis.pogamut.sposh.elements.PoshElement dataNode)
Create proper widget from child data node.
|
protected List<AbstractMenuAction> |
createMenuActions()
Create actions for context menu.
|
protected PoshWidget.PropertyNode |
createPropertiesNode() |
protected org.openide.nodes.Sheet |
createSheet()
Create Node.Sheet for poroperties of this widget.
|
protected void |
deleteWidgetFromScene(cz.cuni.amis.pogamut.sposh.elements.PoshElement dataNode)
Common function for deleting widget from scene
|
void |
elementPropertyChange(PropertyChangeEvent evt)
This is a method that is supposed to handle property changes of the lap
element.
|
protected List<AbstractAcceptAction> |
getAcceptProviders()
Return list of acceptors that will do something when proper
Transferable is dropped on the widget.
|
protected PoshNodeType |
getType()
Get type of widget, in this case type of PoshElement
|
void |
regenerate()
Remove all children widgers of this widget and
recreate widget children of this widget so user will see whole
competence instead of just one widget for action.
|
addTriggeredActionWidgets, addTriggeredActionWidgets, changeTriggeredActionWidgets, getAssociatedWidget, getIndexOfElement, getPopupMenu, moveChildWidget, moveChildWidgetNode, nodeChangedcalculateClientArea, doRepaint, getChildNodes, getCommentText, getConnection, getDataNode, getHeadlineText, getParent, getPoshScene, getPropertiesNode, getRootWidget, isAncestor, isCollapsed, paintWidget, propertyChange, select, setCollapsed, setCommentText, setHeadlineText, toString, updateSourcesaddChild, addChild, addChild, addChild, addChildren, addDependency, bringToBack, bringToFront, convertLocalToScene, convertLocalToScene, convertSceneToLocal, convertSceneToLocal, createActions, equals, getAccessibleContext, getActions, getActions, getBackground, getBorder, getBounds, getChildConstraint, getChildren, getClientArea, getCursor, getCursorAt, getDependencies, getFont, getForeground, getGraphics, getLayout, getLocation, getLookup, getMaximumSize, getMinimumSize, getParentWidget, getPreferredBounds, getPreferredLocation, getPreferredSize, getResourceTable, getScene, getState, getToolTipText, hashCode, isCheckClipping, isEnabled, isHitAt, isOpaque, isPreferredBoundsSet, isRepaintRequiredForRevalidating, isValidated, isVisible, notifyAdded, notifyBackgroundChanged, notifyFontChanged, notifyForegroundChanged, notifyRemoved, notifyStateChanged, paint, paintBackground, paintBorder, paintChildren, removeChild, removeChildren, removeChildren, removeDependency, removeFromParent, repaint, resolveBounds, revalidate, revalidate, setAccessibleContext, setBackground, setBackgroundFromResource, setBorder, setBorder, setCheckClipping, setChildConstraint, setCursor, setEnabled, setFont, setFontFromResource, setForeground, setForegroundFromResource, setLayout, setMaximumSize, setMinimumSize, setOpaque, setPreferredBounds, setPreferredLocation, setPreferredSize, setResourceTable, setState, setToolTipText, setVisible, updateResourcespublic SimpleRoleCompetenceWidget(PoshScene poshScene, cz.cuni.amis.pogamut.sposh.elements.TriggeredAction dataNode, PoshWidget<? extends cz.cuni.amis.pogamut.sposh.elements.PoshElement> parent, cz.cuni.amis.pogamut.sposh.elements.Competence compNode)
protected PoshWidget.PropertyNode createPropertiesNode()
createPropertiesNode in class PoshWidget<cz.cuni.amis.pogamut.sposh.elements.TriggeredAction>public void regenerate()
protected PoshNodeType getType()
PoshWidgetgetType in class PoshWidget<cz.cuni.amis.pogamut.sposh.elements.TriggeredAction>protected List<AbstractMenuAction> createMenuActions()
SimpleBasicWidgetcreateMenuActions in class SimpleBasicWidget<cz.cuni.amis.pogamut.sposh.elements.TriggeredAction>protected void addChildWidget(cz.cuni.amis.pogamut.sposh.elements.PoshElement dataNode)
addChildWidget in class SimpleBasicWidget<cz.cuni.amis.pogamut.sposh.elements.TriggeredAction>dataNode - DataNode that was added as child
to associated data nodepublic void elementPropertyChange(PropertyChangeEvent evt)
PoshWidgetelementPropertyChange in class PoshWidget<cz.cuni.amis.pogamut.sposh.elements.TriggeredAction>evt - description of changeprotected List<AbstractAcceptAction> getAcceptProviders()
PoshWidgetgetAcceptProviders in class PoshWidget<cz.cuni.amis.pogamut.sposh.elements.TriggeredAction>protected void deleteWidgetFromScene(cz.cuni.amis.pogamut.sposh.elements.PoshElement dataNode)
SimpleBasicWidgetdeleteWidgetFromScene in class SimpleBasicWidget<cz.cuni.amis.pogamut.sposh.elements.TriggeredAction>protected org.openide.nodes.Sheet createSheet()
PoshWidgetcreateSheet in class PoshWidget<cz.cuni.amis.pogamut.sposh.elements.TriggeredAction>Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.