-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #394 from codenvy/IDEX-3485
IDEX-3485: hide JS content assist box after switching to another file
- Loading branch information
Showing
3 changed files
with
52 additions
and
0 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
34 changes: 34 additions & 0 deletions
34
.../src/main/java/org/eclipse/che/ide/editor/orion/client/jso/OrionContentAssistOverlay.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,34 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2014-2015 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.ide.editor.orion.client.jso; | ||
|
||
import com.google.gwt.core.client.JavaScriptObject; | ||
|
||
/** | ||
* JavaScript overlay over Orion ContentAssist object. | ||
* | ||
* @author Artem Zatsarynnyy | ||
*/ | ||
public class OrionContentAssistOverlay extends JavaScriptObject { | ||
|
||
protected OrionContentAssistOverlay() { | ||
} | ||
|
||
/** Checks whether the content assist is active or not. */ | ||
public final native boolean isActive() /*-{ | ||
return this.isActive(); | ||
}-*/; | ||
|
||
/** Deactivates the content assist. */ | ||
public final native void deactivate() /*-{ | ||
this.deactivate(); | ||
}-*/; | ||
} |
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