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

Quick Search    Search Deep

com.maddyhome.idea.vim.group
Class CommandGroups  view CommandGroups download CommandGroups.java

java.lang.Object
  extended bycom.maddyhome.idea.vim.group.CommandGroups

public class CommandGroups
extends java.lang.Object

This singleton maintains the instances of all the key groups. All the key/action mappings get created the first this singleton is accessed.


Field Summary
private  ChangeGroup change
           
private  CopyGroup copy
           
private  FileGroup file
           
private static CommandGroups instance
           
private static Logger logger
           
private  MacroGroup macro
           
private  MarkGroup mark
           
private  MotionGroup motion
           
private  ProcessGroup process
           
private  RegisterGroup register
           
private  SearchGroup search
           
 
Constructor Summary
private CommandGroups()
          Creates all the groups
 
Method Summary
 ChangeGroup getChange()
          Returns the change group
 CopyGroup getCopy()
          Returns the copy group
 FileGroup getFile()
          Returns the file group
static CommandGroups getInstance()
          Gets the singleton instance
 MacroGroup getMacro()
          Returns the macro group
 MarkGroup getMark()
          Returns the mark group
 MotionGroup getMotion()
          Returns the motion group
 ProcessGroup getProcess()
          Returns the process group
 RegisterGroup getRegister()
          Returns the register group
 SearchGroup getSearch()
          Returns the search group
 void readData(org.jdom.Element element)
          Tells each group to read its data.
 void saveData(org.jdom.Element element)
          Tells each group to save its data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

private static CommandGroups instance

motion

private MotionGroup motion

change

private ChangeGroup change

copy

private CopyGroup copy

mark

private MarkGroup mark

register

private RegisterGroup register

file

private FileGroup file

search

private SearchGroup search

process

private ProcessGroup process

macro

private MacroGroup macro

logger

private static Logger logger
Constructor Detail

CommandGroups

private CommandGroups()
Creates all the groups

Method Detail

getInstance

public static CommandGroups getInstance()
Gets the singleton instance


getMotion

public MotionGroup getMotion()
Returns the motion group


getChange

public ChangeGroup getChange()
Returns the change group


getCopy

public CopyGroup getCopy()
Returns the copy group


getMark

public MarkGroup getMark()
Returns the mark group


getRegister

public RegisterGroup getRegister()
Returns the register group


getFile

public FileGroup getFile()
Returns the file group


getSearch

public SearchGroup getSearch()
Returns the search group


getProcess

public ProcessGroup getProcess()
Returns the process group


getMacro

public MacroGroup getMacro()
Returns the macro group


saveData

public void saveData(org.jdom.Element element)
Tells each group to save its data.


readData

public void readData(org.jdom.Element element)
Tells each group to read its data.