Last change
on this file since 193 was
193,
checked in by Maciej Komosinski, 10 years ago
|
Set svn:eol-style native for all textual files
|
-
Property svn:eol-style set to
native
|
File size:
428 bytes
|
Line | |
---|
1 | package com.framsticks.visualization; |
---|
2 | |
---|
3 | import com.framsticks.gui.PanelProvider; |
---|
4 | import com.framsticks.gui.TreePanel; |
---|
5 | |
---|
6 | /** |
---|
7 | * Author: Piotr Śniegowski |
---|
8 | */ |
---|
9 | public class SingleViewPanelProvider implements PanelProvider { |
---|
10 | @Override |
---|
11 | public TreePanel providePanel(TreePanel.Parameters parameters) { |
---|
12 | if (parameters.param.getContainedTypeName().equals("Model")) { |
---|
13 | return new SingleViewPanel(parameters); |
---|
14 | } |
---|
15 | return null; |
---|
16 | } |
---|
17 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.