예제 #1
0
  @Inject
  public ImportCSV(
      EditorResources resources,
      Provider<Branch> branchProvider,
      ElementCreatorsManager elementCreatorsManager) {
    super(
        ELEMENT_NAME,
        ELEMENT_NAME,
        SERIALIZATION_NAME,
        PROPERTIES,
        resources.googleSpreadsheetElement(),
        branchProvider,
        elementCreatorsManager);

    putProperty(SPREADSHEET_NAME_KEY, "");
    putProperty(WORKSHEET_NAME_KEY, "");
    putProperty(FILE_PATH_KEY, "");
    putProperty(BATCH_ENABLE_KEY, "");
    putProperty(BATCH_SIZE_KEY, "");

    putProperty(SPREADSHEET_NAME_EXPRESSION_KEY, "");
    putProperty(WORKSHEET_NAME_EXPRESSION_KEY, "");
    putProperty(FILE_PATH_EXPRESSION_KEY, "");
    putProperty(BATCH_ENABLE_EXPRESSION_KEY, "");
    putProperty(BATCH_SIZE_EXPRESSION_KEY, "");

    putProperty(SPREADSHEET_NAME_NS_KEY, new ArrayList<NameSpace>());
    putProperty(WORKSHEET_NAME_NS_KEY, new ArrayList<NameSpace>());
    putProperty(FILE_PATH_NS_KEY, new ArrayList<NameSpace>());
    putProperty(BATCH_ENABLE_NS_KEY, new ArrayList<NameSpace>());
    putProperty(BATCH_SIZE_NS_KEY, new ArrayList<NameSpace>());
  }
예제 #2
0
  @Inject
  public GetRolesOfProject(
      EditorResources resources,
      Provider<Branch> branchProvider,
      ElementCreatorsManager elementCreatorsManager) {
    super(
        ELEMENT_NAME,
        ELEMENT_NAME,
        SERIALIZATION_NAME,
        PROPERTIES,
        resources.jiraIcon(),
        branchProvider,
        elementCreatorsManager);

    putProperty(PROJECT_KEY_INL, "");
    putProperty(PROJECT_KEY_EXPR, "");
    putProperty(PROJECT_KEY_NS, new ArrayList<NameSpace>());
  }