aminePlatform.guis.graphDrawing
Interface MainFrame

All Known Implementing Classes:
CGGraphicEditor

public interface MainFrame

Title : MainFrame

Description : MainFrame is an interface for the specification of the main frame for Graph Drawing

Copyright : Copyright (c) Adil KABBAJ 2004-2009


Method Summary
 void addChild(GraphDrawFrame frame, GraphDrawFrame newChild)
           
 void closeFrame(GraphDrawFrame graphDrawFrame, boolean andDescendant)
           
 void File_Save()
           
 java.util.ArrayList getChildrenOf(GraphDrawFrame graphDrawFrame)
           
 GraphDrawFrame getCurrentGraphDrawFrame()
           
 javax.swing.JDesktopPane getDeskTop()
           
 javax.swing.JDesktopPane getDeskTopBrowser()
           
 HierarchyWndCG getHierarchyWndCG()
           
 GraphDrawContainer getNewGraphDrawContainer(GraphDrawFrame frame, Lexicon lexicon)
           
 void onCopy()
           
 void onCut()
           
 void onEditEdge()
           
 void onEditNode()
           
 void onPaste()
           
 void repaintMainFrame()
           
 void setCurrentGraphDrawFrame(GraphDrawFrame graphDrawFrame)
           
 void setHierarchyWndCG(HierarchyWndCG hierWndCG)
           
 void updateMenuItems()
           
 void updateMenuItems1And2(boolean mode)
           
 

Method Detail

getCurrentGraphDrawFrame

public GraphDrawFrame getCurrentGraphDrawFrame()

setCurrentGraphDrawFrame

public void setCurrentGraphDrawFrame(GraphDrawFrame graphDrawFrame)

updateMenuItems

public void updateMenuItems()

updateMenuItems1And2

public void updateMenuItems1And2(boolean mode)

closeFrame

public void closeFrame(GraphDrawFrame graphDrawFrame,
                       boolean andDescendant)

getChildrenOf

public java.util.ArrayList getChildrenOf(GraphDrawFrame graphDrawFrame)

addChild

public void addChild(GraphDrawFrame frame,
                     GraphDrawFrame newChild)

getHierarchyWndCG

public HierarchyWndCG getHierarchyWndCG()

setHierarchyWndCG

public void setHierarchyWndCG(HierarchyWndCG hierWndCG)

repaintMainFrame

public void repaintMainFrame()

File_Save

public void File_Save()

getDeskTop

public javax.swing.JDesktopPane getDeskTop()

getDeskTopBrowser

public javax.swing.JDesktopPane getDeskTopBrowser()

getNewGraphDrawContainer

public GraphDrawContainer getNewGraphDrawContainer(GraphDrawFrame frame,
                                                   Lexicon lexicon)

onCut

public void onCut()

onCopy

public void onCopy()

onPaste

public void onPaste()

onEditNode

public void onEditNode()

onEditEdge

public void onEditEdge()