Compare commits

...

2 Commits

Author SHA1 Message Date
cmeng-talend
765dcf69bb TBD-1375 feature: Check possible wizards to add Couch DB
https://jira.talendforge.org/browse/TBD-1375

Retrieve Schema for CouchDB, not finished
2014-12-30 17:23:31 +08:00
cmeng-talend
daa6260119 TBD-1375 feature: Check possible wizards to add Couch DB
https://jira.talendforge.org/browse/TBD-1375

Done:
1. Add the CouchDB wizard
2. Change the tCouchDB* components to make them D&Dable
2014-12-30 17:22:20 +08:00
4 changed files with 24 additions and 1 deletions

View File

@@ -189,4 +189,12 @@ public class CheckColumnSelectionListener implements ITableColumnSelectionListen
checked ? ImageProvider.getImage(EImage.CHECKED_ICON) : ImageProvider.getImage(EImage.UNCHECKED_ICON));
tableViewerCreator.refreshTableEditorControls();
}
public boolean isChecked() {
return checked;
}
public void setChecked(boolean isChecked) {
checked = isChecked;
}
}

View File

@@ -142,8 +142,14 @@ public abstract class AbstractDataTableEditorView<B> {
* @param mainCompositeStyle
*/
public AbstractDataTableEditorView(Composite parentComposite, int mainCompositeStyle, boolean initGraphicsComponents) {
this(parentComposite, mainCompositeStyle, initGraphicsComponents, true);
}
public AbstractDataTableEditorView(Composite parentComposite, int mainCompositeStyle, boolean initGraphicsComponents,
boolean toolbarVisable) {
this.parentComposite = parentComposite;
this.mainCompositeStyle = mainCompositeStyle;
this.toolbarVisible = toolbarVisable;
if (initGraphicsComponents) {
initGraphicComponents();
}

View File

@@ -159,6 +159,11 @@ public abstract class AbstractMetadataTableEditorView<B> extends AbstractDataTab
super(parentComposite, mainCompositeStyle, initGraphicsComponents);
}
public AbstractMetadataTableEditorView(Composite parentComposite, int mainCompositeStyle, boolean initGraphicsComponents,
boolean toolbarVisable) {
super(parentComposite, mainCompositeStyle, initGraphicsComponents, toolbarVisable);
}
/**
* DOC amaumont AbstractMetadataTableEditorView constructor comment.
*

View File

@@ -29,7 +29,6 @@ import org.talend.core.model.metadata.builder.connection.impl.MetadataColumnImpl
import org.talend.core.model.metadata.types.TypesManager;
import org.talend.core.runtime.CoreRuntimePlugin;
import org.talend.core.ui.proposal.JavaSimpleDateFormatProposalProvider;
import orgomg.cwm.objectmodel.core.TaggedValue;
/**
@@ -65,6 +64,11 @@ public class MetadataEmfTableEditorView extends AbstractMetadataTableEditorView<
super(parentComposite, mainCompositeStyle, initGraphicsComponents);
}
public MetadataEmfTableEditorView(Composite parentComposite, int mainCompositeStyle, boolean initGraphicsComponents,
boolean toolbarVisable) {
super(parentComposite, mainCompositeStyle, initGraphicsComponents, toolbarVisable);
}
/**
* Graphics components are automatically initialized.
*