|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
de.uni_paderborn.fujaba.app.FrameMain
The main frame of Fujaba, in which all components are integrated.
0..1 tabbedPaneProxy 0..1 TabbedPaneProxy -------------------------------- FrameMain tabbedPaneProxy frameMain 0..n decorators 0..1 FrameDecorator ---------------------------- FrameMain decorators frameMain
Nested Class Summary | |
private class |
FrameMain.DoUpdateStatusBar
Thread for updating the status bar. |
private static class |
FrameMain.FujabaTreeNode
This class extends the DefaultMutableTreeNode, so that some values have spezial representation on the screen |
private class |
FrameMain.PropertyEditorPopupSourceListener
show the current popup source in the property editor |
private class |
FrameMain.StatusBarUpdater
Updates the text of the memory in the status bar. |
Nested classes inherited from class javax.swing.JFrame |
javax.swing.JFrame.AccessibleJFrame |
Nested classes inherited from class java.awt.Frame |
java.awt.Frame.AccessibleAWTFrame |
Nested classes inherited from class java.awt.Window |
java.awt.Window.AccessibleAWTWindow |
Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
private de.upb.tools.fca.FHashSet |
decorators
0..n decorators 0..1 FrameDecorator --------------------------- FrameMain decorators frameMain |
static java.awt.Dimension |
DEFAULT_INTERNAL_FRAME_SIZE
size of an inner diagram frame after creation |
(package private) javax.swing.JDesktopPane |
desktop
container for childwindows |
private de.upb.tools.fca.FLinkedList |
displayedStatusMessages
No comment provided by developer, please add a comment to improve documentation. |
private EditModeFactory |
editModeFactory
for (de)activate alternate editing modes |
private javax.swing.JFileChooser |
fileChooser
No comment provided by developer, please add a comment to improve documentation. |
private SchemaFilter |
filterFujabaProject
No comment provided by developer, please add a comment to improve documentation. |
private SchemaFilter |
filterJarFiles
No comment provided by developer, please add a comment to improve documentation. |
private SchemaFilter |
filterJavaFiles
No comment provided by developer, please add a comment to improve documentation. |
private static FrameMain |
frame
The singleton instance. |
private InternalFrame |
frameDummy
No comment provided by developer, please add a comment to improve documentation. |
(package private) java.util.Map |
frames
map ASGDiagram -> InternalFrame |
private boolean |
inShowDiagram
true while executing showDiagram(de.uni_paderborn.fujaba.asg.ASGDiagram) |
private javax.swing.JSplitPane |
leftSplitPane
horizontal split pane on the left of the main frame |
private static org.apache.log4j.Logger |
log
log4j logging |
private static int |
MAX_DISPLAYED_STATUS_MESSAGES
No comment provided by developer, please add a comment to improve documentation. |
private javax.swing.JLabel |
memoryLabel
No comment provided by developer, please add a comment to improve documentation. |
static java.lang.String |
MESSAGE_CLASS_STATUS
No comment provided by developer, please add a comment to improve documentation. |
private javax.swing.JPanel |
messagePanel
No comment provided by developer, please add a comment to improve documentation. |
private MessageView |
messageView
No comment provided by developer, please add a comment to improve documentation. |
static java.io.File |
PLUGIN_DIR
Directory of the plugins loaded by Fujaba and DOBS |
private static de.uni_kassel.prop.PropertyConfigurationAdapter |
propertyConfiguration
allows Fujaba to specify own popups in property editor |
private de.uni_kassel.prop.JPropertyTable |
propertyEditor
property editor (bottom left) |
(package private) javax.swing.JLabel |
propertyEditorCaption
caption for the property editor (shows currently selected object's class) |
private javax.swing.JPanel |
propertyEditorContainer
container for the property editor |
private javax.swing.AbstractAction |
saveAction
store the value for field saveAction |
private de.upb.tools.fca.FHashMap |
scrollBarPositions
No comment provided by developer, please add a comment to improve documentation. |
private javax.swing.JSplitPane |
splitMessagesAndDesktop
No comment provided by developer, please add a comment to improve documentation. |
private javax.swing.JSplitPane |
splitpane
No comment provided by developer, please add a comment to improve documentation. |
(package private) javax.swing.JLabel |
statusLabel
No comment provided by developer, please add a comment to improve documentation. |
private TabbedPaneProxy |
tabbedPaneProxy
0..1 tabbedPaneProxy 0..1 TabbedPaneProxy -------------------------------- FrameMain tabbedPaneProxy frameMain |
private UMLProject |
umlProject
No comment provided by developer, please add a comment to improve documentation. |
Fields inherited from class javax.swing.JFrame |
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Frame |
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
Fields inherited from class java.awt.Window |
|
Fields inherited from class java.awt.Container |
|
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.WindowConstants |
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
private |
FrameMain()
Initializes FrameMain |
Method Summary | |
private void |
activateFrame(InternalFrame frame)
No comment provided by developer, please add a comment to improve documentation. |
void |
addDiagramToolBar(javax.swing.JToolBar toolBar)
Deprecated. please use getInternalFrame(de.uni_paderborn.fujaba.asg.ASGDiagram) .addDiagramToolBar |
boolean |
addToDecorators(FrameDecorator value)
Access method for an one to n association. |
private void |
centerFrame()
No comment provided by developer, please add a comment to improve documentation. |
void |
closeAllDiagrams()
close all diagrams |
void |
closeAllInternalFrames()
close all internal frames (including diagrams) |
void |
createNewTreeItems()
Updates the tree items of the tabbed panes and builds the dtd tree. |
protected javax.swing.JSplitPane |
createSplitPane(java.awt.Component westComp,
java.awt.Component eastComp)
Creates a horizontal JSplitPane. |
javax.swing.JPanel |
createStatusbar()
Creates a status bar. |
void |
doEverythingOnEntry(ASGDiagram diag)
No comment provided by developer, please add a comment to improve documentation. |
void |
doEverythingOnEntry(ASGDiagram diag,
boolean saveScrollBarPos)
No comment provided by developer, please add a comment to improve documentation. |
void |
doEverythingOnExit(ASGDiagram diag)
No comment provided by developer, please add a comment to improve documentation. |
void |
doEverythingOnExit(ASGDiagram diag,
boolean saveScrollBarPos)
No comment provided by developer, please add a comment to improve documentation. |
static FrameMain |
get()
Returns the singleton FrameMain. |
InternalFrame |
getCurrentInternalFrame()
Currently selected internal frame. |
javax.swing.JDesktopPane |
getDesktop()
Desktop pane for custom child windows. |
FSALayeredPane |
getDiagramRoot()
Deprecated. please use getInternalFrame(yourdiagram).getDiagramRoot() |
EditModeFactory |
getEditMode()
Get the editMode attribute of the FrameMain object |
javax.swing.JFileChooser |
getFileChooser()
Get the fileChooser attribute of the FrameMain object. |
SchemaFilter |
getFilterFujabaProject()
Get the filterFujabaProject attribute of the FrameMain object value. |
SchemaFilter |
getFilterJarFiles()
Get the filterJarFiles attribute of the FrameMain object value |
SchemaFilter |
getFilterJavaFiles()
Get the filterJavaFiles attribute of the FrameMain object value |
javax.swing.JFrame |
getFrame()
Find the hosting frame, for the file-chooser dialog. |
InternalFrame |
getInternalFrame(ASGDiagram diagram)
Find or create an internal frame for a diagram. |
private java.lang.String |
getKiloByte(long memory)
Get the kiloByte attribute of the FrameMain object |
MessageView |
getMessageView()
Default view for messages. |
de.uni_kassel.prop.JPropertyTable |
getPropertyEditor()
Get the propertyEditor attribute of the FrameMain object value |
protected java.awt.Component |
getRightComponent()
Get the rightComponent attribute of the FrameMain object |
javax.swing.AbstractAction |
getSaveAction()
getter for field saveAction |
javax.swing.tree.DefaultMutableTreeNode |
getSelectedTreeNode()
Returns the selected node or null if no selection available. |
javax.swing.JSplitPane |
getSplitPane()
Fetch the JSplitPane contained in this JPanel. |
TabbedPaneProxy |
getTabbedPaneProxy()
Get the tabbedPaneProxy attribute of the FrameMain object |
boolean |
hasInDecorators(FrameDecorator value)
No comment provided by developer, please add a comment to improve documentation. |
void |
hideMessageView()
Hide the message view. |
void |
init()
initializes FrameMain |
boolean |
isInShowDiagram()
Get the inShowDiagram attribute of the FrameMain object |
java.util.Iterator |
iteratorOfDecorators()
No comment provided by developer, please add a comment to improve documentation. |
void |
openFile(java.io.File file)
No comment provided by developer, please add a comment to improve documentation. |
void |
removeAllFromDecorators()
No comment provided by developer, please add a comment to improve documentation. |
void |
removeDiagramToolBar(javax.swing.JToolBar toolBar)
Deprecated. please use getInternalFrame(de.uni_paderborn.fujaba.asg.ASGDiagram) .removeDiagramToolBar |
boolean |
removeFromDecorators(FrameDecorator value)
No comment provided by developer, please add a comment to improve documentation. |
void |
removeYou()
No comment provided by developer, please add a comment to improve documentation. |
private void |
repairUnparseInformation()
No comment provided by developer, please add a comment to improve documentation. |
private void |
saveFSAProperties(FSAContainer container)
No comment provided by developer, please add a comment to improve documentation. |
void |
selectTreeItem(java.lang.Object obj)
Selects a tree item and the associated tab containing this item. |
void |
setCursorDefault()
Sets the default cursor for the whole frame. |
void |
setCursorWait()
Sets the wait cursor for the whole frame. |
void |
setEditMode(EditModeFactory editModeFactory)
Sets the editMode attribute of the FrameMain object |
void |
setMemoryLabel()
Sets the current free memory. |
protected void |
setRightComponent(java.awt.Component comp)
Sets the rightComponent attribute of the FrameMain object |
void |
setSaveAction(javax.swing.AbstractAction value)
setter for field saveAction |
void |
setStatusLabel(java.lang.String text)
Sets the current text of the status bar. |
boolean |
setTabbedPaneProxy(TabbedPaneProxy value)
Sets the tabbedPaneProxy attribute of the FrameMain object |
void |
setUMLProject(UMLProject project)
Set a new UMLProject and reset the tree and other stuff. |
void |
show()
No comment provided by developer, please add a comment to improve documentation. |
void |
showDiagram(ASGDiagram diag)
Switch the view to a specific diagram |
Message |
showError(java.lang.String text,
ASGElement context)
Convenience method to show a standard error text. |
void |
showMessageView()
Show the message view. |
void |
showPropertyEditor(boolean show)
shows/hides the property editor |
void |
showTitle()
Set program title, project name and file name |
int |
sizeOfDecorators()
No comment provided by developer, please add a comment to improve documentation. |
private void |
subscribeActionErrorListener()
No comment provided by developer, please add a comment to improve documentation. |
void |
writePropertyEditorConfig()
No comment provided by developer, please add a comment to improve documentation. |
Methods inherited from class javax.swing.JFrame |
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update |
Methods inherited from class java.awt.Frame |
addNotify, finalize, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
Methods inherited from class java.awt.Window |
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, hide, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, toBack, toFront |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.awt.MenuContainer |
getFont, postEvent |
Field Detail |
private static final transient org.apache.log4j.Logger log
private de.upb.tools.fca.FHashMap scrollBarPositions
javax.swing.JLabel statusLabel
private javax.swing.JLabel memoryLabel
private javax.swing.JSplitPane splitpane
private UMLProject umlProject
private javax.swing.JFileChooser fileChooser
public static final java.io.File PLUGIN_DIR
private javax.swing.JSplitPane leftSplitPane
private de.uni_kassel.prop.JPropertyTable propertyEditor
private javax.swing.JPanel propertyEditorContainer
javax.swing.JLabel propertyEditorCaption
private javax.swing.JPanel messagePanel
private MessageView messageView
private javax.swing.JSplitPane splitMessagesAndDesktop
private static final int MAX_DISPLAYED_STATUS_MESSAGES
public static final java.lang.String MESSAGE_CLASS_STATUS
private EditModeFactory editModeFactory
private static volatile FrameMain frame
private SchemaFilter filterFujabaProject
private SchemaFilter filterJavaFiles
private SchemaFilter filterJarFiles
javax.swing.JDesktopPane desktop
private static de.uni_kassel.prop.PropertyConfigurationAdapter propertyConfiguration
public static java.awt.Dimension DEFAULT_INTERNAL_FRAME_SIZE
private boolean inShowDiagram
showDiagram(de.uni_paderborn.fujaba.asg.ASGDiagram)
java.util.Map frames
private final InternalFrame frameDummy
private TabbedPaneProxy tabbedPaneProxy
0..1 tabbedPaneProxy 0..1 TabbedPaneProxy -------------------------------- FrameMain tabbedPaneProxy frameMain
private de.upb.tools.fca.FHashSet decorators
0..n decorators 0..1 FrameDecorator --------------------------- FrameMain decorators frameMain
private de.upb.tools.fca.FLinkedList displayedStatusMessages
private javax.swing.AbstractAction saveAction
Constructor Detail |
private FrameMain()
Method Detail |
public EditModeFactory getEditMode()
public void setEditMode(EditModeFactory editModeFactory)
editModeFactory
- The new editMode valuepublic static FrameMain get()
public MessageView getMessageView()
public void showMessageView()
public void hideMessageView()
public void init()
private void subscribeActionErrorListener()
public SchemaFilter getFilterFujabaProject()
public SchemaFilter getFilterJavaFiles()
public SchemaFilter getFilterJarFiles()
public javax.swing.JFileChooser getFileChooser()
public javax.swing.JDesktopPane getDesktop()
public boolean isInShowDiagram()
public void showDiagram(ASGDiagram diag)
diag
- what to view and select on the desktopprivate void activateFrame(InternalFrame frame)
frame
- No description providedpublic InternalFrame getInternalFrame(ASGDiagram diagram)
diagram
- what to find a frame for
public InternalFrame getCurrentInternalFrame()
public void closeAllInternalFrames()
public void closeAllDiagrams()
public de.uni_kassel.prop.JPropertyTable getPropertyEditor()
public void showPropertyEditor(boolean show)
show
- when true the property editor is shown (otherwise hidden)public void writePropertyEditorConfig()
private void centerFrame()
public void show()
public boolean setTabbedPaneProxy(TabbedPaneProxy value)
value
- The new tabbedPaneProxy value
public TabbedPaneProxy getTabbedPaneProxy()
public boolean hasInDecorators(FrameDecorator value)
value
- No description provided
public java.util.Iterator iteratorOfDecorators()
public int sizeOfDecorators()
public boolean addToDecorators(FrameDecorator value)
value
- The object added.
public boolean removeFromDecorators(FrameDecorator value)
value
- No description provided
public void removeAllFromDecorators()
public void removeYou()
public void setUMLProject(UMLProject project)
project
- The new uMLProject valuepublic javax.swing.JPanel createStatusbar()
public void setStatusLabel(java.lang.String text)
text
- The new statusLabel valuepublic Message showError(java.lang.String text, ASGElement context)
text
- error message textcontext
- what to highligh if message is clicked
private java.lang.String getKiloByte(long memory)
memory
- No description provided
public void setMemoryLabel()
public void doEverythingOnEntry(ASGDiagram diag)
diag
- No description providedpublic void doEverythingOnEntry(ASGDiagram diag, boolean saveScrollBarPos)
diag
- No description providedsaveScrollBarPos
- No description providedpublic FSALayeredPane getDiagramRoot()
InternalFrame.getDiagramRoot()
public void doEverythingOnExit(ASGDiagram diag)
diag
- No description providedpublic void doEverythingOnExit(ASGDiagram diag, boolean saveScrollBarPos)
diag
- No description providedsaveScrollBarPos
- No description providedprotected javax.swing.JSplitPane createSplitPane(java.awt.Component westComp, java.awt.Component eastComp)
westComp
- No description providedeastComp
- No description provided
protected void setRightComponent(java.awt.Component comp)
comp
- The new rightComponent valueprotected java.awt.Component getRightComponent()
public javax.swing.JSplitPane getSplitPane()
public javax.swing.JFrame getFrame()
public void setCursorWait()
public void setCursorDefault()
public void openFile(java.io.File file)
file
- No description providedprivate void repairUnparseInformation()
private void saveFSAProperties(FSAContainer container)
container
- No description providedpublic void createNewTreeItems()
public void selectTreeItem(java.lang.Object obj)
obj
- The item which will be selected.public javax.swing.tree.DefaultMutableTreeNode getSelectedTreeNode()
public void showTitle()
public void addDiagramToolBar(javax.swing.JToolBar toolBar)
getInternalFrame(de.uni_paderborn.fujaba.asg.ASGDiagram)
.addDiagramToolBar
toolBar
- toolbar to be addedpublic void removeDiagramToolBar(javax.swing.JToolBar toolBar)
getInternalFrame(de.uni_paderborn.fujaba.asg.ASGDiagram)
.removeDiagramToolBar
toolBar
- toolbar to be removedpublic javax.swing.AbstractAction getSaveAction()
public void setSaveAction(javax.swing.AbstractAction value)
value
- new value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |