org.apache.cayenne.modeler.action.RemoveAction.class Maven / Gradle / Ivy
???? 4?}
?~
???
??
??
???
?
??
??
??
???
??
? ??
???
??
?
??
??
???
??
?
??
??`
??
?
??
??
??
?
??
??
??
?
???
??
??
?
??
?
???
??
?
??
???
?
???
<?
??
??
??
??
??
??
??
??
??
??
??
??
??
??
??
??
??
??
???
???
Q?
???
????
Y?
???
\?
??
??
??
Y?
???
c?
??
??
Y?
??
???
???
???
n?
??
???
r??
???
??
??
r?
??
???
???
??
??
???
??
???
??
??
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?!
?"#
?$
?
?%
?&
?'
?()
?*
?+
?,-
?.
?/
?01
234
?5
?
?6
?7
?89:;<=>?@A
?BC
?B
?B
?B
?BDE
getActionName ()Ljava/lang/String; Code LineNumberTable +(Lorg/apache/cayenne/modeler/Application;)V LocalVariableTable this 0Lorg/apache/cayenne/modeler/action/RemoveAction; application (Lorg/apache/cayenne/modeler/Application; =(Ljava/lang/String;Lorg/apache/cayenne/modeler/Application;)V
actionName Ljava/lang/String; getIconName getAcceleratorKey ()Ljavax/swing/KeyStroke; getConfirmDeleteDialog :(Z)Lorg/apache/cayenne/modeler/dialog/ConfirmRemoveDialog; allowAsking Z
performAction (Ljava/awt/event/ActionEvent;)V e Ljava/awt/event/ActionEvent; (Ljava/awt/event/ActionEvent;Z)V path 4Lorg/apache/cayenne/configuration/ConfigurationNode; paths 5[Lorg/apache/cayenne/configuration/ConfigurationNode;
parentPath compoundEdit Ljavax/swing/undo/CompoundEdit; mediator .Lorg/apache/cayenne/modeler/ProjectController; dialog 7Lorg/apache/cayenne/modeler/dialog/ConfirmRemoveDialog;
StackMapTableF?DG ?HI removeProcedureParameters Q(Lorg/apache/cayenne/map/Procedure;[Lorg/apache/cayenne/map/ProcedureParameter;)V @Lorg/apache/cayenne/configuration/event/ProcedureParameterEvent; parameter +Lorg/apache/cayenne/map/ProcedureParameter; procedure "Lorg/apache/cayenne/map/Procedure;
parameters ,[Lorg/apache/cayenne/map/ProcedureParameter;= removeEmbAttributes ?(Lorg/apache/cayenne/modeler/ProjectController;Lorg/apache/cayenne/modeler/dialog/ConfirmRemoveDialog;[Lorg/apache/cayenne/map/EmbeddableAttribute;)V 7Lorg/apache/cayenne/map/event/EmbeddableAttributeEvent; attrib ,Lorg/apache/cayenne/map/EmbeddableAttribute;
embeddable #Lorg/apache/cayenne/map/Embeddable; embAttrs -[Lorg/apache/cayenne/map/EmbeddableAttribute;? removeObjAttributes ?(Lorg/apache/cayenne/modeler/ProjectController;Lorg/apache/cayenne/modeler/dialog/ConfirmRemoveDialog;[Lorg/apache/cayenne/map/ObjAttribute;)V -Lorg/apache/cayenne/map/event/AttributeEvent; %Lorg/apache/cayenne/map/ObjAttribute; entity "Lorg/apache/cayenne/map/ObjEntity; objAttrs &[Lorg/apache/cayenne/map/ObjAttribute;C removeDbAttributes ?(Lorg/apache/cayenne/modeler/ProjectController;Lorg/apache/cayenne/modeler/dialog/ConfirmRemoveDialog;[Lorg/apache/cayenne/map/DbAttribute;)V $Lorg/apache/cayenne/map/DbAttribute; !Lorg/apache/cayenne/map/DbEntity; dbAttrs %[Lorg/apache/cayenne/map/DbAttribute;%A removeDBRelationships ?(Lorg/apache/cayenne/modeler/ProjectController;Lorg/apache/cayenne/modeler/dialog/ConfirmRemoveDialog;[Lorg/apache/cayenne/map/DbRelationship;)V 0Lorg/apache/cayenne/map/event/RelationshipEvent; rel 'Lorg/apache/cayenne/map/DbRelationship; dbRels ([Lorg/apache/cayenne/map/DbRelationship;. removeObjRelationships ?(Lorg/apache/cayenne/modeler/ProjectController;Lorg/apache/cayenne/modeler/dialog/ConfirmRemoveDialog;[Lorg/apache/cayenne/map/ObjRelationship;)V (Lorg/apache/cayenne/map/ObjRelationship; rels )[Lorg/apache/cayenne/map/ObjRelationship;4
removeMethods ?(Lorg/apache/cayenne/modeler/ProjectController;Lorg/apache/cayenne/modeler/dialog/ConfirmRemoveDialog;[Lorg/apache/cayenne/modeler/editor/ObjCallbackMethod;)V ce 6Lorg/apache/cayenne/modeler/event/CallbackMethodEvent; callbackMethod 5Lorg/apache/cayenne/modeler/editor/ObjCallbackMethod; methods 6[Lorg/apache/cayenne/modeler/editor/ObjCallbackMethod; callbackMap $Lorg/apache/cayenne/map/CallbackMap; callbackType 0Lorg/apache/cayenne/modeler/editor/CallbackType;JK=
removeDataMap #(Lorg/apache/cayenne/map/DataMap;)V mapURL Ljava/net/URL; unusedResources Ljava/util/Collection; node 5Lorg/apache/cayenne/configuration/DataNodeDescriptor; map Lorg/apache/cayenne/map/DataMap; domain 8Lorg/apache/cayenne/configuration/DataChannelDescriptor; 5Lorg/apache/cayenne/configuration/event/DataMapEvent; LocalVariableTypeTable &Ljava/util/Collection;L removeDataNode 8(Lorg/apache/cayenne/configuration/DataNodeDescriptor;)V 6Lorg/apache/cayenne/configuration/event/DataNodeEvent; removeDbEntity D(Lorg/apache/cayenne/map/DataMap;Lorg/apache/cayenne/map/DbEntity;)V ent *Lorg/apache/cayenne/map/event/EntityEvent; removeQuery K(Lorg/apache/cayenne/map/DataMap;Lorg/apache/cayenne/map/QueryDescriptor;)V query (Lorg/apache/cayenne/map/QueryDescriptor; 3Lorg/apache/cayenne/configuration/event/QueryEvent; removeProcedure E(Lorg/apache/cayenne/map/DataMap;Lorg/apache/cayenne/map/Procedure;)V 7Lorg/apache/cayenne/configuration/event/ProcedureEvent; removeObjEntity E(Lorg/apache/cayenne/map/DataMap;Lorg/apache/cayenne/map/ObjEntity;)V root Ljava/lang/Object;,M removeEmbeddable F(Lorg/apache/cayenne/map/DataMap;Lorg/apache/cayenne/map/Embeddable;)V .Lorg/apache/cayenne/map/event/EmbeddableEvent; removeDataMapFromDataNode X(Lorg/apache/cayenne/configuration/DataNodeDescriptor;Lorg/apache/cayenne/map/DataMap;)V
enableForPath 7(Lorg/apache/cayenne/configuration/ConfigurationNode;)Z object removeLastPathComponent ?(Lorg/apache/cayenne/configuration/ConfigurationNode;Lorg/apache/cayenne/configuration/ConfigurationNode;)Ljavax/swing/undo/UndoableEdit; parentObject undo Ljavax/swing/undo/UndoableEdit;N
SourceFile RemoveAction.java Remove ? ? ? ? icon-trash.png java/awt/event/KeyEventOPQRSTUV 5org/apache/cayenne/modeler/dialog/ConfirmRemoveDialog ?W ? ?XY ? ?FZ[ ObjEntity\ ?]^ ? ?_`a 2org/apache/cayenne/modeler/undo/RemoveUndoableEditbc ?gdeffggh DbEntity ?[Z[ij ?_^_kl ?dcdmno ? ?nmn data mappq ?rpq ?sEF data node ?tWXuv selected objects]wxy :org/apache/cayenne/modeler/undo/RemoveCompoundUndoableEdit ?zuvI{z|}67~01??()?????? !?? ?? >org/apache/cayenne/configuration/event/ProcedureParameterEvent?? %org/apache/cayenne/map/event/MapEvent ???? DbAttribute selected DbAttributes ;org/apache/cayenne/modeler/undo/RemoveAttributeUndoableEdit ???? 5org/apache/cayenne/map/event/EmbeddableAttributeEvent ??????F? ?? +org/apache/cayenne/map/event/AttributeEvent ????? ???? DbRelationship? selected DbRelationships?? .org/apache/cayenne/map/event/RelationshipEvent ?????? >org/apache/cayenne/modeler/undo/RemoveRelationshipUndoableEdit ?? ObjRelationship? selected ObjRelationships?? ?????? callback method? selected callback methodsK??J????? 4org/apache/cayenne/modeler/event/CallbackMethodEvent ???? @org/apache/cayenne/modeler/undo/RemoveCallbackMethodUndoableEdit ??????y 6org/apache/cayenne/configuration/DataChannelDescriptor 3org/apache/cayenne/configuration/event/DataMapEvent ????????????????????????L???? 3org/apache/cayenne/configuration/DataNodeDescriptor?????? 4org/apache/cayenne/configuration/event/DataNodeEvent ???? (org/apache/cayenne/map/event/EntityEvent ??Z??? 1org/apache/cayenne/configuration/event/QueryEvent ?????? 5org/apache/cayenne/configuration/event/ProcedureEvent ??c???f??? java/util/ArrayList?? ?? &org/apache/cayenne/map/QueryDescriptor
EJBQLQuery? ????? java/lang/StringM? ? ,org/apache/cayenne/map/event/EmbeddableEvent ??m??? ?? org/apache/cayenne/map/DataMap org/apache/cayenne/map/Entity org/apache/cayenne/map/Attribute #org/apache/cayenne/map/Relationship org/apache/cayenne/map/Procedure )org/apache/cayenne/map/ProcedureParameter !org/apache/cayenne/map/Embeddable *org/apache/cayenne/map/EmbeddableAttribute org/apache/cayenne/map/DbEntity?c org/apache/cayenne/map/ObjEntity .org/apache/cayenne/modeler/action/RemoveAction -org/apache/cayenne/modeler/util/CayenneAction ,org/apache/cayenne/modeler/ProjectController java/awt/event/ActionEvent 2org/apache/cayenne/configuration/ConfigurationNode javax/swing/undo/CompoundEdit "org/apache/cayenne/map/CallbackMap .org/apache/cayenne/modeler/editor/CallbackType java/util/Iterator java/lang/Object javax/swing/undo/UndoableEdit java/awt/Toolkit getDefaultToolkit ()Ljava/awt/Toolkit; getMenuShortcutKeyMask ()I javax/swing/KeyStroke getKeyStroke (II)Ljavax/swing/KeyStroke; (Z)V getProjectController 0()Lorg/apache/cayenne/modeler/ProjectController; getCurrentObjEntity $()Lorg/apache/cayenne/map/ObjEntity; getName shouldDelete '(Ljava/lang/String;Ljava/lang/String;)Z &org/apache/cayenne/modeler/Application getUndoManager 6()Lorg/apache/cayenne/modeler/undo/CayenneUndoManager; getCurrentDataMap "()Lorg/apache/cayenne/map/DataMap; 2org/apache/cayenne/modeler/undo/CayenneUndoManager addEdit "(Ljavax/swing/undo/UndoableEdit;)Z getCurrentDbEntity #()Lorg/apache/cayenne/map/DbEntity; getCurrentQuery *()Lorg/apache/cayenne/map/QueryDescriptor; getCurrentProcedure $()Lorg/apache/cayenne/map/Procedure; getCurrentEmbeddable %()Lorg/apache/cayenne/map/Embeddable; getClassName getCurrentDataNode 7()Lorg/apache/cayenne/configuration/DataNodeDescriptor; ?(Lorg/apache/cayenne/modeler/Application;Lorg/apache/cayenne/configuration/DataNodeDescriptor;Lorg/apache/cayenne/map/DataMap;)V K(Lorg/apache/cayenne/modeler/Application;Lorg/apache/cayenne/map/DataMap;)V `(Lorg/apache/cayenne/modeler/Application;Lorg/apache/cayenne/configuration/DataNodeDescriptor;)V getCurrentPaths 7()[Lorg/apache/cayenne/configuration/ConfigurationNode; (Ljava/lang/String;)Z getCurrentParentPath 6()Lorg/apache/cayenne/configuration/ConfigurationNode; ()V end getCurrentCallbackMethods 8()[Lorg/apache/cayenne/modeler/editor/ObjCallbackMethod; getCurrentObjRelationships +()[Lorg/apache/cayenne/map/ObjRelationship; getCurrentDbRelationships *()[Lorg/apache/cayenne/map/DbRelationship; getCurrentObjAttributes (()[Lorg/apache/cayenne/map/ObjAttribute; getCurrentEmbAttributes /()[Lorg/apache/cayenne/map/EmbeddableAttribute; getCurrentDbAttributes '()[Lorg/apache/cayenne/map/DbAttribute; getCurrentProcedureParameters .()[Lorg/apache/cayenne/map/ProcedureParameter; removeCallParameter (Ljava/lang/String;)V getFrame 2()Lorg/apache/cayenne/modeler/CayenneModelerFrame; A(Ljava/lang/Object;Lorg/apache/cayenne/map/ProcedureParameter;I)V fireProcedureParameterEvent C(Lorg/apache/cayenne/configuration/event/ProcedureParameterEvent;)V S(Lorg/apache/cayenne/map/Embeddable;[Lorg/apache/cayenne/map/EmbeddableAttribute;)V removeAttribute e(Ljava/lang/Object;Lorg/apache/cayenne/map/EmbeddableAttribute;Lorg/apache/cayenne/map/Embeddable;I)V fireEmbeddableAttributeEvent :(Lorg/apache/cayenne/map/event/EmbeddableAttributeEvent;)V +org/apache/cayenne/modeler/util/ProjectUtil cleanObjMappings #org/apache/cayenne/map/ObjAttribute K(Lorg/apache/cayenne/map/ObjEntity;[Lorg/apache/cayenne/map/ObjAttribute;)V W(Ljava/lang/Object;Lorg/apache/cayenne/map/Attribute;Lorg/apache/cayenne/map/Entity;I)V fireObjAttributeEvent 0(Lorg/apache/cayenne/map/event/AttributeEvent;)V "org/apache/cayenne/map/DbAttribute I(Lorg/apache/cayenne/map/DbEntity;[Lorg/apache/cayenne/map/DbAttribute;)V fireDbAttributeEvent %org/apache/cayenne/map/DbRelationship removeRelationship Z(Ljava/lang/Object;Lorg/apache/cayenne/map/Relationship;Lorg/apache/cayenne/map/Entity;I)V fireDbRelationshipEvent 3(Lorg/apache/cayenne/map/event/RelationshipEvent;)V getInstance *()Lorg/apache/cayenne/modeler/Application; L(Lorg/apache/cayenne/map/DbEntity;[Lorg/apache/cayenne/map/DbRelationship;)V &org/apache/cayenne/map/ObjRelationship fireObjRelationshipEvent N(Lorg/apache/cayenne/map/ObjEntity;[Lorg/apache/cayenne/map/ObjRelationship;)V getCallbackMap &()Lorg/apache/cayenne/map/CallbackMap; getCurrentCallbackType 2()Lorg/apache/cayenne/modeler/editor/CallbackType; 3org/apache/cayenne/modeler/editor/ObjCallbackMethod getType )()Lorg/apache/cayenne/map/LifecycleEvent; getCallbackDescriptor T(Lorg/apache/cayenne/map/LifecycleEvent;)Lorg/apache/cayenne/map/CallbackDescriptor; )org/apache/cayenne/map/CallbackDescriptor removeCallbackMethod :(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;I)V fireCallbackMethodEvent 9(Lorg/apache/cayenne/modeler/event/CallbackMethodEvent;)V i(Lorg/apache/cayenne/modeler/editor/CallbackType;[Lorg/apache/cayenne/modeler/editor/ObjCallbackMethod;)V
getProject &()Lorg/apache/cayenne/project/Project; "org/apache/cayenne/project/Project getRootNode 6(Ljava/lang/Object;Lorg/apache/cayenne/map/DataMap;I)V setDomain ;(Lorg/apache/cayenne/configuration/DataChannelDescriptor;)V getDataMaps ()Ljava/util/Collection; java/util/Collection remove (Ljava/lang/Object;)Z getConfigurationSource (()Lorg/apache/cayenne/resource/Resource; $org/apache/cayenne/resource/Resource getURL ()Ljava/net/URL; getCurrentProject getUnusedResources add getNodeDescriptors iterator ()Ljava/util/Iterator; hasNext ()Z next ()Ljava/lang/Object; getDataMapNames contains fireDataMapEvent 8(Lorg/apache/cayenne/configuration/event/DataMapEvent;)V K(Ljava/lang/Object;Lorg/apache/cayenne/configuration/DataNodeDescriptor;I)V fireDataNodeEvent 9(Lorg/apache/cayenne/configuration/event/DataNodeEvent;)V 5(Ljava/lang/Object;Lorg/apache/cayenne/map/Entity;I)V (Ljava/lang/String;Z)V fireDbEntityEvent -(Lorg/apache/cayenne/map/event/EntityEvent;)V ^(Ljava/lang/Object;Lorg/apache/cayenne/map/QueryDescriptor;ILorg/apache/cayenne/map/DataMap;)V removeQueryDescriptor fireQueryEvent 6(Lorg/apache/cayenne/configuration/event/QueryEvent;)V 8(Ljava/lang/Object;Lorg/apache/cayenne/map/Procedure;I)V fireProcedureEvent :(Lorg/apache/cayenne/configuration/event/ProcedureEvent;)V fireObjEntityEvent getQueryDescriptors (Ljava/util/Collection;)V equals getRoot toString 9(Ljava/lang/Object;Lorg/apache/cayenne/map/Embeddable;I)V fireEmbeddableEvent Q(Lorg/apache/cayenne/map/event/EmbeddableEvent;Lorg/apache/cayenne/map/DataMap;)V J(Ljava/lang/Object;Lorg/apache/cayenne/configuration/DataNodeDescriptor;)V
getDataMap ! ? ? ? ? ? ? ? U ? ? ? A *? +? ? ?
Y Z ? ? ? ? ? ? ? ? I *+,? ? ?
] ^ ? ? ? ? ? ? ? ? ? ? - ? ? b ? ? ? ? ? ? 6 D? ? ? ? ? g ? ? ? ? ? ? = ? Y?
? ? p ? ? ? ? ? ? ? ? ? *+? ? ?
u v ? ? ? ? ? ? ? ? ? *? N*?
:-? ? =-? ? ? ??*? ? ? Y-? -? ? ? W*-? -? ? ??-? ? =-? ? ? ??*? ? ? Y-? -? ? ? W*-? -? ? ??-? ? =-? ? ? ?o*? ? ? Y-? -? ? !? W*-? -? ? "?F-? #? =$-? #? %? ?.*? ? ? Y-? -? #? &? W*-? -? #? '?-? (? =)-? (? *? ??*? ? ? Y-? -? (? +? W*-? -? (? ,??-? ? m--? ? .? ??-? /? 0*? ? ? Y*? -? /-? ? 0? W*-? /-? ? 1?x*? ? ? Y*? -? ? 2? W*-? ? 3?S-? /? 94-? /? 5? ?;*? ? ? Y*? -? /? 6? W*-? /? 7?-? 8? e9? :?-? 8:-? ;:?