Unnamed: 0 int64 0 305k | body stringlengths 7 52.9k | name stringlengths 1 185 |
|---|---|---|
8,500 | JComponent () { myBoardComboBox = new ComboBox<>(300); myBoardLabel = new JBLabel(TaskBundle.message("label.board"), SwingConstants.RIGHT); myBoardLabel.setLabelFor(myBoardComboBox); myListComboBox = new ComboBox<>(300); myListLabel = new JBLabel(TaskBundle.message("label.list"), SwingConstants.RIGHT); myListLabel.setL... | createCustomPanel |
8,501 | void () { super.apply(); myRepository.setIncludeAllCards(myAllCardsCheckBox.isSelected()); } | apply |
8,502 | void (@Nullable JComponent anchor) { super.setAnchor(anchor); myListLabel.setAnchor(anchor); myBoardLabel.setAnchor(anchor); } | setAnchor |
8,503 | TrelloBoard () { return TrelloRepository.UNSPECIFIED_BOARD; } | getExtraItem |
8,504 | TrelloBoard () { return myRepository.getCurrentBoard(); } | getSelectedItem |
8,505 | void () { super.handleError(); myListComboBox.removeAllItems(); } | handleError |
8,506 | boolean () { return true; } | addSelectedItemIfMissing |
8,507 | TrelloList () { return TrelloRepository.UNSPECIFIED_LIST; } | getExtraItem |
8,508 | TrelloList () { return myRepository.getCurrentList(); } | getSelectedItem |
8,509 | boolean () { return true; } | addSelectedItemIfMissing |
8,510 | Icon (Set<TrelloLabel.LabelColor> colorSet) { if (colorSet.isEmpty()) { return TasksCoreIcons.Trello; } Image image = CACHE.get(colorSet); if (image == null) { BufferedImage bufferedImage = ImageUtil.createImage(size, size, BufferedImage.TYPE_INT_ARGB); int adjustedSize = size - 1; int nStripes = colorSet.size(); Graph... | buildIcon |
8,511 | Gson () { final GsonBuilder gson = TaskGsonUtil.createDefaultBuilder(); gson.registerTypeAdapter(LabelColor.class, new LabelColorDeserializer()); return gson.create(); } | buildGson |
8,512 | String () { return myCard.getId(); } | getId |
8,513 | String () { return myCard.getName(); } | getSummary |
8,514 | String () { return myCard.getDescription(); } | getDescription |
8,515 | Icon () { return ourIconBuilder.buildIcon(myCard.getColors()); } | getIcon |
8,516 | TaskType () { return TaskType.OTHER; } | getType |
8,517 | Date () { return myCard.getDateLastActivity(); } | getUpdated |
8,518 | Date () { return null; } | getCreated |
8,519 | boolean () { // IDEA-111470, IDEA-111475 return myCard.isClosed() || !myCard.isVisible(); } | isClosed |
8,520 | boolean () { return true; } | isIssue |
8,521 | String () { return myCard.getUrl(); } | getIssueUrl |
8,522 | String () { return myCard.getName(); } | getPresentableName |
8,523 | TaskRepository () { return myRepository; } | getRepository |
8,524 | String () { return myCard.getIdShort(); } | getNumber |
8,525 | String () { return String.format("TrelloList(id='%s' name='%s')", getId(), getName()); } | toString |
8,526 | boolean () { return closed; } | isClosed |
8,527 | String () { return idBoard; } | getIdBoard |
8,528 | void (@NotNull String name) { this.name = name; } | setName |
8,529 | boolean () { return myMoved; } | isMoved |
8,530 | void (boolean moved) { this.myMoved = moved; } | setMoved |
8,531 | String () { return id; } | getId |
8,532 | void (@NotNull String id) { this.id = id; } | setId |
8,533 | boolean (Object obj) { if (obj == this) return true; if (!(obj instanceof TrelloModel model)) return false; return !id.equals(ILLEGAL_ID) && id.equals(model.id); } | equals |
8,534 | int () { return id.hashCode(); } | hashCode |
8,535 | String () { return String.format("TrelloBoard(id='%s', name='%s')", getId(), getName()); } | toString |
8,536 | boolean () { return closed; } | isClosed |
8,537 | String () { return idOrganization; } | getIdOrganization |
8,538 | void (@NotNull String name) { this.name = name; } | setName |
8,539 | String () { return String.format("TrelloCard(id='%s', name='%s')", getId(), name); } | toString |
8,540 | String () { return idBoard; } | getIdBoard |
8,541 | String () { return idList; } | getIdList |
8,542 | String () { return idShort; } | getIdShort |
8,543 | List<String> () { return idMembers; } | getIdMembers |
8,544 | void (@NotNull String name) { this.name = name; } | setName |
8,545 | String () { return url; } | getUrl |
8,546 | boolean () { return closed; } | isClosed |
8,547 | List<TrelloLabel> () { return labels; } | getLabels |
8,548 | List<TrelloCommentAction> () { return comments; } | getComments |
8,549 | Set<LabelColor> () { if (labels == null || labels.isEmpty()) { return EnumSet.noneOf(LabelColor.class); } final List<LabelColor> labelColors = ContainerUtil.mapNotNull(labels, label -> { final LabelColor color = label.getColor(); return color == LabelColor.NO_COLOR ? null : color; }); return labelColors.isEmpty() ? Enu... | getColors |
8,550 | boolean () { return isVisible; } | isVisible |
8,551 | void (boolean visible) { isVisible = visible; } | setVisible |
8,552 | Date () { return dateLastActivity; } | getDateLastActivity |
8,553 | String () { return String.format("TrelloCommentAction(id=%s, text=%s)", id, data.text); } | toString |
8,554 | String () { return id; } | getId |
8,555 | Date () { return date; } | getDate |
8,556 | String () { return data.text; } | getText |
8,557 | String () { // if user deleted it's account in web-interface his comments left // marked with [deleted account] return memberCreator == null? "[deleted account]": memberCreator.getName(); } | getAuthor |
8,558 | Color () { return color; } | getColor |
8,559 | String () { return name; } | getName |
8,560 | LabelColor () { return color; } | getColor |
8,561 | String () { return String.format("TrelloUser(id='%s' username='%s')", getId(), username); } | toString |
8,562 | String () { return getUsername(); } | getName |
8,563 | void (@NotNull String name) { username = name; } | setName |
8,564 | String () { return username; } | getUsername |
8,565 | String () { return "Lighthouse"; } | getName |
8,566 | Icon () { return TasksCoreIcons.Lighthouse; } | getIcon |
8,567 | TaskRepository () { return new LighthouseRepository(this); } | createRepository |
8,568 | Class<LighthouseRepository> () { return LighthouseRepository.class; } | getRepositoryClass |
8,569 | EnumSet<TaskState> () { return EnumSet.of(TaskState.SUBMITTED, TaskState.OPEN, TaskState.RESOLVED, TaskState.OTHER); } | getPossibleTaskStates |
8,570 | TaskRepositoryEditor (LighthouseRepository repository, Project project, Consumer<? super LighthouseRepository> changeListener) { return new LighthouseRepositoryEditor(project, repository, changeListener); } | createEditor |
8,571 | BaseRepository () { return new LighthouseRepository(this); } | clone |
8,572 | boolean () { return super.isConfigured() && StringUtil.isNotEmpty(getProjectId()) && StringUtil.isNotEmpty(getPassword()); } | isConfigured |
8,573 | Task (Element element) { final String id = element.getChildText("number"); if (id == null) { return null; } //noinspection HardCodedStringLiteral final String summary = element.getChildText("title"); if (summary == null) { return null; } //noinspection HardCodedStringLiteral final String description = element.getChildT... | createIssue |
8,574 | boolean () { return true; } | isIssue |
8,575 | String () { return getUrl() + "/projects/" + myProjectId + "/tickets/" + getId() + ".xml"; } | getIssueUrl |
8,576 | String () { return myProjectId + "-" + id; } | getId |
8,577 | String () { return summary; } | getSummary |
8,578 | String () { return description; } | getDescription |
8,579 | Icon () { return TasksCoreIcons.Lighthouse; } | getIcon |
8,580 | TaskType () { return TaskType.BUG; } | getType |
8,581 | Date () { return updated.get(); } | getUpdated |
8,582 | Date () { return created.get(); } | getCreated |
8,583 | boolean () { return isClosed; } | isClosed |
8,584 | TaskRepository () { return LighthouseRepository.this; } | getRepository |
8,585 | String () { return getId() + ": " + getSummary(); //NON-NLS } | getPresentableName |
8,586 | String (@NotNull String taskName) { Matcher matcher = myPattern.matcher(taskName); return matcher.find() ? matcher.group(1) : null; } | extractId |
8,587 | void (HttpMethod method) { method.addRequestHeader("X-LighthouseToken", getPassword()); } | configureHttpMethod |
8,588 | String () { return myProjectId; } | getProjectId |
8,589 | void (String projectId) { myProjectId = projectId; myPattern = Pattern.compile("(" + projectId + "\\-\\d+):\\s+"); } | setProjectId |
8,590 | boolean (Object o) { if (!super.equals(o)) return false; if (!(o instanceof LighthouseRepository that)) return false; if (getProjectId() != null ? !getProjectId().equals(that.getProjectId()) : that.getProjectId() != null) return false; return true; } | equals |
8,591 | void () { myRepository.setProjectId(myProjectId.getText().trim()); super.apply(); } | apply |
8,592 | JComponent () { myProjectIDLabel = new JBLabel(TaskBundle.message("label.project.id"), SwingConstants.RIGHT); myProjectId = new JTextField(); installListener(myProjectId); return FormBuilder.createFormBuilder() .addLabeledComponent(myProjectIDLabel, myProjectId) .getPanel(); } | createCustomPanel |
8,593 | void (@Nullable final JComponent anchor) { super.setAnchor(anchor); myProjectIDLabel.setAnchor(anchor); } | setAnchor |
8,594 | PsiElement () { return null; } | getParent |
8,595 | Task () { return myTask; } | getTask |
8,596 | boolean () { return true; } | isValid |
8,597 | PsiManager () { return myPsiManager; } | getManager |
8,598 | PsiFile () { return PsiFileFactory.getInstance(getProject()).createFileFromText("foo.txt", FileTypes.PLAIN_TEXT, ""); } | getContainingFile |
8,599 | String () { return myTask.getPresentableName(); } | getName |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.