-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
zhiyuan_deng
committed
Nov 9, 2018
1 parent
59c0a36
commit d1f4ca3
Showing
3 changed files
with
90 additions
and
8 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
21 changes: 13 additions & 8 deletions
21
src/main/java/com/github/mustfun/mybatis/plugin/util/MybatisConstants.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 |
---|---|---|
@@ -1,23 +1,28 @@ | ||
package com.github.mustfun.mybatis.plugin.util; | ||
|
||
import com.intellij.ide.plugins.PluginManager; | ||
import com.intellij.openapi.application.PathManager; | ||
import com.intellij.openapi.extensions.PluginId; | ||
import com.intellij.psi.util.ReferenceSetBase; | ||
|
||
/** | ||
* @author yanglin | ||
* @author itar | ||
*/ | ||
public final class MybatisConstants { | ||
|
||
public static final String TEMP_DIR_PATH = PathManager.getPluginsPath() + "/temp"; | ||
public static final String PLUGIN_NAME = "MyBatis Plugin Free"; | ||
|
||
public static final String TEMP_DIR_PATH = PathManager.getPluginsPath()+"/"+ PLUGIN_NAME + "/temp"; | ||
|
||
public static final String SQL_LITE_CONNECTION = "sqlLiteConnection"; | ||
public static final String MYSQL_DB_CONNECTION = "mysqlDbConnection"; | ||
public static final String MYSQL_DB_CONNECTION = "mysqlDbConnection"; | ||
|
||
private MybatisConstants() { | ||
throw new UnsupportedOperationException(); | ||
} | ||
private MybatisConstants() { | ||
throw new UnsupportedOperationException(); | ||
} | ||
|
||
public static final String DOT_SEPARATOR = String.valueOf(ReferenceSetBase.DOT_SEPARATOR); | ||
public static final String DOT_SEPARATOR = String.valueOf(ReferenceSetBase.DOT_SEPARATOR); | ||
|
||
public static final double PRIORITY = 400.0; | ||
public static final double PRIORITY = 400.0; | ||
|
||
} |