cz.cuni.pogamut.posh.widget.accept
Class AcceptSense2CE

Package class diagram package AcceptSense2CE
java.lang.Object
  extended by cz.cuni.pogamut.posh.widget.accept.AbstractAcceptAction<cz.cuni.amis.pogamut.sposh.elements.Sense,cz.cuni.amis.pogamut.sposh.elements.CompetenceElement>
      extended by cz.cuni.pogamut.posh.widget.accept.AcceptSense2CE
All Implemented Interfaces:
org.netbeans.api.visual.action.AcceptProvider

public class AcceptSense2CE
extends AbstractAcceptAction<cz.cuni.amis.pogamut.sposh.elements.Sense,cz.cuni.amis.pogamut.sposh.elements.CompetenceElement>

Class for accepting dropped Sense to the SimpleCompetenceElementWidget. Creates a new CE in CPE with action doNothing and is triggered with passed sense.

Author:
Honza

Field Summary
 
Fields inherited from class cz.cuni.pogamut.posh.widget.accept.AbstractAcceptAction
dataFlavor, dataNode, log, widget
 
Constructor Summary
AcceptSense2CE(cz.cuni.amis.pogamut.sposh.elements.CompetenceElement dataNode)
           
 
Method Summary
protected  void performAction(cz.cuni.amis.pogamut.sposh.elements.Sense sense)
          When deriving from this widget, implement what should actually be done in this function.
 
Methods inherited from class cz.cuni.pogamut.posh.widget.accept.AbstractAcceptAction
accept, displayMessage, getDataFlavor, getIndexInList, isAcceptable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AcceptSense2CE

public AcceptSense2CE(cz.cuni.amis.pogamut.sposh.elements.CompetenceElement dataNode)
Method Detail

performAction

protected void performAction(cz.cuni.amis.pogamut.sposh.elements.Sense sense)
Description copied from class: AbstractAcceptAction
When deriving from this widget, implement what should actually be done in this function.

Specified by:
performAction in class AbstractAcceptAction<cz.cuni.amis.pogamut.sposh.elements.Sense,cz.cuni.amis.pogamut.sposh.elements.CompetenceElement>
Parameters:
sense - Object that was stored in the Transferable, basically object that was dropped.


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.