~ubuntu-branches/ubuntu/raring/scilab/raring-proposed

« back to all changes in this revision

Viewing changes to modules/xcos/src/java/org/scilab/modules/xcos/actions/SaveAction.java

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-08-30 14:42:38 UTC
  • mfrom: (1.4.7)
  • Revision ID: package-import@ubuntu.com-20120830144238-c1y2og7dbm7m9nig
Tags: 5.4.0-beta-3-1~exp1
* New upstream release
* Update the scirenderer dep
* Get ride of libjhdf5-java dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3
3
 * Copyright (C) 2009 - DIGITEO - Vincent COUVERT
4
4
 * Copyright (C) 2010 - DIGITEO - Clement DAVID
5
 
 * 
 
5
 *
6
6
 * This file must be used under the terms of the CeCILL.
7
7
 * This source file is licensed as described in the file COPYING, which
8
8
 * you should have received as part of this distribution.  The terms
9
 
 * are also available at    
 
9
 * are also available at
10
10
 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11
11
 *
12
12
 */
27
27
/**
28
28
 * Management of "Diagram Saving"
29
29
 */
 
30
@SuppressWarnings(value = { "serial" })
30
31
public final class SaveAction extends DefaultAction {
31
32
    /** Name of the action */
32
33
    public static final String NAME = XcosMessages.SAVE;
35
36
    /** Mnemonic key of the action */
36
37
    public static final int MNEMONIC_KEY = KeyEvent.VK_S;
37
38
    /** Accelerator key for the action */
38
 
    public static final int ACCELERATOR_KEY = Toolkit.getDefaultToolkit()
39
 
            .getMenuShortcutKeyMask();
 
39
    public static final int ACCELERATOR_KEY = Toolkit.getDefaultToolkit().getMenuShortcutKeyMask();
40
40
 
41
41
    /**
42
42
     * Constructor
43
 
     * 
 
43
     *
44
44
     * @param scilabGraph
45
45
     *            associated Xcos diagram
46
46
     */
50
50
 
51
51
    /**
52
52
     * Create menu for saving
53
 
     * 
 
53
     *
54
54
     * @param scilabGraph
55
55
     *            associated Xcos diagram
56
56
     * @return the menu
61
61
 
62
62
    /**
63
63
     * Create toolbar button for saving
64
 
     * 
 
64
     *
65
65
     * @param scilabGraph
66
66
     *            associated Xcos diagram
67
67
     * @return the button