org.apache.cayenne.modeler.action.PasteAction.class Maven / Gradle / Ivy
???? 4/
*
?
*
* !
"#$ *%
&'
($)*
+,
*-
*./
01
2
0345
06
07
89
/
:;<
32
38
M=>?
@A
92
98
BC
=D
=E
FG
A2
A8
HI
E2
E8
3JK
IL>M>NO
IP
9Q
9R
9S
9T
9JU
TL
TP
V
*W
X
YZ
[
\]
^
_`
Ea
b
cd
e
fgh
d2
d8
3i
jk
I2
I8
3l
mno
m2
m8
9p
jq
T2
T8
9l
mrs
0t
v2
v8
9u
v
wx
yz
{|}~
??
?2
?8
=?
j??
?2
?8
A?
??
??
??
*?
*? ??
*??? COPY_PATTERN Ljava/lang/String;
ConstantValue +(Lorg/apache/cayenne/modeler/Application;)V Code LineNumberTable LocalVariableTable this /Lorg/apache/cayenne/modeler/action/PasteAction; application (Lorg/apache/cayenne/modeler/Application;
getActionName ()Ljava/lang/String; getIconName getAcceleratorKey ()Ljavax/swing/KeyStroke;
performAction (Ljava/awt/event/ActionEvent;)V o Ljava/lang/Object; undoableEdit Ljavax/swing/undo/UndoableEdit; domain 8Lorg/apache/cayenne/configuration/DataChannelDescriptor; map Lorg/apache/cayenne/map/DataMap; content
currentObject ex Ljava/lang/Exception; e Ljava/awt/event/ActionEvent;
StackMapTable?4???)* paste '(Ljava/lang/Object;Ljava/lang/Object;)V where (Ljava/lang/Object;Ljava/lang/Object;Lorg/apache/cayenne/configuration/DataChannelDescriptor;Lorg/apache/cayenne/map/DataMap;)V oldName dbEntity !Lorg/apache/cayenne/map/DbEntity; objEntity "Lorg/apache/cayenne/map/ObjEntity;
embeddable #Lorg/apache/cayenne/map/Embeddable; procedure "Lorg/apache/cayenne/map/Procedure; query (Lorg/apache/cayenne/map/QueryDescriptor; rel 'Lorg/apache/cayenne/map/DbRelationship; (Lorg/apache/cayenne/map/ObjRelationship; dataMap renamedDbEntities Ljava/util/Map; renamedObjEntities renamedEmbeddables attr $Lorg/apache/cayenne/map/DbAttribute; %Lorg/apache/cayenne/map/ObjAttribute; method 5Lorg/apache/cayenne/modeler/editor/ObjCallbackMethod; ce 6Lorg/apache/cayenne/modeler/event/CallbackMethodEvent; ,Lorg/apache/cayenne/map/EmbeddableAttribute; param +Lorg/apache/cayenne/map/ProcedureParameter; dataChannelDescriptor mediator .Lorg/apache/cayenne/modeler/ProjectController; LocalVariableTypeTable 5Ljava/util/Map;??<A clearDataMapCache #(Lorg/apache/cayenne/map/DataMap;)V ns )Lorg/apache/cayenne/map/MappingNamespace;?
enableForPath 7(Lorg/apache/cayenne/configuration/ConfigurationNode;)Z object 4Lorg/apache/cayenne/configuration/ConfigurationNode; updateState ()V getState ()Z
isTreeLeaf (Ljava/lang/Object;)Z flavorsChanged &(Ljava/awt/datatransfer/FlavorEvent;)V #Ljava/awt/datatransfer/FlavorEvent;
SourceFile PasteAction.java ? ? ?????????? Paste icon-paste.png java/awt/event/KeyEvent??????????????? org/apache/cayenne/map/DataMap????? 6org/apache/cayenne/configuration/DataChannelDescriptor?? java/util/List 9org/apache/cayenne/modeler/undo/PasteCompoundUndoableEdit ? ????? ??? ? ? 1org/apache/cayenne/modeler/undo/PasteUndoableEdit ????? ? ????? 0java/awt/datatransfer/UnsupportedFlavorException java/lang/Exception??? ? ? ? ? 3org/apache/cayenne/configuration/DataNodeDescriptor???? ??? -org/apache/cayenne/modeler/action/PasteAction copy of %s (%d)??? ??? java/util/HashMap??? org/apache/cayenne/map/DbEntity? ?????? org/apache/cayenne/map/ObjEntity?? !org/apache/cayenne/map/Embeddable? ????? org/apache/cayenne/map/Procedure?? &org/apache/cayenne/map/QueryDescriptor?? %org/apache/cayenne/map/DbRelationship? ?? ??? java/lang/String??? ???? ??? &org/apache/cayenne/map/ObjRelationship?? ? ????????????????? ?????????? "org/apache/cayenne/map/DbAttribute
#org/apache/cayenne/map/ObjAttribute
3org/apache/cayenne/modeler/editor/ObjCallbackMethod? 4org/apache/cayenne/modeler/event/CallbackMethodEvent %org/apache/cayenne/map/event/MapEvent ? *org/apache/cayenne/map/EmbeddableAttribute!"# )org/apache/cayenne/map/ProcedureParameter$%&'()* %org/apache/cayenne/map/EntityResolver+ ? ? ?,-?. org/apache/cayenne/query/Query ? ? -org/apache/cayenne/modeler/util/CayenneAction $java/awt/datatransfer/FlavorListener java/lang/Object java/awt/event/ActionEvent javax/swing/undo/UndoableEdit java/util/Iterator ,org/apache/cayenne/modeler/ProjectController
java/util/Map 'org/apache/cayenne/map/MappingNamespace =(Ljava/lang/String;Lorg/apache/cayenne/modeler/Application;)V java/awt/Toolkit getDefaultToolkit ()Ljava/awt/Toolkit; getSystemClipboard #()Ljava/awt/datatransfer/Clipboard; java/awt/datatransfer/Clipboard addFlavorListener )(Ljava/awt/datatransfer/FlavorListener;)V getMenuShortcutKeyMask ()I javax/swing/KeyStroke getKeyStroke (II)Ljavax/swing/KeyStroke; 3org/apache/cayenne/modeler/util/CayenneTransferable CAYENNE_FLAVOR "Ljava/awt/datatransfer/DataFlavor; getData 6(Ljava/awt/datatransfer/DataFlavor;)Ljava/lang/Object; getProjectController 0()Lorg/apache/cayenne/modeler/ProjectController; getCurrentObject ()Ljava/lang/Object;
getProject &()Lorg/apache/cayenne/project/Project; "org/apache/cayenne/project/Project getRootNode 6()Lorg/apache/cayenne/configuration/ConfigurationNode; getCurrentDataMap "()Lorg/apache/cayenne/map/DataMap; iterator ()Ljava/util/Iterator; hasNext next (Lorg/apache/cayenne/configuration/DataChannelDescriptor;Lorg/apache/cayenne/map/DataMap;Ljava/lang/Object;Ljava/lang/Object;)V addEdit "(Ljavax/swing/undo/UndoableEdit;)Z &org/apache/cayenne/modeler/Application getUndoManager 6()Lorg/apache/cayenne/modeler/undo/CayenneUndoManager; 2org/apache/cayenne/modeler/undo/CayenneUndoManager 2org/apache/cayenne/modeler/dialog/ErrorDebugDialog guiException (Ljava/lang/Throwable;)V ,org/apache/cayenne/dbsync/naming/NameBuilder builder ?(Lorg/apache/cayenne/configuration/ConfigurationNode;Lorg/apache/cayenne/configuration/ConfigurationNode;)Lorg/apache/cayenne/dbsync/naming/NameBuilder; getName baseName B(Ljava/lang/String;)Lorg/apache/cayenne/dbsync/naming/NameBuilder; dupesPattern name setName (Ljava/lang/String;)V
getDbEntities ()Ljava/util/Collection; java/util/Collection equals put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; getObjEntities getEmbeddables getClassName setClassName
getProcedures getQueryDescriptors getRelationships getTargetEntityName containsKey get &(Ljava/lang/Object;)Ljava/lang/Object; setTargetEntityName getDbEntityName setDbEntityName getSuperEntityName setSuperEntityName
addDataMap 5(Ljava/lang/Object;Lorg/apache/cayenne/map/DataMap;)V addDbEntity $(Lorg/apache/cayenne/map/DbEntity;)V 6org/apache/cayenne/modeler/action/CreateDbEntityAction fireDbEntityEvent d(Ljava/lang/Object;Lorg/apache/cayenne/modeler/ProjectController;Lorg/apache/cayenne/map/DbEntity;)V addObjEntity %(Lorg/apache/cayenne/map/ObjEntity;)V 7org/apache/cayenne/modeler/action/CreateObjEntityAction fireObjEntityEvent ?(Ljava/lang/Object;Lorg/apache/cayenne/modeler/ProjectController;Lorg/apache/cayenne/map/DataMap;Lorg/apache/cayenne/map/ObjEntity;)V
addEmbeddable &(Lorg/apache/cayenne/map/Embeddable;)V 8org/apache/cayenne/modeler/action/CreateEmbeddableAction fireEmbeddableEvent ?(Ljava/lang/Object;Lorg/apache/cayenne/modeler/ProjectController;Lorg/apache/cayenne/map/DataMap;Lorg/apache/cayenne/map/Embeddable;)V
setDataMap addQueryDescriptor +(Lorg/apache/cayenne/map/QueryDescriptor;)V 1org/apache/cayenne/modeler/dialog/query/QueryType fireQueryEvent ?(Ljava/lang/Object;Lorg/apache/cayenne/modeler/ProjectController;Lorg/apache/cayenne/map/DataMap;Lorg/apache/cayenne/map/QueryDescriptor;)V addProcedure %(Lorg/apache/cayenne/map/Procedure;)V 7org/apache/cayenne/modeler/action/CreateProcedureAction fireProcedureEvent ?(Ljava/lang/Object;Lorg/apache/cayenne/modeler/ProjectController;Lorg/apache/cayenne/map/DataMap;Lorg/apache/cayenne/map/Procedure;)V addAttribute '(Lorg/apache/cayenne/map/DbAttribute;)V 7org/apache/cayenne/modeler/action/CreateAttributeAction fireDbAttributeEvent ?(Ljava/lang/Object;Lorg/apache/cayenne/modeler/ProjectController;Lorg/apache/cayenne/map/DataMap;Lorg/apache/cayenne/map/DbEntity;Lorg/apache/cayenne/map/DbAttribute;)V addRelationship ((Lorg/apache/cayenne/map/Relationship;)V :org/apache/cayenne/modeler/action/CreateRelationshipAction fireDbRelationshipEvent ?(Ljava/lang/Object;Lorg/apache/cayenne/modeler/ProjectController;Lorg/apache/cayenne/map/DbEntity;Lorg/apache/cayenne/map/DbRelationship;)V %(Lorg/apache/cayenne/map/Attribute;)V fireObjAttributeEvent ?(Ljava/lang/Object;Lorg/apache/cayenne/modeler/ProjectController;Lorg/apache/cayenne/map/DataMap;Lorg/apache/cayenne/map/ObjEntity;Lorg/apache/cayenne/map/ObjAttribute;)V fireObjRelationshipEvent ?(Ljava/lang/Object;Lorg/apache/cayenne/modeler/ProjectController;Lorg/apache/cayenne/map/ObjEntity;Lorg/apache/cayenne/map/ObjRelationship;)V builderForCallbackMethod R(Lorg/apache/cayenne/map/ObjEntity;)Lorg/apache/cayenne/dbsync/naming/NameBuilder; getCallbackMap &()Lorg/apache/cayenne/map/CallbackMap; getCurrentCallbackType 2()Lorg/apache/cayenne/modeler/editor/CallbackType; .org/apache/cayenne/modeler/editor/CallbackType getType )()Lorg/apache/cayenne/map/LifecycleEvent; "org/apache/cayenne/map/CallbackMap getCallbackDescriptor T(Lorg/apache/cayenne/map/LifecycleEvent;)Lorg/apache/cayenne/map/CallbackDescriptor; )org/apache/cayenne/map/CallbackDescriptor addCallbackMethod :(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;I)V fireCallbackMethodEvent 9(Lorg/apache/cayenne/modeler/event/CallbackMethodEvent;)V /(Lorg/apache/cayenne/map/EmbeddableAttribute;)V fireEmbeddableAttributeEvent ?(Ljava/lang/Object;Lorg/apache/cayenne/modeler/ProjectController;Lorg/apache/cayenne/map/Embeddable;Lorg/apache/cayenne/map/EmbeddableAttribute;)V addCallParameter .(Lorg/apache/cayenne/map/ProcedureParameter;)V @org/apache/cayenne/modeler/action/CreateProcedureParameterAction fireProcedureParameterEvent ?(Ljava/lang/Object;Lorg/apache/cayenne/modeler/ProjectController;Lorg/apache/cayenne/map/Procedure;Lorg/apache/cayenne/map/ProcedureParameter;)V getNamespace +()Lorg/apache/cayenne/map/MappingNamespace; refreshMappingCache
setEnabled (Z)V (I)Ljava/lang/Object; ! * ? ? ? ? ? +
? ? ? O *? +? ? ? *? ? ? K O P ? ? ? ? ? ? ? ? ? ? S ? ? ? - ? ? X ? ? ? ? ? ? B V? ? ?
? ? ] ^ _ ] ? ? ? ? ? ? Ǹ ? ? ? M*?
? N,? ? *?
? ? N,? ?-? ?*?
? ? ? :*?
? :,? ? M? Y? :,? ? :? ? ,? :*-? ? Y-? ? W??Ч *-,? ? Y-,? :*? ? ? W? M? M,? #? ? ? ! ? ? " ? b h
k m n ' q / r 3 s 6 t > u G x N y W { u | | } ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? f
u ? ? W A ? ? > | ? ? G s ? ? ?
? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? L ? ' ? ?? : ? ? ? ? ? ? ? ? ? 2? ? ?? ? ? B ?C ? ? ? ? i *+,*?
? ? ? *?
? ? $? ? ? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ?*?
:*+? %? *,? %? ? L+? ?
+? &?,? ?,? :-? '? (? )+? ,? -? .? /Y? 0:? /Y? 0:? /Y? 0: ? 1? 2 :
? ? Q
? ? 3:? 4:? '? 4? )+? ,? -? 5? 4? 6? ? 4? 7 W???? 8? 2 :
? ? Q
? ? 9:? ::? '? :? )+? ,? -? ;? :? 6? ? :? 7 W????