-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#107 Add the posibility to display the "ReqIF.Text" attribute of
Requirement elements in Capella Richtext editor Resolves #107 Change-Id: Ie75a86317b6ddcc53da7047839e4a1be99de06c7 Signed-off-by: Tu Ton <minhtutonthat@gmail.com>
- Loading branch information
1 parent
fcfd6cc
commit 64042ee
Showing
33 changed files
with
16,712 additions
and
41 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
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
Binary file added
BIN
+22.1 KB
plugins/org.polarsys.capella.vp.requirements.doc/images/ImageImportStrategy.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
17 changes: 17 additions & 0 deletions
17
.../org/polarsys/capella/vp/requirements/importer/transposer/bridge/ImageImportStrategy.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,17 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2020 THALES GLOBAL SERVICES. | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Eclipse Public License 2.0 which is available at | ||
* http://www.eclipse.org/legal/epl-2.0 | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* Thales - initial API and implementation | ||
*******************************************************************************/ | ||
package org.polarsys.capella.vp.requirements.importer.transposer.bridge; | ||
|
||
public enum ImageImportStrategy { | ||
ABS_PATH, REL_PATH, EMBEDDED | ||
} |
41 changes: 41 additions & 0 deletions
41
...er/src/org/polarsys/capella/vp/requirements/importer/transposer/bridge/ImageImporter.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,41 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2020 THALES GLOBAL SERVICES. | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Eclipse Public License 2.0 which is available at | ||
* http://www.eclipse.org/legal/epl-2.0 | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* Thales - initial API and implementation | ||
*******************************************************************************/ | ||
package org.polarsys.capella.vp.requirements.importer.transposer.bridge; | ||
|
||
public class ImageImporter { | ||
private ImageImportStrategy imgImportStrategy; | ||
private String absPath; | ||
private String relPath; | ||
|
||
public ImageImportStrategy getImgImportStrategy() { | ||
return imgImportStrategy; | ||
} | ||
|
||
public void setImgImportStrategy(ImageImportStrategy imgImportStrategy) { | ||
this.imgImportStrategy = imgImportStrategy; | ||
} | ||
|
||
public String getAbsPath() { | ||
return absPath; | ||
} | ||
public void setAbsPath(String absPath) { | ||
this.absPath = absPath; | ||
} | ||
public String getRelPath() { | ||
return relPath; | ||
} | ||
public void setRelPath(String relPath) { | ||
this.relPath = relPath; | ||
} | ||
|
||
} |
Oops, something went wrong.