ix.iview
Class SimpleDomainEditor
java.lang.Object
ix.iview.SimpleDomainEditor
- All Implemented Interfaces:
- InternalDomainEditor, java.awt.event.ActionListener, java.util.EventListener
public class SimpleDomainEditor
- extends java.lang.Object
- implements InternalDomainEditor, java.awt.event.ActionListener
A simple domain editor.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
frame
javax.swing.JFrame frame
contentPane
java.awt.Container contentPane
refinementMenu
javax.swing.JMenu refinementMenu
refinementEditor
SimpleDomainEditor.RefinementEditor refinementEditor
agent
IXAgent agent
dom
Domain dom
SimpleDomainEditor
public SimpleDomainEditor(IXAgent agent,
Domain dom)
setUpFrame
protected void setUpFrame()
setVisible
public void setVisible(boolean v)
- Specified by:
setVisible
in interface InternalDomainEditor
setLocation
public void setLocation(int x,
int y)
saveExpansion
public void saveExpansion(Refinement r)
- Specified by:
saveExpansion
in interface InternalDomainEditor
ensureRefinementEditor
protected void ensureRefinementEditor()
makeMenuBar
protected javax.swing.JMenuBar makeMenuBar()
makeMenuItem
protected javax.swing.JMenuItem makeMenuItem(java.lang.String text)
populateRefinementMenu
protected void populateRefinementMenu()
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
clearDomain
protected void clearDomain()
parseNodes
public static ix.icore.domain.ListOfNodeSpec parseNodes(java.lang.String expansion)
sequentialOrderings
public static ix.icore.domain.ListOfOrdering sequentialOrderings(java.util.List nodes)
orderingsAreSequential
public static boolean orderingsAreSequential(java.util.List nodes,
java.util.List orderings)