mirror of https://github.com/mchr3k/org.intrace
Prepare for release, improve tab coloring
This commit is contained in:
parent
218c7946a2
commit
fe8b6b091d
Binary file not shown.
Binary file not shown.
|
|
@ -2,7 +2,7 @@
|
|||
<feature
|
||||
id="intrace.ecl.feature"
|
||||
label="InTrace Eclipse Plugin"
|
||||
version="0.17">
|
||||
version="0.18">
|
||||
|
||||
<description url="https://github.com/mchr3k/org.intrace/wiki">
|
||||
Enable launching Java Applications with the InTrace agent.
|
||||
|
|
@ -215,6 +215,6 @@ litigation.
|
|||
id="intrace.ecl"
|
||||
download-size="0"
|
||||
install-size="0"
|
||||
version="0.17.0"/>
|
||||
version="0.18.0"/>
|
||||
|
||||
</feature>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ Manifest-Version: 1.0
|
|||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: InTrace Eclipse
|
||||
Bundle-SymbolicName: intrace.ecl;singleton:=true
|
||||
Bundle-Version: 0.17
|
||||
Bundle-Version: 0.18
|
||||
Bundle-Activator: intrace.ecl.Activator
|
||||
Require-Bundle: org.eclipse.ui,
|
||||
org.eclipse.core.runtime,
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
|
|
@ -52,9 +52,12 @@ public class InTraceEditor extends EditorPart
|
|||
ITheme theme = workBench.getThemeManager().getCurrentTheme();
|
||||
ColorRegistry colreg = theme.getColorRegistry();
|
||||
|
||||
Color c1 = colreg.get(IWorkbenchThemeConstants.ACTIVE_TAB_BG_START);
|
||||
Color c2 = colreg.get(IWorkbenchThemeConstants.ACTIVE_TAB_BG_END);
|
||||
UIModeData data = new UIModeData(c1, c2);
|
||||
Color activec1 = colreg.get(IWorkbenchThemeConstants.ACTIVE_TAB_BG_START);
|
||||
Color activec2 = colreg.get(IWorkbenchThemeConstants.ACTIVE_TAB_BG_END);
|
||||
Color inactivec1 = colreg.get(IWorkbenchThemeConstants.INACTIVE_TAB_BG_START);
|
||||
Color inactivec2 = colreg.get(IWorkbenchThemeConstants.INACTIVE_TAB_BG_END);
|
||||
UIModeData data = new UIModeData(activec1, activec2,
|
||||
inactivec1, inactivec2);
|
||||
return data;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<description name="InTrace Update Site">
|
||||
InTrace Update Site
|
||||
</description>
|
||||
<feature url="features/intrace.ecl.feature_0.17.0.jar" id="intrace.ecl.feature" version="0.17">
|
||||
<feature url="features/intrace.ecl.feature_0.18.0.jar" id="intrace.ecl.feature" version="0.18">
|
||||
<category name="intrace.ecl.category"/>
|
||||
</feature>
|
||||
<category-def name="intrace.ecl.category" label="InTrace Eclipse Plugin"/>
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -124,13 +124,20 @@ public class InTraceUI implements ISocketCallback, IControlConnectionListener
|
|||
|
||||
public static class UIModeData
|
||||
{
|
||||
public UIModeData(Color colorOne, Color colorTwo)
|
||||
public UIModeData(Color activeColorOne,
|
||||
Color activeColorTwo,
|
||||
Color inactiveColorOne,
|
||||
Color inactiveColorTwo)
|
||||
{
|
||||
this.colorOne = colorOne;
|
||||
this.colorTwo = colorTwo;
|
||||
this.activeColorOne = activeColorOne;
|
||||
this.activeColorTwo = activeColorTwo;
|
||||
this.inactiveColorOne = inactiveColorOne;
|
||||
this.inactiveColorTwo = inactiveColorTwo;
|
||||
}
|
||||
public final Color colorOne;
|
||||
public final Color colorTwo;
|
||||
public final Color activeColorOne;
|
||||
public final Color activeColorTwo;
|
||||
public final Color inactiveColorOne;
|
||||
public final Color inactiveColorTwo;
|
||||
}
|
||||
|
||||
public static class ConfigDataInterface
|
||||
|
|
@ -716,8 +723,8 @@ public class InTraceUI implements ISocketCallback, IControlConnectionListener
|
|||
if (modeData != null)
|
||||
{
|
||||
mSettingsCTabs.setSelectionBackground(
|
||||
new Color[]{modeData.colorOne,
|
||||
modeData.colorTwo},
|
||||
new Color[]{modeData.inactiveColorOne,
|
||||
modeData.inactiveColorTwo},
|
||||
new int[]{100}, true);
|
||||
}
|
||||
|
||||
|
|
@ -1065,8 +1072,8 @@ public class InTraceUI implements ISocketCallback, IControlConnectionListener
|
|||
if (modeData != null)
|
||||
{
|
||||
mOutputCTabs.setSelectionBackground(
|
||||
new Color[]{modeData.colorOne,
|
||||
modeData.colorTwo},
|
||||
new Color[]{modeData.activeColorOne,
|
||||
modeData.activeColorTwo},
|
||||
new int[]{100}, true);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -115,8 +115,8 @@ public class IncludeExcludeWindow
|
|||
if (this.modedata != null)
|
||||
{
|
||||
ctabs.setSelectionBackground(
|
||||
new Color[]{this.modedata.colorOne,
|
||||
this.modedata.colorTwo},
|
||||
new Color[]{this.modedata.activeColorOne,
|
||||
this.modedata.activeColorTwo},
|
||||
new int[]{100}, true);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue