question: public void addActionWithAccelleratorKey ( GPAction action ) { if ( action != null ) { for ( KeyStroke ks : GPAction . getAllKeyStrokes ( action . getID ( ) ) ) { addAction ( action , ks ) ; } } }
target:  Adds an action to the object and makes it active 