Added PlantUML class diagram for audio section

This commit is contained in:
Martijn Brekhof 2016-12-27 15:45:08 +01:00 committed by Synced Synapse
parent 230557cede
commit 45efd0f523
1 changed files with 105 additions and 0 deletions

105
doc/diagrams/audio.puml Normal file
View File

@ -0,0 +1,105 @@
@startuml
abstract class BaseActivity
abstract class AbstractDetailsFragment
abstract class AbstractListFragment
abstract class AbstractCursorListFragment
class MusicActivity
class Fragment
class MusicListFragment
class ArtistDetailsFragment {
# View createView(LayoutInflater inflater, ViewGroup container)
# String getSyncType()
# String getSyncID()
# int getSyncItemID()
# SwipeRefreshLayout getSwipeRefreshLayout()
# void onDownload()
# void onSyncProcessEnded(MediaSyncEvent event)
}
class AlbumDetailsFragment {
# View createView(LayoutInflater inflater, ViewGroup container)
# String getSyncType()
# String getSyncID()
# int getSyncItemID()
# SwipeRefreshLayout getSwipeRefreshLayout()
# void onDownload()
# void onSyncProcessEnded(MediaSyncEvent event)
}
class MusicVideoDetailsFragment {
# View createView(LayoutInflater inflater, ViewGroup container)
# String getSyncType()
# String getSyncID()
# int getSyncItemID()
# SwipeRefreshLayout getSwipeRefreshLayout()
# void onDownload()
# void onSyncProcessEnded(MediaSyncEvent event)
}
class ArtistListFragment {
# void onListItemClicked(View view)
# CursorLoader createCursorLoader()
# String getListSyncType()
# BaseAdapter createAdapter()
}
class AlbumListFragment {
# void onListItemClicked(View view)
# CursorLoader createCursorLoader()
# String getListSyncType()
# BaseAdapter createAdapter()
}
class SongsListFragment {
# void onListItemClicked(View view)
# CursorLoader createCursorLoader()
# String getListSyncType()
# BaseAdapter createAdapter()
}
class MusicVideoListFragment {
# void onListItemClicked(View view)
# CursorLoader createCursorLoader()
# String getListSyncType()
# BaseAdapter createAdapter()
}
class AudioGenresListFragment {
# void onListItemClicked(View view)
# CursorLoader createCursorLoader()
# String getListSyncType()
# BaseAdapter createAdapter()
}
BaseActivity <|-- MusicActivity
Fragment <|-- MusicListFragment
AbstractDetailsFragment <|-- ArtistDetailsFragment
AbstractDetailsFragment <|-- AlbumDetailsFragment
AbstractDetailsFragment <|-- MusicVideoDetailsFragment
Fragment <|-- AbstractListFragment
AbstractListFragment <|-- AbstractCursorListFragment
AbstractCursorListFragment <|-- ArtistListFragment
AbstractCursorListFragment <|-- AlbumListFragment
AbstractCursorListFragment <|-- SongsListFragment
AbstractCursorListFragment <|-- MusicVideoListFragment
AbstractCursorListFragment <|-- AudioGenresListFragment
MusicActivity *-- MusicListFragment
MusicListFragment *-- ArtistListFragment
MusicListFragment *-- AlbumListFragment
MusicListFragment *-- SongsListFragment
MusicListFragment *-- MusicVideoListFragment
MusicListFragment *-- AudioGenresListFragment
ArtistListFragment *-- ArtistDetailsFragment
AlbumListFragment *-- AlbumDetailsFragment
AudioGenresListFragment *-- AlbumDetailsFragment
MusicVideoListFragment *-- MusicVideoDetailsFragment
@enduml