net.sourceforge.toscanaj.controller.diagram
Class SqlClauseEditingLabelViewPopupMenuHandler
java.lang.Object
net.sourceforge.toscanaj.controller.diagram.SqlClauseEditingLabelViewPopupMenuHandler
- All Implemented Interfaces:
- org.tockit.events.EventBrokerListener
- public class SqlClauseEditingLabelViewPopupMenuHandler
- extends java.lang.Object
- implements org.tockit.events.EventBrokerListener
It seems that in Elba context we only have one object in underlying Concept object iterator,
which effects the way we are trying to change an Sql Clause. (SqlClauseLabelView
is constructed by splitting an object string into a number of label entries). Hence the
following assumptions.
Assumptions:
- there is always only one object in objects iterator for a corresponding Concept.
- this object is always a String.
- a Concept implementation used here is a ConceptImplementation class
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SqlClauseEditingLabelViewPopupMenuHandler
public SqlClauseEditingLabelViewPopupMenuHandler(DiagramView diagramView,
org.tockit.events.EventBroker schemaBroker)
processEvent
public void processEvent(org.tockit.events.Event e)
- Specified by:
processEvent
in interface org.tockit.events.EventBrokerListener
openPopupMenu
public void openPopupMenu(SqlClauseLabelView labelView,
java.awt.geom.Point2D canvasPosition,
java.awt.geom.Point2D screenPosition)
The ToscanaJ project