Branch: refs/heads/dynamic_vdbs
Home:
https://github.com/Teiid-Designer/teiid-designer
Commit: 1d489655e38973039a64624795414e0f2627efd3
https://github.com/Teiid-Designer/teiid-designer/commit/1d489655e38973039...
Author: Paul Richardson <p.g.richardson(a)redhat.com>
Date: 2015-06-28 (Sun, 28 Jun 2015)
Changed paths:
M
plugins/org.teiid.designer.diagram.ui/src/org/teiid/designer/diagram/ui/util/DiagramRefactorModelHandler.java
M plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/Messages.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/messages.properties
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/wizards/vdbs/AbstractGenerateVdbManager.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/wizards/vdbs/GenerateArchiveVdbManager.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/wizards/vdbs/GenerateArchiveVdbPageOne.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/wizards/vdbs/GenerateArchiveVdbPageTwo.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/wizards/vdbs/GenerateArchiveVdbWizard.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/wizards/vdbs/GenerateDynamicVdbManager.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/wizards/vdbs/GenerateDynamicVdbPageOne.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/wizards/vdbs/GenerateDynamicVdbPageTwo.java
M
plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/wizards/vdbs/GenerateDynamicVdbWizard.java
M
plugins/org.teiid.designer.dqp/src/org/teiid/designer/runtime/preview/jobs/WorkspacePreviewVdbJob.java
A
plugins/org.teiid.designer.ui.common/src/org/teiid/designer/ui/common/util/CompositeProgressMonitor.java
M plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/BasicVdb.java
M plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/VdbConstants.java
M plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/VdbIndexedEntry.java
M plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/VdbPlugin.java
M plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/XmiVdb.java
M plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/dynamic/DynamicVdb.java
M plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/i18n.properties
M
plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/refactor/VdbResourceChange.java
M
tests/org.teiid.designer.vdb.test/src/org/teiid/designer/komodo/vdb/TestDyamicVdbExport.java
M
tests/org.teiid.designer.vdb.test/src/org/teiid/designer/komodo/vdb/TestDyamicVdbImport.java
Log Message:
-----------
Sort out resource change broadcast and inevitable resource exceptions
* When dynamic vdb is converted to an xmi vdb, resource changes are
broadcast causing operations such as preview vdb creation to fire
* To stop broadcast resource changes conversion must be done inside a
workspace job, which is a runnable hence threaded
* Refactors the Generate Vdb wizards to include a 'generate' button which
executes the job via a wizard-forked runnable. The latter is joined with
the job to ensure both finish at the same time.
* The generate button creates the vdb but only when the wizard is finished
is the vdb saved and available in the filesystem
* In the case of the ArchiveVdbGenerateWizard, if the wizard is cancelled,
any models created by the generate button are cleaned up and removed.
* Provides a conversionInProgress flag in VdbPlugin to allow internal
processes to detect a conversion is in progress if required.
* CompositeProgressMonitor
* Allows collecting together multiple monitors and delegate to each of
them via a single API