org.LexGrid.LexBIG.gui.edit
Class EntityEditDialog

java.lang.Object
  extended by org.LexGrid.LexBIG.gui.edit.AbstractEditDialog<ResolvedConceptReference>
      extended by org.LexGrid.LexBIG.gui.edit.EntityEditDialog
All Implemented Interfaces:
ItemUpdateListener<ResolvedConceptReference>

public class EntityEditDialog
extends AbstractEditDialog<ResolvedConceptReference>


Field Summary
 
Fields inherited from class org.LexGrid.LexBIG.gui.edit.AbstractEditDialog
listeners
 
Constructor Summary
EntityEditDialog(LB_GUI lbGui, java.lang.String revisionId, boolean defaultEnableRevisionEditing, java.lang.String title, org.eclipse.swt.widgets.Shell parent, DialogHandler dialogHandler, ResolvedConceptReference resolvedConceptReference)
           
 
Method Summary
protected  Property getPropertyById(Entity entity, java.lang.String propId)
           
protected  void initComponents(org.eclipse.swt.widgets.Composite composite)
           
 void onItemUpdate(ResolvedConceptReference item)
           
protected  void refreshPropertyComboBox(ResolvedConceptReference ref)
           
protected  ResolvedConceptReference updateItem()
           
 
Methods inherited from class org.LexGrid.LexBIG.gui.edit.AbstractEditDialog
addCheckBox, addItemUpdateListener, addTextBox, buildRevisionInfo, checkBoxFactory, close, comboBoxFactory, getCheckBox, getCheckBoxContent, getDialogHandler, getLbGui, getRevisionEditing, getRevisionId, getShell, getTextBox, getTextBoxContent, isHasBeenEdited, open, setDialogHandler, setLbGui, setShell, textBoxFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityEditDialog

public EntityEditDialog(LB_GUI lbGui,
                        java.lang.String revisionId,
                        boolean defaultEnableRevisionEditing,
                        java.lang.String title,
                        org.eclipse.swt.widgets.Shell parent,
                        DialogHandler dialogHandler,
                        ResolvedConceptReference resolvedConceptReference)
                 throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

initComponents

protected void initComponents(org.eclipse.swt.widgets.Composite composite)
Specified by:
initComponents in class AbstractEditDialog<ResolvedConceptReference>

refreshPropertyComboBox

protected void refreshPropertyComboBox(ResolvedConceptReference ref)

getPropertyById

protected Property getPropertyById(Entity entity,
                                   java.lang.String propId)

updateItem

protected ResolvedConceptReference updateItem()
Specified by:
updateItem in class AbstractEditDialog<ResolvedConceptReference>

onItemUpdate

public void onItemUpdate(ResolvedConceptReference item)
Specified by:
onItemUpdate in interface ItemUpdateListener<ResolvedConceptReference>
Overrides:
onItemUpdate in class AbstractEditDialog<ResolvedConceptReference>

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.