1 56 package org.objectstyle.cayenne.modeler.action; 57 58 import java.awt.event.ActionEvent ; 59 60 import org.objectstyle.cayenne.modeler.Application; 61 import org.objectstyle.cayenne.modeler.dialog.pref.PreferenceDialog; 62 import org.objectstyle.cayenne.modeler.util.CayenneAction; 63 64 67 public class ConfigurePreferencesAction extends CayenneAction { 68 69 public static String getActionName() { 70 return "Preferences"; 71 } 72 73 public ConfigurePreferencesAction(Application application) { 74 super(getActionName(), application); 75 } 76 77 public void performAction(ActionEvent e) { 78 new PreferenceDialog(getApplication().getFrameController()).startupAction(); 79 } 80 81 } | Popular Tags |