Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vdt-plugin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
vdt-plugin
Commits
65033cd8
Commit
65033cd8
authored
Feb 03, 2014
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Horizontal separator for the dialogs
parent
185780d4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
0 deletions
+50
-0
LabelComponent.java
src/com/elphel/vdt/ui/options/component/LabelComponent.java
+50
-0
No files found.
src/com/elphel/vdt/ui/options/component/LabelComponent.java
0 → 100644
View file @
65033cd8
/*******************************************************************************
* Copyright (c) 2014 Elphel, Inc.
* This file is a part of Eclipse/VDT plug-in.
* Eclipse/VDT plug-in is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Eclipse/VDT plug-in is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*******************************************************************************/
package
com
.
elphel
.
vdt
.
ui
.
options
.
component
;
import
org.eclipse.swt.SWT
;
import
org.eclipse.swt.layout.GridData
;
import
org.eclipse.swt.widgets.Composite
;
import
org.eclipse.swt.widgets.Label
;
import
com.elphel.vdt.core.tools.params.Parameter
;
public
class
LabelComponent
extends
GeneralComponent
{
private
Label
labelField
;
public
LabelComponent
(
Parameter
param
)
{
super
(
param
);
}
public
void
createControl
(
Composite
parent
)
{
super
.
createControl
(
parent
);
GridData
gridData
=
new
GridData
(
GridData
.
HORIZONTAL_ALIGN_FILL
);
gridData
.
horizontalSpan
=
2
;
labelField
=
new
Label
(
parent
,
SWT
.
HORIZONTAL
|
SWT
.
SEPARATOR
);
labelField
.
setLayoutData
(
gridData
);
}
public
void
setSelection
(
String
paramValue
)
{}
protected
String
getSelection
()
{
return
null
;}
protected
boolean
isDisposed
()
{
return
false
;}
public
void
setFocus
()
{
}
protected
void
addListeners
()
{
}
protected
void
removeListeners
()
{}
protected
void
switchState
(
boolean
defaulted
)
{}
}
// class LabelComponent
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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