-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework Navigate to File feature to avoid using Everrest based Websock…
…et calls (#5561)
- Loading branch information
Dmytro Kulieshov
committed
Jul 11, 2017
1 parent
599bd6b
commit 4e63b84
Showing
5 changed files
with
124 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
...-shared/src/main/java/org/eclipse/che/api/project/shared/dto/ProjectSearchRequestDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2012-2017 Codenvy, S.A. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
* | ||
* Contributors: | ||
* Codenvy, S.A. - initial API and implementation | ||
*******************************************************************************/ | ||
package org.eclipse.che.api.project.shared.dto; | ||
|
||
import org.eclipse.che.dto.shared.DTO; | ||
|
||
@DTO | ||
public interface ProjectSearchRequestDto { | ||
String getPath(); | ||
|
||
ProjectSearchRequestDto withPath(String path); | ||
|
||
String getName(); | ||
|
||
ProjectSearchRequestDto withName(String name); | ||
|
||
String getText(); | ||
|
||
ProjectSearchRequestDto withText(String text); | ||
|
||
int getMaxItems(); | ||
|
||
ProjectSearchRequestDto withMaxItems(int maxItems); | ||
|
||
int getSkipCount(); | ||
|
||
ProjectSearchRequestDto withSkipCount(int skipCount); | ||
} |
22 changes: 22 additions & 0 deletions
22
...shared/src/main/java/org/eclipse/che/api/project/shared/dto/ProjectSearchResponseDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2012-2017 Codenvy, S.A. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
* | ||
* Contributors: | ||
* Codenvy, S.A. - initial API and implementation | ||
*******************************************************************************/ | ||
package org.eclipse.che.api.project.shared.dto; | ||
|
||
import org.eclipse.che.dto.shared.DTO; | ||
|
||
import java.util.List; | ||
|
||
@DTO | ||
public interface ProjectSearchResponseDto { | ||
List<ItemReference> getItemReferences(); | ||
|
||
ProjectSearchResponseDto withItemReferences(List<ItemReference> itemReferences); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters