org.apache.cayenne.modeler.action.RemoveAttributeAction.class Maven / Gradle / Ivy
The newest version!
???? 1 ? u v
3 w x
2 y
2 z
{ |
{ } ~
?
? ? ?
? ?
{ ? 2 ?
? ? ?
?
? ?
2 ? ?
? ? ?
{ ?
{ ?
? ? ?
{ ?
?
2 ?
{ ? ?
? ? ?
{ ?
?
2 ?
? ? ?
? ?
' ?
{ ?
? ?
? ?
{ ?
? ? ?
/ ?
{ ? ? ? ? ACTION_NAME Ljava/lang/String;
ConstantValue ACTION_NAME_MULTIPLE
getActionName ()Ljava/lang/String; Code LineNumberTable (Z)Ljava/lang/String; LocalVariableTable this 9Lorg/apache/cayenne/modeler/action/RemoveAttributeAction; multiple Z +(Lorg/apache/cayenne/modeler/Application;)V application (Lorg/apache/cayenne/modeler/Application;
enableForPath 7(Lorg/apache/cayenne/configuration/ConfigurationNode;)Z object 4Lorg/apache/cayenne/configuration/ConfigurationNode;
performAction (Ljava/awt/event/ActionEvent;Z)V
embeddable #Lorg/apache/cayenne/map/Embeddable; eAttrs -[Lorg/apache/cayenne/map/EmbeddableAttribute; entity "Lorg/apache/cayenne/map/ObjEntity; attribs &[Lorg/apache/cayenne/map/ObjAttribute; !Lorg/apache/cayenne/map/DbEntity; %[Lorg/apache/cayenne/map/DbAttribute; dbAttrs e Ljava/awt/event/ActionEvent; allowAsking dialog 7Lorg/apache/cayenne/modeler/dialog/ConfirmRemoveDialog; mediator .Lorg/apache/cayenne/modeler/ProjectController; embAttrs attrs removeDbAttributes i(Lorg/apache/cayenne/map/DataMap;Lorg/apache/cayenne/map/DbEntity;[Lorg/apache/cayenne/map/DbAttribute;)V -Lorg/apache/cayenne/map/event/AttributeEvent; attrib $Lorg/apache/cayenne/map/DbAttribute; arr$ len$ I i$ dataMap Lorg/apache/cayenne/map/DataMap; removeObjAttributes K(Lorg/apache/cayenne/map/ObjEntity;[Lorg/apache/cayenne/map/ObjAttribute;)V %Lorg/apache/cayenne/map/ObjAttribute; removeEmbeddableAttributes S(Lorg/apache/cayenne/map/Embeddable;[Lorg/apache/cayenne/map/EmbeddableAttribute;)V 7Lorg/apache/cayenne/map/event/EmbeddableAttributeEvent; ,Lorg/apache/cayenne/map/EmbeddableAttribute;
SourceFile RemoveAttributeAction.java Remove Attribute Remove Attributes C ? org/apache/cayenne/map/Attribute ? ? ? ? ? ? ? ? ? Embeddable Attribute ? ? : ? ? ? selected EmbAttributes ? ? ? ? E F ? ? ? ;org/apache/cayenne/modeler/undo/RemoveAttributeUndoableEdit C p ? ? ? o p ObjAttribute ? selected ObjAttributes ? ? ? ? ? ? ? 6org/apache/cayenne/configuration/DataChannelDescriptor ? ? C ? l m ? ? DbAttribute ? selected DbAttributes ? ? C ? a b ? ? ? +org/apache/cayenne/map/event/AttributeEvent ? ? C ? ? ? ? ? ? ? ? ? ? 5org/apache/cayenne/map/event/EmbeddableAttributeEvent C ? ? ? 7org/apache/cayenne/modeler/action/RemoveAttributeAction .org/apache/cayenne/modeler/action/RemoveAction 7org/apache/cayenne/modeler/action/MultipleObjectsAction =(Ljava/lang/String;Lorg/apache/cayenne/modeler/Application;)V getConfirmDeleteDialog :(Z)Lorg/apache/cayenne/modeler/dialog/ConfirmRemoveDialog; getProjectController 0()Lorg/apache/cayenne/modeler/ProjectController; ,org/apache/cayenne/modeler/ProjectController getCurrentEmbAttrs /()[Lorg/apache/cayenne/map/EmbeddableAttribute; getCurrentObjAttributes (()[Lorg/apache/cayenne/map/ObjAttribute; *org/apache/cayenne/map/EmbeddableAttribute getName 5org/apache/cayenne/modeler/dialog/ConfirmRemoveDialog shouldDelete '(Ljava/lang/String;Ljava/lang/String;)Z (Ljava/lang/String;)Z getCurrentEmbeddable %()Lorg/apache/cayenne/map/Embeddable; &org/apache/cayenne/modeler/Application getUndoManager 6()Lorg/apache/cayenne/modeler/undo/CayenneUndoManager; 2org/apache/cayenne/modeler/undo/CayenneUndoManager addEdit "(Ljavax/swing/undo/UndoableEdit;)Z #org/apache/cayenne/map/ObjAttribute getCurrentObjEntity $()Lorg/apache/cayenne/map/ObjEntity;
getProject &()Lorg/apache/cayenne/project/Project; "org/apache/cayenne/project/Project getRootNode 6()Lorg/apache/cayenne/configuration/ConfigurationNode; getCurrentDataMap "()Lorg/apache/cayenne/map/DataMap; ?(Lorg/apache/cayenne/configuration/DataChannelDescriptor;Lorg/apache/cayenne/map/DataMap;Lorg/apache/cayenne/map/ObjEntity;[Lorg/apache/cayenne/map/ObjAttribute;)V getCurrentDbAttributes '()[Lorg/apache/cayenne/map/DbAttribute; "org/apache/cayenne/map/DbAttribute getCurrentDbEntity #()Lorg/apache/cayenne/map/DbEntity; ?(Lorg/apache/cayenne/configuration/DataChannelDescriptor;Lorg/apache/cayenne/map/DataMap;Lorg/apache/cayenne/map/DbEntity;[Lorg/apache/cayenne/map/DbAttribute;)V org/apache/cayenne/map/DbEntity removeAttribute (Ljava/lang/String;)V getFrame 2()Lorg/apache/cayenne/modeler/CayenneModelerFrame; W(Ljava/lang/Object;Lorg/apache/cayenne/map/Attribute;Lorg/apache/cayenne/map/Entity;I)V fireDbAttributeEvent 0(Lorg/apache/cayenne/map/event/AttributeEvent;)V +org/apache/cayenne/modeler/util/ProjectUtil cleanObjMappings #(Lorg/apache/cayenne/map/DataMap;)V org/apache/cayenne/map/ObjEntity fireObjAttributeEvent !org/apache/cayenne/map/Embeddable e(Ljava/lang/Object;Lorg/apache/cayenne/map/EmbeddableAttribute;Lorg/apache/cayenne/map/Embeddable;I)V fireEmbeddableAttributeEvent :(Lorg/apache/cayenne/map/event/EmbeddableAttributeEvent;)V ! 2 3 4 5 6 7 8 6 7 9 : ; ? <