Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
c279b17d
Commit
c279b17d
authored
8 years ago
by
Valentina Kiryushkina
Browse files
Options
Download
Email Patches
Plain Diff
Remove stepik registration label from code form
parent
942a8a72
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
python/educational-core/src/com/jetbrains/edu/learning/ui/AuthorizationPanel.form
+0
-9
...src/com/jetbrains/edu/learning/ui/AuthorizationPanel.form
python/educational-core/src/com/jetbrains/edu/learning/ui/AuthorizationPanel.java
+0
-28
...src/com/jetbrains/edu/learning/ui/AuthorizationPanel.java
with
0 additions
and
37 deletions
+0
-37
python/educational-core/src/com/jetbrains/edu/learning/ui/AuthorizationPanel.form
+
0
-
9
View file @
c279b17d
...
...
@@ -8,15 +8,6 @@
<properties/>
<border
type=
"none"
/>
<children>
<component
id=
"a7a1a"
class=
"com.intellij.ui.components.JBLabel"
binding=
"mySignUpLabel"
>
<constraints>
<grid
row=
"2"
column=
"0"
row-span=
"1"
col-span=
"1"
vsize-policy=
"0"
hsize-policy=
"0"
anchor=
"8"
fill=
"0"
indent=
"0"
use-parent-layout=
"false"
/>
</constraints>
<properties>
<text
value=
"<html><a href="https://stepic.org/registration?next=%2Fexplore%2Fcourses">Do not have Stepik account?</a></html>"
/>
<toolTipText
value=
"Click To Sign Up To Stepik"
/>
</properties>
</component>
<vspacer
id=
"287e"
>
<constraints>
<grid
row=
"3"
column=
"0"
row-span=
"1"
col-span=
"2"
vsize-policy=
"6"
hsize-policy=
"1"
anchor=
"0"
fill=
"2"
indent=
"0"
use-parent-layout=
"false"
/>
...
...
This diff is collapsed.
Click to expand it.
python/educational-core/src/com/jetbrains/edu/learning/ui/AuthorizationPanel.java
+
0
-
28
View file @
c279b17d
package
com.jetbrains.edu.learning.ui
;
import
com.intellij.ide.BrowserUtil
;
import
com.intellij.ui.components.JBLabel
;
import
com.intellij.ui.components.JBTextField
;
import
com.jetbrains.edu.learning.stepic.EduStepicNames
;
import
javax.swing.*
;
import
java.awt.*
;
import
java.awt.event.MouseAdapter
;
import
java.awt.event.MouseEvent
;
public
class
AuthorizationPanel
{
private
JPanel
myContentPanel
;
private
JBLabel
mySignUpLabel
;
private
JBTextField
myCodeTextField
;
public
AuthorizationPanel
()
{
mySignUpLabel
.
addMouseListener
(
new
MouseAdapter
()
{
@Override
public
void
mouseClicked
(
MouseEvent
e
)
{
BrowserUtil
.
browse
(
EduStepicNames
.
STEPIC_REGISTRATION_LINK
);
}
@Override
public
void
mouseEntered
(
MouseEvent
e
)
{
e
.
getComponent
().
setCursor
(
Cursor
.
getPredefinedCursor
(
Cursor
.
HAND_CURSOR
));
}
@Override
public
void
mouseExited
(
MouseEvent
e
)
{
e
.
getComponent
().
setCursor
(
Cursor
.
getDefaultCursor
());
}
});
}
public
JPanel
getContentPanel
()
{
return
myContentPanel
;
}
...
...
@@ -43,7 +16,6 @@ public class AuthorizationPanel {
return
myCodeTextField
.
getText
();
}
public
JComponent
getPreferableFocusComponent
()
{
return
myCodeTextField
;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help