View Javadoc

1   /*
2   Copyright 2010 James Pether Sörling Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 
3   	$Id
4   */
5   package org.directdemocracyportal.democracy.web.action;
6   
7   import thinwire.ui.Frame;
8   
9   /***
10   * The Class NewApplicationInstanceAction.
11   */
12  public class NewApplicationInstanceAction extends AbstractAction
13  {
14  
15      /*** The args. */
16      private final String[] args;
17      
18      /*** The frame. */
19      private final Frame frame;
20  
21      /***
22       * Instantiates a new new application instance action.
23       *
24       * @param frame the frame
25       * @param args the args
26       */
27      public NewApplicationInstanceAction(Frame frame, String[] args) {
28          this.frame = frame;
29          this.args = args;
30      }
31  
32      /***
33       * Gets the args.
34       *
35       * @return the args
36       */
37      public String[] getArgs() {
38          return args;
39      }
40  
41      /***
42       * Gets the frame.
43       *
44       * @return the frame
45       */
46      public Frame getFrame() {
47          return frame;
48      }
49  }