tudresden.ocl.sql.gui
Class ClassSplitterCreator
java.lang.Object
tudresden.ocl.sql.gui.ClassSplitterCreator
- All Implemented Interfaces:
- StrategyCreator
- public class ClassSplitterCreator
- extends Object
- implements StrategyCreator
A StrategyCreator for the ClassSplitter-ClassStrategy
- Author:
- Andrea Kling
- See Also:
ClassSplitter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
strategy
private ClassSplitter strategy
myInstance
private static ClassSplitterCreator myInstance
ClassSplitterCreator
private ClassSplitterCreator()
getInstance
public static ClassSplitterCreator getInstance()
getStrategyType
public String getStrategyType()
- Specified by:
getStrategyType
in interface StrategyCreator
- Returns:
- the Type of Strategy according to Types defined in ORMappingImpl (ORMappingImpl.CLASS)
- See Also:
ORMappingImpl
getStrategyDescription
public String getStrategyDescription()
- Specified by:
getStrategyDescription
in interface StrategyCreator
- Returns:
- a short description of the mapping method
getStrategyView
public JComponent getStrategyView(ru.novosoft.uml.MBase element)
- a View to make input for StrategyCreation possible.
The JComponent returned tries to dispose its toplevel ancestor
when done with input if it is a JDialog,
assuming the Dialog was opened only to show this component
- Specified by:
getStrategyView
in interface StrategyCreator
- Parameters:
element
- the MClassifier that shall be split into several tables
- Returns:
- a component making all necessary input for the creation
of the Strategy available
getStrategy
public Object getStrategy()
- Specified by:
getStrategy
in interface StrategyCreator
- Returns:
- a ClassSplitter, null if not enough data was provided by the view
- See Also:
ClassSplitter
Submit a bug
Developed at the Dresden University of Technology.
This software is published under the GNU Lesser General Public License.