Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Proma
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Joona Nylander
Proma
Commits
286bdc52
Commit
286bdc52
authored
3 years ago
by
aarnipe
Browse files
Options
Downloads
Patches
Plain Diff
JavaDoc grind part 2, added some package-info, removed unused controller frames
parent
09c36f51
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/java/r8/view/mainView/profileView/ProfileViewController.java
+0
-1
0 additions, 1 deletion
...a/r8/view/mainView/profileView/ProfileViewController.java
src/main/java/r8/view/navigation/GetView.java
+9
-0
9 additions, 0 deletions
src/main/java/r8/view/navigation/GetView.java
with
9 additions
and
1 deletion
src/main/java/r8/view/mainView/profileView/ProfileViewController.java
+
0
−
1
View file @
286bdc52
...
...
@@ -169,7 +169,6 @@ public class ProfileViewController {
return
true
;
}
private
void
showNotification
(
String
title
,
String
text
,
boolean
success
){
ImageView
icon
=
null
;
if
(
success
)
icon
=
new
ImageView
(
new
Image
(
"/image/success-ico.png"
));
...
...
This diff is collapsed.
Click to expand it.
src/main/java/r8/view/navigation/GetView.java
+
9
−
0
View file @
286bdc52
...
...
@@ -8,10 +8,19 @@ import java.nio.charset.Charset;
import
java.nio.charset.StandardCharsets
;
import
java.util.ResourceBundle
;
/**
* Resource loader for .fxml files and {@link ResourceBundle}.
* Used whenever parent view or subview view is loaded.
*/
public
class
GetView
{
private
Pane
view
;
/**
* Loads requested view based on view name received as a parameter
* @param viewName is the name of fxml file to load without the .fxml extension
* @return loaded view
*/
public
Pane
getView
(
String
viewName
)
{
FXMLLoader
loader
=
new
FXMLLoader
();
try
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment