コード例 #1
0
 @Override
 public UICommandMetadata getMetadata(UIContext context) {
   return Metadata.forCommand(getClass())
       .name("Project: New")
       .description("Create a new project")
       .category(Categories.create("Project", "Generation"));
 }
コード例 #2
0
 @Override
 public UICommandMetadata getMetadata(UIContext context) {
   return Metadata.forCommand(RemoveRepositoryCommand.class)
       .description("Remove a repository configured in the current project descriptor.")
       .name("Project: Remove Repository")
       .category(Categories.create("Project", "Manage"));
 }
コード例 #3
0
 @Override
 public UICommandMetadata getMetadata(UIContext context) {
   return Metadata.forCommand(ConnectCommand.class)
       .name("camel-catalog-language-list")
       .category(Categories.create(CATEGORY_CATALOG))
       .description("Lists all Camel languages from the Camel catalog");
 }
コード例 #4
0
ファイル: RouteShowCommand.java プロジェクト: mriccia/fabric8
 @Override
 public UICommandMetadata getMetadata(UIContext context) {
   return Metadata.forCommand(ConnectCommand.class)
       .name("camel-route-show")
       .category(Categories.create(CATEGORY))
       .description("Display the Camel route definition in XML");
 }
コード例 #5
0
 @Override
 public UICommandMetadata getMetadata(UIContext context) {
   return Metadata.forCommand(AddDependenciesCommand.class)
       .description("Add one or more arguments to the current project.")
       .name("Project: Add Dependencies")
       .category(Categories.create("Project", "Manage"));
 }
コード例 #6
0
 @Override
 public UICommandMetadata getMetadata(UIContext context) {
   return Metadata.forCommand(getClass())
       .name("Addon: Test Setup")
       .description("Add addon test setup to this project")
       .category(Categories.create("Forge", "Generate"));
 }
コード例 #7
0
 @Override
 public UICommandMetadata getMetadata(UIContext context) {
   return Metadata.forCommand(ConnectCommand.class)
       .name("camel-context-start")
       .category(Categories.create(CATEGORY))
       .description("Start a Camel context");
 }
コード例 #8
0
 @Override
 public Metadata getMetadata(UIContext context) {
   return Metadata.from(super.getMetadata(context), getClass())
       .name("CDI: New Scope")
       .description("Creates a new CDI Scope annotation")
       .category(Categories.create(super.getMetadata(context).getCategory(), "CDI"));
 }
コード例 #9
0
 @Override
 public UICommandMetadata getMetadata(UIContext context) {
   return Metadata.forCommand(getClass())
       .name("Java: New Package")
       .description("Creates a new package")
       .category(Categories.create("Java"));
 }
コード例 #10
0
 @Override
 public UICommandMetadata getMetadata(UIContext context) {
   return Metadata.forCommand(getClass())
       .category(Categories.create(AbstractDevOpsCommand.CATEGORY))
       .name(AbstractDevOpsCommand.CATEGORY + ": Configure")
       .description("Configure the Pipeline for the new project");
 }
コード例 #11
0
ファイル: NewBuild.java プロジェクト: hekonsek/fabric8
 @Override
 public UICommandMetadata getMetadata(UIContext context) {
   return Metadata.from(super.getMetadata(context), getClass())
       .category(Categories.create(CATEGORY))
       .name(CATEGORY + ": New Build")
       .description("Create a new build configuration");
 }
コード例 #12
0
ファイル: JPASetupWizardImpl.java プロジェクト: higoramp/core
 @Override
 public Metadata getMetadata(UIContext context) {
   return Metadata.from(super.getMetadata(context), getClass())
       .name("JPA: Setup")
       .description("Setup JPA in your project")
       .category(Categories.create(super.getMetadata(context).getCategory().getName(), "JPA"));
 }
コード例 #13
0
 @Override
 public UICommandMetadata getMetadata(UIContext context) {
   return Metadata.forCommand(getClass())
       .name("Java: Generate Getters and Setters")
       .description("Generates mutators and accessors for the given class")
       .category(Categories.create("Java"));
 }
コード例 #14
0
ファイル: ArchetypeAddCommand.java プロジェクト: forge/core
 @Override
 public UICommandMetadata getMetadata(UIContext context) {
   return Metadata.forCommand(getClass())
       .name("Archetype: Add")
       .category(Categories.create("Maven"))
       .description("Adds an archetype catalog to the Forge configuration file");
 }
コード例 #15
0
 @Override
 public Metadata getMetadata(UIContext context) {
   return Metadata.forCommand(getClass())
       .name("Connection: Create Profile")
       .description("Command to create a database connection profile.")
       .category(Categories.create("Database", "Connections"));
 }
コード例 #16
0
  @Override
  public UICommandMetadata getMetadata(UIContext context) {

    return Metadata.from(super.getMetadata(context), getClass())
        .name("CDI: New Conversation")
        .description("Creates a conversation block in the specified method")
        .category(Categories.create(super.getMetadata(context).getCategory(), "CDI"));
  }
コード例 #17
0
 @Override
 public UICommandMetadata getMetadata(UIContext context) {
   return Metadata.forCommand(SpringBootRepositoryCommand.class)
       .name("Spring Boot: Repository")
       .category(Categories.create("Spring Boot"));
 }
コード例 #18
0
 @Override
 public UICommandMetadata getMetadata(UIContext context) {
   return Metadata.from(super.getMetadata(context), getClass())
       .category(Categories.create(Categories.create("Java EE"), "JAX-RS"));
 }