aminePlatform.guis.cgNotationsGUI
Class CGGraphicEditorUIs

java.lang.Object
  extended byaminePlatform.guis.util.AmineEditorUIs
      extended byaminePlatform.guis.cgNotationsGUI.CGGraphicEditorUIs

public class CGGraphicEditorUIs
extends AmineEditorUIs

Title: guis.cgNotationsGUI.CGGraphicEditorUIs class

Description: CGGraphicEditorUIs implements actions related to UIs CGGraphicEditor

Copyright : Copyright (c) Adil KABBAJ 2004-2009


Field Summary
 CGGraphicEditor currCGGraphicEditor
           
(package private)  javax.swing.JMenuItem menuEditClearAll
           
(package private)  javax.swing.JMenuItem menuEditSelectAll
           
 javax.swing.JToolBar toolBarCGDraw
           
 
Fields inherited from class aminePlatform.guis.util.AmineEditorUIs
amineFrame, btCopy, btCut, btPaste, jChkBxMnItm18, menuBar, menuEdit, menuEditCopy, menuEditCut, menuEditFindReplace, menuEditPaste, menuEditRedo, menuEditUndo, menuFont, sizeFont, styleFont, toolBar, toolBarEdit, toolBarSearch
 
Constructor Summary
CGGraphicEditorUIs(AmineFrame amineFrame)
          JMenu menuDrawConcept = new JMenu("DrawConcept"); // jMenu3 JMenu menuDrawRelation = new JMenu("DrawRelation"); // jMenu4 JMenuItem menuDrawNewConcept = new JMenuItem("New"); // jMenuItem10 //public JMenu menuDrawCG = new JMenu("DrawCG"); // jMenu2.setText("EditCG"); JMenuItem menuDrawZoomInConcept = new JMenuItem("Zoom_In (for context)"); // jMenuItem12 JMenuItem menuDrawEditConcept = new JMenuItem("Edit"); //.setText("Edit"); // jMenuItem11 JMenu menuAlignConcept = new JMenu("Align Concepts To ..."); // jMenu5 JMenuItem menuDrawNewRel = new JMenuItem("New"); // jMenuItem17 JMenuItem menuDrawEditRel = new JMenuItem("Edit"); // jMenuItem18
 
Method Summary
(package private)  void Align_Concs_Bottom(java.awt.event.ActionEvent e)
           
(package private)  void Align_Concs_Left(java.awt.event.ActionEvent e)
           
(package private)  void Align_Concs_Right(java.awt.event.ActionEvent e)
           
(package private)  void Align_Concs_Top(java.awt.event.ActionEvent e)
           
(package private)  void BrowseTo_FatherContext(java.awt.event.ActionEvent e)
           
 void createConc()
          Methods implantés dans AmineCGDrawEditor ********************* void Edit_Cut(ActionEvent e) { hierWndGC.WndActive.getGraphDrawPanel().Couper(); } void Edit_Copy(ActionEvent e) { hierWndGC.WndActive.getGraphDrawPanel().Copier(); } void Edit_Paste(ActionEvent e) { hierWndGC.WndActive.getGraphDrawPanel().StCursToModePaste(); }
 void createRel()
           
(package private)  void Edit_ClearAll(java.awt.event.ActionEvent e)
           
(package private)  void Edit_SelectAll(java.awt.event.ActionEvent e)
           
(package private)  void EditConc(java.awt.event.ActionEvent e)
           
(package private)  void EditRel(java.awt.event.ActionEvent e)
           
 void majItems()
           
 void majMnItm1e2(boolean mode)
           
 void majMnItm2Edt(boolean mode)
           
(package private)  void majMnItmCsRl(boolean mode)
           
(package private)  void majMnItmEdt(boolean mode)
           
 void setEnabledUIs(boolean state)
          void desactEdtBt() { if (currCGGraphicEditor !
(package private)  void Switch_StatusBar(java.awt.event.ActionEvent e)
           
(package private)  void Switch_ToolBar(java.awt.event.ActionEvent e)
           
(package private)  void ZoomIn_Context(java.awt.event.ActionEvent e)
           
 
Methods inherited from class aminePlatform.guis.util.AmineEditorUIs
finalize, getEditor, setEditor
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currCGGraphicEditor

public CGGraphicEditor currCGGraphicEditor

toolBarCGDraw

public javax.swing.JToolBar toolBarCGDraw

menuEditClearAll

javax.swing.JMenuItem menuEditClearAll

menuEditSelectAll

javax.swing.JMenuItem menuEditSelectAll
Constructor Detail

CGGraphicEditorUIs

public CGGraphicEditorUIs(AmineFrame amineFrame)
JMenu menuDrawConcept = new JMenu("DrawConcept"); // jMenu3 JMenu menuDrawRelation = new JMenu("DrawRelation"); // jMenu4 JMenuItem menuDrawNewConcept = new JMenuItem("New"); // jMenuItem10 //public JMenu menuDrawCG = new JMenu("DrawCG"); // jMenu2.setText("EditCG"); JMenuItem menuDrawZoomInConcept = new JMenuItem("Zoom_In (for context)"); // jMenuItem12 JMenuItem menuDrawEditConcept = new JMenuItem("Edit"); //.setText("Edit"); // jMenuItem11 JMenu menuAlignConcept = new JMenu("Align Concepts To ..."); // jMenu5 JMenuItem menuDrawNewRel = new JMenuItem("New"); // jMenuItem17 JMenuItem menuDrawEditRel = new JMenuItem("Edit"); // jMenuItem18

Method Detail

setEnabledUIs

public void setEnabledUIs(boolean state)
void desactEdtBt() { if (currCGGraphicEditor != null) { this.btCut.setEnabled(false); // cut this.btCopy.setEnabled(false); // copy this.btPaste.setEnabled(false); // Paste } //btDrawNewConcept.setEnabled(false); // creer Concept btDrawNewRel.setEnabled(false); // creer Rel }

Overrides:
setEnabledUIs in class AmineEditorUIs

majItems

public void majItems()

majMnItm2Edt

public void majMnItm2Edt(boolean mode)

majMnItmEdt

void majMnItmEdt(boolean mode)

majMnItmCsRl

void majMnItmCsRl(boolean mode)

majMnItm1e2

public void majMnItm1e2(boolean mode)

Edit_ClearAll

void Edit_ClearAll(java.awt.event.ActionEvent e)

Edit_SelectAll

void Edit_SelectAll(java.awt.event.ActionEvent e)

createConc

public void createConc()
Methods implantés dans AmineCGDrawEditor ********************* void Edit_Cut(ActionEvent e) { hierWndGC.WndActive.getGraphDrawPanel().Couper(); } void Edit_Copy(ActionEvent e) { hierWndGC.WndActive.getGraphDrawPanel().Copier(); } void Edit_Paste(ActionEvent e) { hierWndGC.WndActive.getGraphDrawPanel().StCursToModePaste(); }


EditConc

void EditConc(java.awt.event.ActionEvent e)

ZoomIn_Context

void ZoomIn_Context(java.awt.event.ActionEvent e)

Align_Concs_Top

void Align_Concs_Top(java.awt.event.ActionEvent e)

Align_Concs_Bottom

void Align_Concs_Bottom(java.awt.event.ActionEvent e)

Align_Concs_Left

void Align_Concs_Left(java.awt.event.ActionEvent e)

Align_Concs_Right

void Align_Concs_Right(java.awt.event.ActionEvent e)

createRel

public void createRel()

EditRel

void EditRel(java.awt.event.ActionEvent e)

BrowseTo_FatherContext

void BrowseTo_FatherContext(java.awt.event.ActionEvent e)

Switch_StatusBar

void Switch_StatusBar(java.awt.event.ActionEvent e)

Switch_ToolBar

void Switch_ToolBar(java.awt.event.ActionEvent e)