本文整理汇总了Java中org.eclipse.ui.forms.widgets.Section.DESCRIPTION属性的典型用法代码示例。如果您正苦于以下问题:Java Section.DESCRIPTION属性的具体用法?Java Section.DESCRIPTION怎么用?Java Section.DESCRIPTION使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类org.eclipse.ui.forms.widgets.Section
的用法示例。
在下文中一共展示了Section.DESCRIPTION属性的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: ApplicationMasterPart
public ApplicationMasterPart(DockerFoundryApplicationsEditorPage editorPage, IManagedForm managedForm,
Composite parent, DockerFoundryServer cloudServer) {
super(parent, managedForm.getToolkit(), Section.TITLE_BAR | Section.DESCRIPTION);
this.editorPage = editorPage;
this.cloudServer = cloudServer;
this.toolkit = managedForm.getToolkit();
// this.provideServices = CloudFoundryBrandingExtensionPoint.getProvideServices(editorPage.getServer()
// .getServerType().getId());
String linksAsString = this.cloudServer.getDockerContainerLinks();
if(linksAsString != null && linksAsString.length() >0){
StringTokenizer st = new StringTokenizer(linksAsString, ",");
if(st != null){
while (st.hasMoreTokens()) {
String token = st.nextToken();
String[] s = token.split(":");
DockerApplicationService service = new DockerApplicationService();
service.setName(s[0]);
service.setLinkName(s[1]);
services.add(service);
}
}
}
}
示例2: ApplicationMasterPart
public ApplicationMasterPart(CloudFoundryApplicationsEditorPage editorPage, IManagedForm managedForm,
Composite parent, CloudFoundryServer cloudServer) {
super(parent, managedForm.getToolkit(), Section.TITLE_BAR | Section.DESCRIPTION | Section.TWISTIE);
this.editorPage = editorPage;
this.cloudServer = cloudServer;
this.toolkit = managedForm.getToolkit();
this.provideServices = CloudFoundryBrandingExtensionPoint
.getProvideServices(editorPage.getServer().getServerType().getId());
}
示例3: OverviewProjectInformationSection
/**
* @param page
* @param parent
* @param style
*/
public OverviewProjectInformationSection(FormPage page, Composite parent) {
super(page, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION);
try {
this.rmData = RMDataUtil.findRMData(model);
} catch (Exception e) {
this.rmData = null;
}
}
示例4: SectPatternParticipants
/**
* Default constructor
*
* @param page
* Owner page
*/
public SectPatternParticipants(ParticipantPage page, Composite parent) {
super(page, parent, Section.DESCRIPTION, getButtonLabels());
// handleDefaultButton = false; v3.3
this.fHandleDefaultButton = false; // v.3.3
final String modelID = getDesignPatternInstance().getModelID();
final String comment = DesignPatternPool.getDesignPatternModel(modelID).getComment();
getSection().setDescription(comment + '\n' + (char) 160);
fDisplay = parent.getDisplay();
}
示例5: AbstractSection
public AbstractSection(AbstractFormPage page, Composite parent) {
super(parent, page.getEditor().getToolkit(), Section.DESCRIPTION |
ExpandableComposite.TITLE_BAR |
ExpandableComposite.TWISTIE |
ExpandableComposite.EXPANDED );
this.page = page;
initialize(page.getManagedForm());
getSection().clientVerticalSpacing = 4;
getSection().setData("part", this); //$NON-NLS-1$
createClient(getSection(), page.getEditor().getToolkit());
}
示例6: ValidateableTableSectionPart
/**
* Constructor of the part without section flags
* @see ValidateableTableSectionPart#TableSectionPart(Composite, String, String, FormToolkit, int)
*/
public ValidateableTableSectionPart(Composite composite, String title, String description, FormToolkit toolkit,
BasicFormPage page, String sectionName)
{
this(composite, title, description, toolkit, Section.DESCRIPTION | Section.TITLE_BAR, page, sectionName);
}
示例7: createSection
/**
* Creates a new subsection inside the current page. This subsection has its own heading and can be (un-)folded.
*
* @param title
* The title of the section
* @param description
* The description of the section (will be shown directly under the title)
* @param gridStyle A GridData constants for configuring the behavior of the section.
* Usually, <tt>GridData.FILL_HORIZONTAL</tt> should be appropriate.
* @return A new composite where new elements can be added to.
* The newly created composite must be configured with a {@link GridLayout} otherwise
* nested elements will not be displayed.
* @see #createSection(String, String, int, int)
*/
protected Composite createSection(String title, String description, int gridStyle) {
int style = Section.TITLE_BAR | Section.TWISTIE | Section.EXPANDED;
if (null != description) {
style |= Section.DESCRIPTION;
}
return createSection(title, description, style, gridStyle);
}
示例8: OverviewModelDetailSection
/**
* 생성자
*
* @param page
* @param parent
*/
public OverviewModelDetailSection(FormPage page, Composite parent) {
super(page, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION);
}
示例9: OverviewDocumentSection
/**
* 생성자
*
* @param overviewPage
* @param parent
*/
public OverviewDocumentSection(OverviewPage page, Composite parent) {
super(page, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION);
}
示例10: DetailsModelLibrarySection
/**
* 생성자
*
* @param detailsPage
* @param parent
*/
public DetailsModelLibrarySection(DetailsPage detailsPage, Composite parent) {
super(detailsPage, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION);
}
示例11: FragmentSection
/**
* 생성자
*
* @param page
* @param parent
*/
public FragmentSection(FormPage page, Composite parent) {
super(page, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION);
}
示例12: DetailsProfileSection
/**
* 생성자
*
* @param page
* @param parent
*/
public DetailsProfileSection(FormPage page, Composite parent) {
super(page, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION);
}
示例13: DiagramSection
/**
* 생성자
*
* @param fragmentDiagramPage
* @param parent
*/
public DiagramSection(FormPage page, Composite parent) {
super(page, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION);
}
示例14: OverviewGeneralSection
/**
* 생성자
*
* @param page
* @param parent
*/
public OverviewGeneralSection(FormPage page, Composite parent) {
super(page, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION);
}