Examples of ShellContext


Examples of org.jboss.forge.addon.shell.ui.ShellContext

   }

   @Override
   public ShellUIPromptImpl createPrompt(UIContext context)
   {
      ShellContext shellContext = (ShellContext) context;
      ConverterFactory converterFactory = addonRegistry.getServices(ConverterFactory.class).get();
      return new ShellUIPromptImpl(shellContext, converterFactory);
   }
View Full Code Here

Examples of org.jboss.forge.addon.shell.ui.ShellContext

      Console console = shell.getConsole();
      if (!Strings.isNullOrEmpty(line))
      {
         try
         {
            ShellContext context = shell.newShellContext();
            AbstractShellInteraction command = shell.findCommand(context, line);
            if (command == null)
            {
               throw new IOException("Command not found for line: " + line);
            }
View Full Code Here

Examples of org.jboss.forge.addon.shell.ui.ShellContext

   @Override
   public void complete(CompleteOperation completeOperation)
   {
      String line = completeOperation.getBuffer();
      ShellContext shellContext = shell.newShellContext();
      final AbstractShellInteraction cmd = shell.findCommand(shellContext, line);
      if (cmd == null)
      {
         Collection<AbstractShellInteraction> commands = shell.findMatchingCommands(shellContext, line);
         for (AbstractShellInteraction command : commands)
View Full Code Here

Examples of org.jboss.forge.addon.shell.ui.ShellContext

   }

   @Override
   public ShellUIPromptImpl createPrompt(UIContext context)
   {
      ShellContext shellContext = (ShellContext) context;
      ConverterFactory converterFactory = addonRegistry.getServices(ConverterFactory.class).get();
      return new ShellUIPromptImpl(shellContext, converterFactory);
   }
View Full Code Here

Examples of org.jboss.forge.addon.shell.ui.ShellContext

   }

   @Override
   public ShellUIPromptImpl createPrompt(UIContext context)
   {
      ShellContext shellContext = (ShellContext) context;
      ConverterFactory converterFactory = addonRegistry.getServices(ConverterFactory.class).get();
      return new ShellUIPromptImpl(shellContext, converterFactory);
   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.