Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Team 14 - IDATT1002
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
Container Registry
Model registry
Operate
Environments
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
Eirik Steira
Team 14 - IDATT1002
Merge requests
!56
Added option to view albums
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Added option to view albums
link_open_albums
into
dev
Overview
0
Commits
1
Pipelines
1
Changes
2
Merged
Nicolay Schiøll-Johansen
requested to merge
link_open_albums
into
dev
5 years ago
Overview
0
Commits
1
Pipelines
1
Changes
2
Expand
0
0
Merge request reports
Compare
dev
dev (base)
and
latest version
latest version
61ea5a3f
1 commit,
5 years ago
2 files
+
41
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
src/main/java/NTNU/IDATT1002/controllers/ExploreAlbums.java
+
15
−
0
Options
@@ -51,6 +51,11 @@ public class ExploreAlbums {
public
Text
album_desc5
;
public
Text
album_tags5
;
public
Button
tbar_albums
;
public
Button
open_album4
;
public
Button
open_album3
;
public
Button
open_album2
;
public
Button
open_album1
;
public
Button
open_album
;
public
void
switchToSearch
(
ActionEvent
actionEvent
)
throws
IOException
{
App
.
setRoot
(
"search"
);
@@ -87,4 +92,14 @@ public class ExploreAlbums {
public
void
switchToAlbums
(
ActionEvent
actionEvent
)
throws
IOException
{
App
.
setRoot
(
"explore_albums"
);
}
/**
* Method to open specific albums using the "Open Album" button
* @param actionEvent
* @throws IOException
*/
public
void
switchToViewAlbum
(
ActionEvent
actionEvent
)
throws
IOException
{
//TODO: write method to open the specific album chosen
App
.
setRoot
(
"view_album"
);
}
}
Loading