Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/virtuosotechnologies/lib/basiccommand/BasicGroupCommandNode.java


1   /*
2   ================================================================================
3   
4     FILE:  BasicGroupCommandNode.java
5     
6     PROJECT:
7     
8       Virtuoso Utilities
9     
10    CONTENTS:
11    
12      A node representing a group in the graph. These correspond to groups
13      of menu items or buttons but doesn't comprise a branch point in
14      the hierarchy.
15    
16    PROGRAMMERS:
17    
18      Daniel Azuma (DA)  <dazuma@kagi.com>
19    
20    COPYRIGHT:
21    
22      Copyright (C) 2003  Daniel Azuma  (dazuma@kagi.com)
23      
24      This program is free software; you can redistribute it and/or
25      modify it under the terms of the GNU General Public License as
26      published by the Free Software Foundation; either version 2
27      of the License, or (at your option) any later version.
28      
29      This program is distributed in the hope that it will be useful,
30      but WITHOUT ANY WARRANTY; without even the implied warranty of
31      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32      GNU General Public License for more details.
33      
34      You should have received a copy of the GNU General Public
35      License along with this program; if not, write to
36        Free Software Foundation, Inc.
37        59 Temple Place, Suite 330
38        Boston, MA 02111-1307 USA
39  
40  ================================================================================
41  */
42  
43  
44  package com.virtuosotechnologies.lib.basiccommand;
45  
46  
47  import com.virtuosotechnologies.lib.command.CommandNodeFlavor;
48  import com.virtuosotechnologies.lib.command.CommandEvent;
49  
50  
51  /**
52   * A node representing a group in the graph. These correspond to groups
53   * of menu items or buttons but doesn't comprise a branch point in
54   * the hierarchy.
55   */
56  public class BasicGroupCommandNode
57  extends BasicCommandNode
58  {
59    /**
60     * Constructor.
61     */
62    public BasicGroupCommandNode()
63    {
64    }
65    
66    
67    /**
68     * Get the flavor of CommandNode
69     */
70    public CommandNodeFlavor getFlavor()
71    {
72      return GROUP_FLAVOR;
73    }
74    
75    
76    /**
77     * Invoke the command
78     */
79    public void commandInvoked(
80      CommandEvent ev)
81    {
82    }
83  }