|
|||||||||||
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 |
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 | |
static java.awt.Dimension |
DEFAULT_INTERNAL_FRAME_SIZE
size of an inner diagram frame after creation |
static java.lang.String |
MESSAGE_CLASS_STATUS
No comment provided by developer, please add a comment to improve documentation. |
static java.io.File |
PLUGIN_DIR
Deprecated. Use PluginsPreferences.getPluginDirs () |
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.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 |
Method Summary | |
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. |
void |
closeAllDiagrams()
close all diagrams |
void |
closeAllInternalFrames()
close all internal frames (including diagrams) |
void |
closeInternalFrameOfDiag(ASGDiagram diag)
Close the internal frame of the diagram if one exists. |
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. |
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. |
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. |
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 |
public static final java.io.File PLUGIN_DIR
public static final java.lang.String MESSAGE_CLASS_STATUS
public static java.awt.Dimension DEFAULT_INTERNAL_FRAME_SIZE
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()
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 desktoppublic InternalFrame getInternalFrame(ASGDiagram diagram)
diagram
- what to find a frame for
public InternalFrame getCurrentInternalFrame()
public void closeAllInternalFrames()
public void closeInternalFrameOfDiag(ASGDiagram diag)
diag
- The ASG diagram to be closedpublic 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()
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
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 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 |