projects
/
deliverable
/
tracecompass.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xml.ui: Enable multiple XML latency views instances
[deliverable/tracecompass.git]
/
tmf
/
org.eclipse.tracecompass.tmf.analysis.xml.ui
/
src
/
org
/
eclipse
/
tracecompass
/
internal
/
tmf
/
analysis
/
xml
/
ui
/
views
/
AbstractXmlViewInfo.java
diff --git
a/tmf/org.eclipse.tracecompass.tmf.analysis.xml.ui/src/org/eclipse/tracecompass/internal/tmf/analysis/xml/ui/views/AbstractXmlViewInfo.java
b/tmf/org.eclipse.tracecompass.tmf.analysis.xml.ui/src/org/eclipse/tracecompass/internal/tmf/analysis/xml/ui/views/AbstractXmlViewInfo.java
index ac707e0630e259901825339d10331c4068071097..9c394de1a6bdd31b62dfaee4631d84cd5f775625 100644
(file)
--- a/
tmf/org.eclipse.tracecompass.tmf.analysis.xml.ui/src/org/eclipse/tracecompass/internal/tmf/analysis/xml/ui/views/AbstractXmlViewInfo.java
+++ b/
tmf/org.eclipse.tracecompass.tmf.analysis.xml.ui/src/org/eclipse/tracecompass/internal/tmf/analysis/xml/ui/views/AbstractXmlViewInfo.java
@@
-22,7
+22,7
@@
import org.eclipse.tracecompass.internal.tmf.analysis.xml.ui.module.TmfXmlAnalys
public abstract class AbstractXmlViewInfo {
private final String fViewId;
public abstract class AbstractXmlViewInfo {
private final String fViewId;
- private @Nullable String f
View
Name;
+ private @Nullable String f
Subsection
Name;
/**
* Constructor
/**
* Constructor
@@
-32,27
+32,27
@@
public abstract class AbstractXmlViewInfo {
*/
public AbstractXmlViewInfo(String viewId) {
fViewId = viewId;
*/
public AbstractXmlViewInfo(String viewId) {
fViewId = viewId;
- f
View
Name = null;
+ f
Subsection
Name = null;
}
/**
}
/**
- * Set the
view's name
, which should correspond to a secondary ID
+ * Set the
name of the view property subsection
, which should correspond to a secondary ID
*
* @param name
*
* @param name
- * The
view's name
+ * The
name of the view property subsection
*/
public void setName(@NonNull String name) {
*/
public void setName(@NonNull String name) {
- f
View
Name = name;
+ f
Subsection
Name = name;
}
/**
}
/**
- * Get the name of the view, which should correspond to the view's secondary
+ * Get the name of the view
property subsection
, which should correspond to the view's secondary
* ID. If this name is not null, it will never be null again
*
* ID. If this name is not null, it will never be null again
*
- * @return The name of the view
+ * @return The name of the view
property subsection
*/
protected @Nullable String getName() {
*/
protected @Nullable String getName() {
- return f
View
Name;
+ return f
Subsection
Name;
}
/**
}
/**
@@
-70,15
+70,15
@@
public abstract class AbstractXmlViewInfo {
throw new IllegalStateException("The persistent property section could not be added " + fViewId); //$NON-NLS-1$
}
}
throw new IllegalStateException("The persistent property section could not be added " + fViewId); //$NON-NLS-1$
}
}
- if (f
View
Name == null) {
+ if (f
Subsection
Name == null) {
return section;
}
// FIXME: when a file is removed from TraceCompass, its view section should also be deleted
return section;
}
// FIXME: when a file is removed from TraceCompass, its view section should also be deleted
- IDialogSettings subSection = section.getSection(f
View
Name);
+ IDialogSettings subSection = section.getSection(f
Subsection
Name);
if (subSection == null) {
if (subSection == null) {
- subSection = section.addNewSection(f
View
Name);
+ subSection = section.addNewSection(f
Subsection
Name);
if (subSection == null) {
if (subSection == null) {
- throw new IllegalStateException("The persistent property section could not be added: " + f
View
Name); //$NON-NLS-1$
+ throw new IllegalStateException("The persistent property section could not be added: " + f
Subsection
Name); //$NON-NLS-1$
}
}
return subSection;
}
}
return subSection;
This page took
0.026882 seconds
and
5
git commands to generate.