Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
af3
AF3
Commits
0b2ccdc9
Commit
0b2ccdc9
authored
Jul 01, 2013
by
Daniel Ratiu
Browse files
fix
parent
e72a71ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
org.fortiss.af3.mira.ui/trunk/src/org/fortiss/af3/mira/ui/editor/RequirementEditor.java
View file @
0b2ccdc9
...
...
@@ -36,6 +36,7 @@ import static org.fortiss.af3.mira.ui.utils.MiraLayoutUtils.multiLineInputUnboun
import
static
org
.
fortiss
.
af3
.
mira
.
ui
.
utils
.
MiraLayoutUtils
.
multiLineLabelFactory
;
import
static
org
.
fortiss
.
af3
.
mira
.
ui
.
utils
.
MiraLayoutUtils
.
singleLineInputFactory
;
import
static
org
.
fortiss
.
af3
.
mira
.
ui
.
utils
.
MiraLayoutUtils
.
singleLineLabelFactory
;
import
static
org
.
fortiss
.
af3
.
mira
.
ui
.
utils
.
RequirementUtils
.
openPDFWithPage
;
import
static
org
.
fortiss
.
af3
.
mira
.
utils
.
MiraModelElementFactory
.
createDocumentReference
;
import
static
org
.
fortiss
.
af3
.
mira
.
utils
.
MiraModelElementFactory
.
createRequirement
;
import
static
org
.
fortiss
.
af3
.
mira
.
utils
.
MiraModelElementFactory
.
createUseCase
;
...
...
@@ -465,8 +466,7 @@ public class RequirementEditor<T extends Requirement> extends FormsEditorBase<T>
// open the file in the system file viewer when the user
// double clicks on the link
if
(
fileItem
.
isIsLocal
())
{
if
(!
RequirementUtils
.
openPDFWithPage
(
file
,
editedObject
.
getDocument
()
.
getPage
()))
if
(!
openPDFWithPage
(
file
,
editedObject
.
getDocument
().
getPage
()))
getDesktop
().
open
(
file
);
}
else
{
getDesktop
().
browse
(
java
.
net
.
URI
.
create
(
fileItem
.
getUri
()));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment