org.pentaho.ui.xul.XulOverlay Java Examples
The following examples show how to use
org.pentaho.ui.xul.XulOverlay.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AbstractRepositoryExplorerUISupport.java From pentaho-kettle with Apache License 2.0 | 5 votes |
public AbstractRepositoryExplorerUISupport() { super(); handlers = new ArrayList<XulEventHandler>(); overlays = new ArrayList<XulOverlay>(); controllerNames = new ArrayList<String>(); setup(); }
Example #2
Source File: AbstractRepositoryExplorerUISupport.java From pentaho-kettle with Apache License 2.0 | 5 votes |
public void apply( XulDomContainer container ) throws XulException { this.container = container; container.registerClassLoader( getClass().getClassLoader() ); for ( XulEventHandler handler : handlers ) { container.addEventHandler( handler ); } for ( XulOverlay overlay : overlays ) { if ( overlay instanceof RepositoryExplorerDefaultXulOverlay ) { container.loadOverlay( overlay.getOverlayUri(), new XulSpoonResourceBundle( ( (RepositoryExplorerDefaultXulOverlay) overlay ).getPackageClass() ) ); } else { container.loadOverlay( overlay.getOverlayUri(), overlay.getResourceBundleUri() ); } } }
Example #3
Source File: SpoonPerspectiveManager.java From pentaho-kettle with Apache License 2.0 | 5 votes |
private void unloadPerspective( SpoonPerspective per ) { per.setActive( false ); List<XulOverlay> overlays = per.getOverlays(); if ( overlays != null ) { for ( XulOverlay overlay : overlays ) { try { domContainer.removeOverlay( overlay.getOverlayUri() ); } catch ( XulException e ) { log.logError( "Error unload perspective", e ); } } } getSpoon().enableMenus(); }
Example #4
Source File: BeamPerspective.java From kettle-beam with Apache License 2.0 | 4 votes |
@Override public List<XulOverlay> getOverlays() { return null; }
Example #5
Source File: Neo4jPerspective.java From knowbi-pentaho-pdi-neo4j-output with Apache License 2.0 | 4 votes |
@Override public List<XulOverlay> getOverlays() { return null; }
Example #6
Source File: AbstractMqlEditor.java From mql-editor with GNU Lesser General Public License v2.1 | 4 votes |
public void addOverlay( XulOverlay overlay ) throws XulException { container.loadOverlay( overlay.getOverlayUri() ); }
Example #7
Source File: AbstractRepositoryExplorerUISupport.java From pentaho-kettle with Apache License 2.0 | 4 votes |
public List<XulOverlay> getOverlays() { return overlays; }
Example #8
Source File: MainSpoonPerspective.java From pentaho-kettle with Apache License 2.0 | 4 votes |
@Override public List<XulOverlay> getOverlays() { return Collections.singletonList( (XulOverlay) new DefaultXulOverlay( "ui/main_perspective_overlay.xul" ) ); }
Example #9
Source File: SpoonPerspectiveManagerTest.java From pentaho-kettle with Apache License 2.0 | 4 votes |
@Override public List<XulOverlay> getOverlays() { return null; }
Example #10
Source File: StarModelerPerspective.java From pentaho-kettle with Apache License 2.0 | 4 votes |
@Override public List<XulOverlay> getOverlays() { return null; }
Example #11
Source File: IRepositoryExplorerUISupport.java From pentaho-kettle with Apache License 2.0 | 2 votes |
/** * Get the list of overlays for the UI Support * * @return */ public List<XulOverlay> getOverlays();
Example #12
Source File: SpoonPerspective.java From pentaho-kettle with Apache License 2.0 | 2 votes |
/** * A list of Xul Overlays to be applied and removed when the perspective is loaded or unloaded * * @return List of XulOverlays. */ public List<XulOverlay> getOverlays();