blob: b0fbffe865a7c6b82a2b7b48732582fe515c5d11 [file] [log] [blame]
// *****************************************************************************
// Copyright (c) 2018 Agence spatiale canadienne / Canadian Space Agency
// 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:
// Pierre Allard - initial API and implementation
// Regent L'Archeveque
//
// SPDX-License-Identifier: EPL-1.0
// *****************************************************************************
@GenModel(prefix="ApogyCommonEMFEditUtils",
copyrightText="*******************************************************************************
Copyright (c) 2018 Agence spatiale canadienne / Canadian Space Agency
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:
Pierre Allard - initial API and implementation
Regent L'Archeveque
SPDX-License-Identifier: EPL-1.0
*******************************************************************************",
childCreationExtenders="true",
suppressGenModelAnnotations="false",
extensibleProviderFactory="true",
modelName="ApogyCommonEMFEditUtils")
@GenModel(dynamicTemplates="true", templateDirectory="platform:/plugin/org.eclipse.apogy.common.emf.codegen/templates")
@GenModel(modelDirectory="/org.eclipse.apogy.common.emf.edit.utils/src-gen")
package org.eclipse.apogy.common.emf.edit.utils
import org.eclipse.apogy.common.Apogy
type CollectionObject wraps java.util.Collection<Object>
/**
* Facade for Edit Utils
*/
@Apogy(isSingleton="true", hasCustomClass="true")
class ApogyCommonEMFEditUtilsFacade
{
/**
* Gets the string, as returned by the appropriate item provider, for a given object.
* @param object The object.
* @return The string, null if none is found.
*/
op String getText(Object object)
/**
* Removes the Child descriptor associated with a given feature from a list.
* @param newChildDescriptors The child descriptor.
* @param feature The feature.
*/
op void removeChildDescriptor(CollectionObject newChildDescriptors, Object feature)
}