public class MavenArtifactComponent
extends org.eclipse.swt.widgets.Composite
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.swt.widgets.Combo |
artifactIdCombo
artifact id text field
|
static String |
DEFAULT_PACKAGING |
static String |
DEFAULT_VERSION |
protected org.eclipse.swt.widgets.Text |
descriptionText
description text field
|
static String |
EAR |
static String |
EJB |
protected org.eclipse.swt.widgets.Combo |
groupIdCombo
group id text field
|
static String |
JAR |
protected org.eclipse.swt.widgets.Combo |
nameCombo
name text field
|
static String[] |
PACKAGING_OPTIONS |
protected org.eclipse.swt.widgets.Combo |
packagingCombo
packaging options combobox
|
static String |
POM |
static String |
RAR |
protected org.eclipse.swt.widgets.Combo |
versionCombo
version text field
|
static String |
WAR |
Constructor and Description |
---|
MavenArtifactComponent(org.eclipse.swt.widgets.Composite parent,
int styles)
Creates a new component.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
String |
getArtifactId() |
org.eclipse.swt.widgets.Combo |
getArtifactIdCombo() |
String |
getDescription() |
String |
getGroupId() |
org.eclipse.swt.widgets.Combo |
getGroupIdCombo() |
org.apache.maven.model.Model |
getModel() |
String |
getModelName() |
org.eclipse.swt.widgets.Combo |
getNameCombo() |
String |
getPackaging() |
String |
getVersion() |
org.eclipse.swt.widgets.Combo |
getVersionCombo() |
void |
setArtifactId(String artifact) |
void |
setArtifactIdEditable(boolean b)
Enables or disables the artifact id text field.
|
void |
setDescription(String description) |
boolean |
setFocus() |
void |
setGroupId(String groupId) |
void |
setModelName(String name) |
void |
setModifyingListener(org.eclipse.swt.events.ModifyListener modifyingListener) |
void |
setPackaging(String packaging) |
void |
setPackagingTypes(String[] packagingTypes) |
void |
setVersion(String version) |
void |
setWidthGroup(WidthGroup widthGroup) |
changed, checkSubclass, computeSize, drawBackground, getBackgroundMode, getChildren, getClientArea, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setLayout, setLayoutDeferred, setTabList
computeTrim, getBorderWidth, getHorizontalBar, getScrollbarsMode, getVerticalBar
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update
public static final String JAR
public static final String WAR
public static final String EAR
public static final String RAR
public static final String POM
public static final String EJB
public static final String[] PACKAGING_OPTIONS
public static final String DEFAULT_PACKAGING
public static final String DEFAULT_VERSION
protected org.eclipse.swt.widgets.Combo groupIdCombo
protected org.eclipse.swt.widgets.Combo artifactIdCombo
protected org.eclipse.swt.widgets.Combo versionCombo
protected org.eclipse.swt.widgets.Combo packagingCombo
protected org.eclipse.swt.widgets.Combo nameCombo
protected org.eclipse.swt.widgets.Text descriptionText
public MavenArtifactComponent(org.eclipse.swt.widgets.Composite parent, int styles)
public void setModifyingListener(org.eclipse.swt.events.ModifyListener modifyingListener)
public void dispose()
dispose
in class org.eclipse.swt.widgets.Widget
public boolean setFocus()
setFocus
in class org.eclipse.swt.widgets.Composite
public String getModelName()
public String getArtifactId()
public String getGroupId()
public String getVersion()
public String getPackaging()
public String getDescription()
public void setModelName(String name)
public void setGroupId(String groupId)
public void setArtifactId(String artifact)
public void setVersion(String version)
public void setPackagingTypes(String[] packagingTypes)
public void setPackaging(String packaging)
public void setDescription(String description)
public org.apache.maven.model.Model getModel()
public void setArtifactIdEditable(boolean b)
public org.eclipse.swt.widgets.Combo getGroupIdCombo()
public org.eclipse.swt.widgets.Combo getArtifactIdCombo()
public org.eclipse.swt.widgets.Combo getVersionCombo()
public org.eclipse.swt.widgets.Combo getNameCombo()
public void setWidthGroup(WidthGroup widthGroup)
Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.