diff options
Diffstat (limited to 'org.openembedded.bc.ui/src/org/openembedded/bc/ui/wizards/variable/VariableWizard.java')
-rw-r--r-- | org.openembedded.bc.ui/src/org/openembedded/bc/ui/wizards/variable/VariableWizard.java | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/org.openembedded.bc.ui/src/org/openembedded/bc/ui/wizards/variable/VariableWizard.java b/org.openembedded.bc.ui/src/org/openembedded/bc/ui/wizards/variable/VariableWizard.java new file mode 100644 index 0000000..d93a440 --- /dev/null +++ b/org.openembedded.bc.ui/src/org/openembedded/bc/ui/wizards/variable/VariableWizard.java @@ -0,0 +1,43 @@ +package org.openembedded.bc.ui.wizards.variable; + +import java.util.Hashtable; +import java.util.Map; + +import org.eclipse.jface.viewers.IStructuredSelection; +import org.openembedded.bc.ui.wizards.FiniteStateWizard; + + +/** + * This wizard is used to view, filter, and search for BitBake variables and variable contents. + * @author kgilmer + * + */ +public class VariableWizard extends FiniteStateWizard { + + private Map model; + + public VariableWizard(Map model) { + this.model = model; + setWindowTitle("BitBake Commander"); + } + + public VariableWizard(IStructuredSelection selection) { + model = new Hashtable(); + } + + @Override + public void addPages() { + addPage(new VariablePage(model)); + } + + @Override + public Map getModel() { + return model; + } + + @Override + public boolean performFinish() { + return true; + } + +} |