| /******************************************************************************* |
| * Copyright (c) 2010 BSI Business Systems Integration AG. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * BSI Business Systems Integration AG - initial API and implementation |
| ******************************************************************************/ |
| package org.eclipse.scout.sdk.ui.wizard.page; |
| |
| import org.eclipse.jdt.core.IType; |
| import org.eclipse.scout.sdk.Texts; |
| import org.eclipse.scout.sdk.ui.wizard.AbstractWorkspaceWizard; |
| import org.eclipse.scout.sdk.workspace.IScoutBundle; |
| |
| public class PageLinkWizard extends AbstractWorkspaceWizard { |
| |
| private PageLinkWizardPage m_linkPageWizardPage; |
| |
| public PageLinkWizard(IScoutBundle clientBunlde) { |
| setWindowTitle(Texts.get("LinkPage")); |
| setLinkPageWizardPage(new PageLinkWizardPage(clientBunlde)); |
| addPage(getLinkPageWizardPage()); |
| } |
| |
| public void setLinkPageWizardPage(PageLinkWizardPage linkPageWizardPage) { |
| m_linkPageWizardPage = linkPageWizardPage; |
| } |
| |
| public PageLinkWizardPage getLinkPageWizardPage() { |
| return m_linkPageWizardPage; |
| } |
| |
| public void setHolderType(IType type) { |
| getLinkPageWizardPage().setHolderType(type); |
| } |
| |
| public void setHolderEnabled(boolean enabled) { |
| getLinkPageWizardPage().setHolderTypeEnabled(enabled); |
| } |
| |
| public void setPageType(IType type) { |
| getLinkPageWizardPage().setPageType(type); |
| } |
| |
| public void setPageEnabled(boolean enabled) { |
| getLinkPageWizardPage().setPageTypeFieldEnabled(enabled); |
| } |
| |
| } |