示例#1
0
  @Override
  public List<String> getCommandIds(CommandGroup commandGroup) {
    ArrayList<String> commandIds = new ArrayList<String>(1);

    if (commandGroup.isEdit()) {
      commandIds.add(COMMAND_ID);
    }

    return commandIds;
  }
示例#2
0
  @Override
  public List<String> getCommandIds(CommandGroup commandGroup) {
    ArrayList<String> commandIds = new ArrayList<String>(1);

    if (commandGroup.isPreview()) {
      commandIds.add("org.eclipse.osee.framework.ui.skynet.wholewordpreview.command");
    }

    if (commandGroup.isEdit()) {
      commandIds.add("org.eclipse.osee.framework.ui.skynet.wholedocumenteditor.command");
    }

    return commandIds;
  }