Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
REOPENED - bug 355025: [modeling] Project packaging and maintenance
- Loading branch information
1 parent
400d852
commit bcd734e
Showing
9 changed files
with
41 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 0 additions & 65 deletions
65
...ling.ecoretools/src/org/eclipse/mylyn/modeling/internal/ecoretools/EcoreDomainBridge.java
This file was deleted.
Oops, something went wrong.
30 changes: 30 additions & 0 deletions
30
...g.ecoretools/src/org/eclipse/mylyn/modeling/internal/ecoretools/EcoreGmfDomainBridge.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| /******************************************************************************* | ||
| * Copyright (c) 2011 Tasktop Technologies and others. | ||
| * 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: | ||
| * Tasktop Technologies - initial API and implementation | ||
| *******************************************************************************/ | ||
|
|
||
| package org.eclipse.mylyn.modeling.internal.ecoretools; | ||
|
|
||
| import org.eclipse.gmf.runtime.notation.View; | ||
| import org.eclipse.mylyn.modeling.emf.ecore.EcoreDomainBridge; | ||
|
|
||
| /** | ||
| * @author Miles Parker | ||
| */ | ||
| public class EcoreGmfDomainBridge extends EcoreDomainBridge { | ||
|
|
||
| @Override | ||
| public Object getDomainObject(Object object) { | ||
| if (object instanceof View) { | ||
| return ((View) object).getElement(); | ||
| } | ||
| return super.getDomainObject(object); | ||
| } | ||
|
|
||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters