Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Tabs #50

Merged
merged 3 commits into from Oct 16, 2019
Merged

Implement Tabs #50

merged 3 commits into from Oct 16, 2019

Conversation

gary-lgy
Copy link

@gary-lgy gary-lgy commented Oct 15, 2019

The logic and UI for tab switching has been added.

When the ModelContext in ModelManager changes, the UI changes accordingly.

Each tab has its own app content. MainWindow has been modified to display tab specific app content. The implementer for each tab only needs to implement the app content that is relevant to his tab. Currently only the Memes tab has content.

5 tabs are currently added as placeholders, namely Memes, Templates, Archive, Statistics, and Storage (import/export). They can be removed later if desired.

Note: Contexts and tabs are interchangeable terms.
tabs

Fix #17

Copy link

@jonchan51 jonchan51 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only one slight change, change then merge

src/main/java/seedu/weme/ui/TabBar.java Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Separate view into tabs
2 participants