generated from JetBrains/intellij-platform-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ML4SE-137] removed ui items for emotion detection
- Loading branch information
mikrise2
committed
Oct 11, 2023
1 parent
2ed00af
commit 44433e1
Showing
45 changed files
with
1 addition
and
147 deletions.
There are no files selected for viewing
25 changes: 0 additions & 25 deletions
25
ijPlugin/src/main/kotlin/org/jetbrains/research/tasktracker/actions/emoji/EmojiAction.kt
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
...in/src/main/kotlin/org/jetbrains/research/tasktracker/actions/emoji/EmojiDialogWrapper.kt
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
.../src/main/kotlin/org/jetbrains/research/tasktracker/actions/tracking/NotificationIcons.kt
This file was deleted.
Oops, something went wrong.
31 changes: 0 additions & 31 deletions
31
...rc/main/kotlin/org/jetbrains/research/tasktracker/actions/tracking/NotificationWrapper.kt
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
ijPlugin/src/main/kotlin/org/jetbrains/research/tasktracker/config/emoji/DefaultEmotion.kt
This file was deleted.
Oops, something went wrong.
22 changes: 1 addition & 21 deletions
22
ijPlugin/src/main/kotlin/org/jetbrains/research/tasktracker/config/emoji/Emotion.kt
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,29 +1,9 @@ | ||
package org.jetbrains.research.tasktracker.config.emoji | ||
|
||
import com.intellij.openapi.util.IconLoader | ||
import kotlinx.serialization.Serializable | ||
import kotlinx.serialization.Transient | ||
import javax.swing.Icon | ||
|
||
@Serializable | ||
open class Emotion( | ||
val modelPosition: Int, | ||
val name: String, | ||
private val affirmDescriptions: List<String>, | ||
private val adviceDescriptions: List<String> = emptyList() | ||
) { | ||
protected open val iconName: String? = null | ||
protected open val modalWindowIconName: String? = null | ||
|
||
@Transient | ||
val icon: Icon? = iconName?.let { IconLoader.getIcon(it, Emotion::class.java) } | ||
|
||
@Transient | ||
val modalWindowIcon: Icon? = modalWindowIconName?.let { IconLoader.getIcon(it, Emotion::class.java) } | ||
|
||
val randomAffirmDescription | ||
get() = affirmDescriptions.random() | ||
|
||
val randomAdviceDescription | ||
get() = adviceDescriptions.random() | ||
} | ||
) |
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
Binary file not shown.
Binary file removed
BIN
-2.12 KB
ijPlugin/src/main/resources/icons/emoji/emotions/confounded_face.png
Binary file not shown.
Binary file removed
BIN
-1.91 KB
ijPlugin/src/main/resources/icons/emoji/emotions/expressionless_face.png
Binary file not shown.
Binary file removed
BIN
-2.04 KB
ijPlugin/src/main/resources/icons/emoji/emotions/face_with_open_mouth.png
Binary file not shown.
Binary file removed
BIN
-2.01 KB
ijPlugin/src/main/resources/icons/emoji/emotions/frowning_face_with_open_mouth.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-2.1 KB
...ugin/src/main/resources/icons/emoji/emotions/smiling_face_with_smiling_eyes.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-14.2 KB
...gin/src/main/resources/icons/emoji/notifications/feedback_notification_icon.png
Binary file not shown.
Binary file removed
BIN
-2.06 KB
...c/main/resources/org/jetbrains/research/tasktracker/config/emoji/angry_face.png
Binary file not shown.
Binary file removed
BIN
-2.12 KB
...n/resources/org/jetbrains/research/tasktracker/config/emoji/confounded_face.png
Binary file not shown.
Binary file removed
BIN
-1.91 KB
...sources/org/jetbrains/research/tasktracker/config/emoji/expressionless_face.png
Binary file not shown.
Binary file removed
BIN
-2.04 KB
...ources/org/jetbrains/research/tasktracker/config/emoji/face_with_open_mouth.png
Binary file not shown.
Binary file removed
BIN
-2.01 KB
...g/jetbrains/research/tasktracker/config/emoji/frowning_face_with_open_mouth.png
Binary file not shown.
Binary file removed
BIN
-4.26 KB
...ources/org/jetbrains/research/tasktracker/config/emoji/modal_cherry_blossom.png
Binary file not shown.
Binary file removed
BIN
-3.64 KB
...c/main/resources/org/jetbrains/research/tasktracker/config/emoji/modal_dove.png
Diff not rendered.
Binary file removed
BIN
-2.84 KB
...esources/org/jetbrains/research/tasktracker/config/emoji/modal_folded_hands.png
Diff not rendered.
Binary file removed
BIN
-3.6 KB
...esources/org/jetbrains/research/tasktracker/config/emoji/modal_glowing_star.png
Diff not rendered.
Binary file removed
BIN
-3.67 KB
...urces/org/jetbrains/research/tasktracker/config/emoji/modal_leaf_fluttering.png
Diff not rendered.
Binary file removed
BIN
-2.57 KB
...in/resources/org/jetbrains/research/tasktracker/config/emoji/modal_seedling.png
Diff not rendered.
Binary file removed
BIN
-4.31 KB
...sources/org/jetbrains/research/tasktracker/config/emoji/modal_sun_with_face.png
Diff not rendered.
Binary file removed
BIN
-3.65 KB
.../resources/org/jetbrains/research/tasktracker/config/emoji/modal_water_wave.png
Diff not rendered.
Binary file removed
BIN
-3.61 KB
...esources/org/jetbrains/research/tasktracker/config/emoji/modal_wrapped_gift.png
Diff not rendered.
Binary file removed
BIN
-2.09 KB
...main/resources/org/jetbrains/research/tasktracker/config/emoji/pensive_face.png
Diff not rendered.
Binary file removed
BIN
-2.14 KB
...ain/resources/org/jetbrains/research/tasktracker/config/emoji/relieved_face.png
Diff not rendered.
Binary file removed
BIN
-2.1 KB
.../jetbrains/research/tasktracker/config/emoji/smiling_face_with_smiling_eyes.png
Diff not rendered.
Binary file removed
BIN
-2.63 KB
...ain/resources/org/jetbrains/research/tasktracker/config/emoji/sun_with_face.png
Diff not rendered.