Package org.eclipse.core.commands

Examples of org.eclipse.core.commands.Category.define()


      // Read out the description.
      final String description = readOptional(configurationElement,
          ATT_DESCRIPTION);

      final Category category = commandService.getCategory(categoryId);
      category.define(name, description);
    }

    // If there were any warnings, then log them now.
    logWarnings(
        warningsToLog,
View Full Code Here


                // categories.put(ID, new OperationCategory(element)); //$NON-NLS-1$
                   
                // Create a Command Category
                Category category = commands.getCategory(ID);
                if( !category.isDefined()){
                    category.define(NAME, DESCRIPTION);                   
                }
                // TODO: Create an ActionSet
               
                // TODO: Create a Definition to Check the ActionSet
               
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.