
org.apache.cayenne.modeler.util.DbRelationshipPathComboBoxEditor.class Maven / Gradle / Ivy
???? 4@
K ?
~ ? ? ? ? ?
? ? ? ?
?
? ?
? ? ? ? ?
? ?
? ?
? ? ?
?
K ?
?
? ?
? ? ? ?
? ?
? ?
?
?
? ?
? ?
~ ? ? ?
% ?
E ?
? ? ? ? ? ? ? ? ?
? ?
?
? ?
? ?
~ ?
K ?
K ?
? ?
. ? ?
8 ? ?
: ?
8 ?
? ? ?
? ?
? ?
? ?
? ?
? ?
? ? ? ? ?
I ? ? ? REL_TARGET_PATH_COLUMN I
ConstantValue enterPressedCount table Ljavax/swing/JTable; savePath Ljava/lang/String; model =Lorg/apache/cayenne/modeler/editor/ObjRelationshipTableModel; ()V Code LineNumberTable LocalVariableTable this BLorg/apache/cayenne/modeler/util/DbRelationshipPathComboBoxEditor; getTableCellEditorComponent ?(Ljavax/swing/JTable;Ljava/lang/Object;ZII)Ljava/awt/Component; value Ljava/lang/Object;
isSelected Z row column dbRelationshipPath
StackMapTable getCellEditorValue ()Ljava/lang/Object; initializeCombo K(Lorg/apache/cayenne/modeler/util/CayenneTableModel;ILjavax/swing/JTable;)V 3Lorg/apache/cayenne/modeler/util/CayenneTableModel;
textEditor !Ljavax/swing/text/JTextComponent; enterPressed (Ljavax/swing/JTable;)V objEntities Ljava/util/Collection; objectTarget "Lorg/apache/cayenne/map/ObjEntity;
lastEntity !Lorg/apache/cayenne/map/DbEntity; currentNode pathStrings [Ljava/lang/String; lastStringInPath LocalVariableTypeTable :Ljava/util/Collection; ? ? ? z ? processDotEntered parsePathString (C)V lastEnteredCharacter C createTreeModelForComboBox 4(I)Lorg/apache/cayenne/modeler/util/EntityTreeModel; relationshipIndexInTable treeModel 1Lorg/apache/cayenne/modeler/util/EntityTreeModel; getCurrentNodeToInitializeCombo H(Lorg/apache/cayenne/modeler/util/CayenneTableModel;I)Ljava/lang/Object; getPathToInitializeCombo H(Lorg/apache/cayenne/modeler/util/CayenneTableModel;I)Ljava/lang/String;
pathString changeObjEntity (Ljava/lang/String;)Z path focusGained (Ljava/awt/event/FocusEvent;)V
focusEvent Ljava/awt/event/FocusEvent; focusLost
SourceFile %DbRelationshipPathComboBoxEditor.java X Y ? ? ;org/apache/cayenne/modeler/editor/ObjRelationshipTableModel V W e N R S ? ? ? ? javax/swing/JLabel -You should select table for this ObjectEntity X ? k l ? ? ? ? ? ? ? ? javax/swing/text/JTextComponent ? ? . N @org/apache/cayenne/modeler/util/DbRelationshipPathComboBoxEditor
?
Q N STo choose relationship press enter two times.To choose next relationship press dot. ? T U ? ? %org/apache/cayenne/map/DbRelationship !"#$%&'( j org/apache/cayenne/map/ObjEntity)*+,- ?. ?/ Y ? Y ? ?012 /org/apache/cayenne/modeler/util/EntityTreeModel X*