FrameSvc
Method Summary |
public void |
|
public void | |
public void | |
public void |
|
public void |
|
public |
|
public |
|
public |
|
public boolean |
|
public boolean |
|
public boolean |
|
public boolean |
|
public boolean |
|
public boolean |
|
public boolean |
|
public boolean |
|
public boolean |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
Method Detail |
public void addForwardingFocusListener(Adds a focus listener that will forward focus from the specified JComponent to its first focusable child.JComponent
from,JComponent
to)
public void addView(Adds a view to the available pool of views, potentially visible and focused. the view will initially appear alone in a floating palette. If executed on a background thread, this function will have no effect until it can execute on the event thread.String
viewClass,String
label, boolean visible, boolean focus)
Related Topics
FrameSvc.I.addView(String, String, String, boolean, boolean)
FrameSvc.I.addView(String, FrameSvc.LayoutConstraints)
FrameSvc.I.addView(String, String, FrameSvc.LayoutConstraints)
FrameSvc.I.removeView(String)
FrameSvc.I.removeView(String, String)
public void addView(Adds a view to the available pool of views, potentially visible and focused. the view will initially appear alone in a floating palette. If executed on a background thread, this function will have no effect until it can execute on the event thread.String
viewClass,String
id,String
label, boolean visible, boolean focus)
Related Topics
FrameSvc.I.addView(String, String, boolean, boolean)
FrameSvc.I.addView(String, FrameSvc.LayoutConstraints)
FrameSvc.I.addView(String, String, FrameSvc.LayoutConstraints)
FrameSvc.I.removeView(String)
FrameSvc.I.removeView(String, String)
public void addView(Adds a view to the available pool of views, potentially visible and focused. the view may be fairly precisely placed in the UI using the 'constraints' parameter. If executed on a background thread, this function will have no effect until it can execute on the event thread.String
viewClass,FrameSvc.LayoutConstraints
constraints)
Related Topics
FrameSvc.I.addView(String, String, boolean, boolean)
FrameSvc.I.addView(String, String, String, boolean, boolean)
FrameSvc.I.addView(String, String, FrameSvc.LayoutConstraints)
FrameSvc.I.removeView(String)
FrameSvc.I.removeView(String, String)
public void addView(Adds a view to the available pool of views, potentially visible and focused. the view may be fairly precisely placed in the UI using the 'constraints' parameter. If executed on a background thread, this function will have no effect until it can execute on the event thread.String
viewClass,String
id,FrameSvc.LayoutConstraints
constraints)
Related Topics
FrameSvc.I.addView(String, String, boolean, boolean)
FrameSvc.I.addView(String, String, String, boolean, boolean)
FrameSvc.I.addView(String, FrameSvc.LayoutConstraints)
FrameSvc.I.removeView(String)
FrameSvc.I.removeView(String, String)
public String
getCurrentLayout()
Gets the layout ID for the currently active layout.
Related Topics
FrameSvc.I.setCurrentLayout(String)
public JFrame
getRootFrame()
Returns the main application JFrame.
publicObtain the view object associated with the given component. This will return an IDocumentView, an IFrameView or a Component depending on how the object is defined.Object
getViewOwner(Component
c)
public boolean isInFloatingWindow(Component
c)
Determines if the given component is currently located in an
undocked window.
public boolean isViewAdded(String
viewClass)
Returns true if the specified docking view has been added to the pool
of available windows.
public boolean isViewAdded(Returns true if the specified docking view has been added to the pool of available windows.String
viewClass,String
id)
public boolean isViewOpen(String
viewClass)
Returns true if the specified docking view is currently open, even if it
is not visible, in an inactive tab.
Related Topics
FrameSvc.I.isViewVisible(String)
public boolean isViewOpen(Returns true if the specified docking view is currently open, even if it is not visible, in an inactive tab.String
viewClass,String
id)
Related Topics
FrameSvc.I.isViewVisible(String, String)
public boolean isViewVisible(String
viewClass)
Returns true if the specified docking view is currently visible on screen.
Related Topics
FrameSvc.I.setViewVisible(String, boolean, boolean)
FrameSvc.I.isViewOpen(String)
public boolean isViewVisible(Returns true if the specified docking view is currently visible on screen.String
viewClass,String
id)
Related Topics
FrameSvc.I.setViewVisible(String, boolean, boolean)
FrameSvc.I.isViewOpen(String, String)
public boolean isWaiting()Queries whether a wait cursor is currently being displayed.
Related Topics
FrameSvc.I.setWaiting(boolean)
public boolean populateViewsMenu(Populates a menu group with views of a specified scope. used by menu generators.IActionContainer
menu,String
scope,String
generatorClassName)
public void recalcLayout()Forces the current application layout to check all view availability, and re-layout accordingly. If executed on a background thread, this function will have no effect until it can execute on the event thread.
public void refresh()Immediately causes a refresh of the screen.
public void refresh(JComponent
component)
Immediately causes a refresh of the component.
public void removeView(String
viewClass)
Removes a view for the available pool of views.
If executed on a background thread, this function will have no
effect until it can execute on the event thread.
public void removeView(Removes a view for the available pool of views. If executed on a background thread, this function will have no effect until it can execute on the event thread.String
viewClass,String
id)
public void requestDocumentFocus()Sets focus to the document pane.
public void setCurrentLayout(String
layoutId)
Causes a layout switch based on a layout ID. If the layout has associated
'application-layout' information from loading the extension.xml files, then
this layout is loaded. Otherwise the existing layout is used.
All layouts initiated in this way are persisted to user preferences, and
restored complete with user modifications on subsequent layout loads.
The only layouts currently supported are "main" and "urn:com-bea-ide:debug".
Related Topics
public void setViewVisible(String
viewClass,
boolean visible,
boolean focus)
Shows/hides a docking view, and potentially sets focus to it.
If executed on a background thread, this function will have no
effect until it can execute on the event thread.
Related Topics
FrameSvc.I.isViewVisible(String)
public void setViewVisible(String
viewClass,
boolean visible)
public void setViewVisible(Shows/hides a docking view, and potentially sets focus to it. If executed on a background thread, this function will have no effect until it can execute on the event thread.String
viewClass,String
id, boolean visible, boolean focus)
Related Topics
FrameSvc.I.isViewVisible(String)
public void setViewVisible(String
viewClass,String
id, boolean visible)
public void setWaiting(boolean waiting)Sets the UI to reflect a wait state (wait cursor). Calls that set wait state to true, must ensure that the wait state is returned to false, or else the UI will not respond. There should be a try/finally that insures waiting is set back to false. This is ref-counted, so if setWaiting(true) is called 3 times, the wait cursor will not go away until the third call to setWaiting(false).
public void show()For use only by the IDE core during startup to show the main JFrame.
public void showExceptionDialog(Throwable
t)
Displays a dialog informing the user of a fatal exception, and
gives them options for exiting the IDE. This method should be used
for errors that are unlikely to be recovered from or that represent
a serious problem that needs to be reported.