Skip to content

Package: CheckoutProjectComposite$CheckoutProjectChangeListener

CheckoutProjectComposite$CheckoutProjectChangeListener

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2011-2013 EclipseSource Muenchen GmbH and others.
3: *
4: * All rights reserved. This program and the accompanying materials
5: * are made available under the terms of the Eclipse Public License 2.0
6: * which accompanies this distribution, and is available at
7: * https://www.eclipse.org/legal/epl-2.0/
8: *
9: * SPDX-License-Identifier: EPL-2.0
10: *
11: * Contributors:
12: * Eugen Neufeld - initial API and implementation
13: ******************************************************************************/
14: package org.eclipse.emf.ecp.ui.common;
15:
16: import org.eclipse.emf.ecp.core.util.ECPCheckoutSource;
17: import org.eclipse.emf.ecp.core.util.ECPProperties;
18: import org.eclipse.emf.ecp.spi.common.ui.CompositeProvider;
19: import org.eclipse.emf.ecp.spi.ui.UIProvider;
20:
21: /**
22: * @author Eugen Neufeld
23: *
24: */
25: public interface CheckoutProjectComposite extends CompositeProvider {
26:
27:         /**
28:          * Listener interface that will be notified if the projectName changes.
29:          */
30:         public interface CheckoutProjectChangeListener {
31:                 /**
32:                  * Callback method providing the new project name.
33:                  *
34:                  * @param projectName the new project name
35:                  */
36:                 void projectNameChanged(String projectName);
37:         }
38:
39:         /**
40:          * @return the project name
41:          */
42:         String getProjectName();
43:
44:         /**
45:          * @return the project properties
46:          */
47:         ECPProperties getProjectProperties();
48:
49:         /**
50:          * @return the checkoutSource
51:          */
52:         ECPCheckoutSource getCheckoutSource();
53:
54:         /**
55:          * @return the uiProvider
56:          */
57:         UIProvider getUiProvider();
58:
59:         /**
60:          * @param listener
61:          * the listener to set
62:          */
63:         void setListener(CheckoutProjectChangeListener listener);
64: }