com.tensegrity.palowebviewer.modules.ui.client
Class UIManager
java.lang.Object
com.tensegrity.palowebviewer.modules.ui.client.UIManager
public class UIManager
- extends java.lang.Object
UIManager - User Interface manager.
Manages UI Layuts, Actions, dialogs and other UI components
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
showFavoriteViews
protected boolean showFavoriteViews
UIManager
public UIManager(IEngine engine)
- Create new instanse of UIManager
- Parameters:
engine
- the Application Engine
getEditorFactory
public IXEditorFactory getEditorFactory()
- Returns editor factory for XObjects.
- Returns:
- instance of IXEditorFactory;
addListener
public void addListener(IUIManagerListener listener)
removeListener
public void removeListener(IUIManagerListener listener)
getEngine
public IEngine getEngine()
getPaloTreeModel
public PaloTreeModel getPaloTreeModel()
- Returns:
- PaloTreeModel (for db viewer component)
getFavoriteViewsModel
public FavoriteViewsModel getFavoriteViewsModel()
getFilterTreeModel
public DatabaseBrowserTreeModel getFilterTreeModel()
start
public void start()
- Starts UI. Create main frame, show it and asks for the authenification
getTablePath
public java.lang.String[] getTablePath()
isTableOnly
public boolean isTableOnly()
isEditorOnly
public boolean isEditorOnly()
isBusy
public boolean isBusy()
getEditorViewFactory
public IXObjectEditorViewFactory getEditorViewFactory()
getTreeWidgetFactory
public IWidgetFactory getTreeWidgetFactory()
getIconFactory
public IIconFactory getIconFactory()
getLogoutAction
public IAction getLogoutAction()
getClientProperties
public IClientProperties getClientProperties()
openView
public void openView(ViewLink link)
openView
public void openView(java.lang.String[] path)
openEditor
public void openEditor(XObject object)