com.bonevich.erj.ui.editor
Class SchemaEditor

java.lang.Object
  |
  +--com.bonevich.erj.ui.editor.ModelEditor
        |
        +--com.bonevich.erj.ui.editor.SchemaEditor
All Implemented Interfaces:
ErjConstants

public final class SchemaEditor
extends ModelEditor

A model editor for Schema.

See Also:
Schema, ModelEditor

Field Summary
static int MODE_EDIT_DOMAINS
           
static int MODE_EDIT_RELATIONS
           
static int MODE_EDIT_SCHEMA
           
static java.lang.String NAME_EDIT_DOMAINS
           
static java.lang.String NAME_EDIT_RELATIONS
           
static java.lang.String NAME_EDIT_SCHEMA
           
static java.lang.String REL_ADD
           
static java.lang.String REL_DELETE
           
static java.lang.String REL_EDIT
           
static java.lang.String TIP_EDIT_DOMAINS
           
static java.lang.String TIP_EDIT_RELATIONS
           
static java.lang.String TIP_EDIT_SCHEMA
           
 
Fields inherited from class com.bonevich.erj.ui.editor.ModelEditor
_descBrdr, _descPane, _descText, _identifierLabel, _identifierPane, _identifierText, _nameLabel, _namePane, _nameText, _propPane, DESC_STR, IDENTIFIER_STR, NAME_STR
 
Fields inherited from interface com.bonevich.erj.ErjConstants
EDITOR_COLOR, EDITOR_FONT, EMPTY_STR, ICON_AK, ICON_DOMAIN, ICON_FK, ICON_FOREIGNKEY, ICON_NOTNULL, ICON_NULL, ICON_PK, ICON_RELATION, ICON_SCHEMA, ICON_SPLASH, INITIAL_FRAME_SIZE, LABEL_COLOR, LABEL_FILL, LABEL_FONT, LABEL_FONT_ITALIC, LABEL_FONT_SIZE, LABEL_FONTMETRICS, STATUSBAR_COLOR, STATUSBAR_FONT, STATUSBAR_FONT_ITALIC, STATUSBAR_MOD_FILL, SUBLABEL_FILL
 
Constructor Summary
SchemaEditor(javax.swing.JTabbedPane parent, Schema schema)
           
 
Method Summary
protected  void initTabs()
           
 void updateEditor()
           
 void updateModel()
           
 boolean validate()
           
 
Methods inherited from class com.bonevich.erj.ui.editor.ModelEditor
addTab, getOwner, getParent, getWindow, ownerUpdated, setDefaultIcon, setDefaultIndex, setDefaultLabel, setDefaultTip, setOwner, setParent, setWindow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODE_EDIT_SCHEMA

public static final int MODE_EDIT_SCHEMA
See Also:
Constant Field Values

MODE_EDIT_RELATIONS

public static final int MODE_EDIT_RELATIONS
See Also:
Constant Field Values

MODE_EDIT_DOMAINS

public static final int MODE_EDIT_DOMAINS
See Also:
Constant Field Values

NAME_EDIT_SCHEMA

public static final java.lang.String NAME_EDIT_SCHEMA
See Also:
Constant Field Values

NAME_EDIT_RELATIONS

public static final java.lang.String NAME_EDIT_RELATIONS
See Also:
Constant Field Values

NAME_EDIT_DOMAINS

public static final java.lang.String NAME_EDIT_DOMAINS
See Also:
Constant Field Values

TIP_EDIT_SCHEMA

public static final java.lang.String TIP_EDIT_SCHEMA
See Also:
Constant Field Values

TIP_EDIT_RELATIONS

public static final java.lang.String TIP_EDIT_RELATIONS
See Also:
Constant Field Values

TIP_EDIT_DOMAINS

public static final java.lang.String TIP_EDIT_DOMAINS
See Also:
Constant Field Values

REL_ADD

public static final java.lang.String REL_ADD
See Also:
Constant Field Values

REL_EDIT

public static final java.lang.String REL_EDIT
See Also:
Constant Field Values

REL_DELETE

public static final java.lang.String REL_DELETE
See Also:
Constant Field Values
Constructor Detail

SchemaEditor

public SchemaEditor(javax.swing.JTabbedPane parent,
                    Schema schema)
Method Detail

initTabs

protected void initTabs()
Overrides:
initTabs in class ModelEditor

validate

public boolean validate()
Specified by:
validate in class ModelEditor

updateModel

public void updateModel()
Specified by:
updateModel in class ModelEditor

updateEditor

public void updateEditor()
Specified by:
updateEditor in class ModelEditor


Copyright © 2001-2003 bonevich.com. All Rights Reserved.