Created
January 8, 2018 10:34
-
-
Save code-twister/aab5ce8e44508b033a22dba7c2fc0c08 to your computer and use it in GitHub Desktop.
Test project component for Android Studio plugin
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
package com.example.plugin; | |
import com.intellij.openapi.components.ProjectComponent; | |
import org.jetbrains.annotations.NotNull; | |
public class TestProjectComponent implements ProjectComponent { | |
private static final String TEST_PROJECT_COMPONENT_NAME = "TestProjectComponent"; | |
@Override | |
public void projectOpened() {} | |
@Override | |
public void projectClosed() {} | |
@Override | |
public void initComponent() { | |
System.out.println("THIS IS A TEST"); | |
} | |
@Override | |
public void disposeComponent() {} | |
@NotNull | |
@Override | |
public String getComponentName() { | |
return TEST_PROJECT_COMPONENT_NAME; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment