当前位置: 首页>>代码示例>>Java>>正文


Java Section.DESCRIPTION属性代码示例

本文整理汇总了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);
				}
			}
		}
	}
 
开发者ID:osswangxining,项目名称:dockerfoundry,代码行数:24,代码来源:ApplicationMasterPart.java

示例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());
}
 
开发者ID:eclipse,项目名称:cft,代码行数:9,代码来源:ApplicationMasterPart.java

示例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;
    }
}
 
开发者ID:SK-HOLDINGS-CC,项目名称:NEXCORE-UML-Modeler,代码行数:14,代码来源:OverviewProjectInformationSection.java

示例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();
}
 
开发者ID:patternbox,项目名称:patternbox-eclipse,代码行数:15,代码来源:SectPatternParticipants.java

示例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());
}
 
开发者ID:chrisGerken,项目名称:transformAuthoring,代码行数:11,代码来源:AbstractSection.java

示例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);
}
 
开发者ID:tlaplus,项目名称:tlaplus,代码行数:9,代码来源:ValidateableTableSectionPart.java

示例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);
}
 
开发者ID:SSEHUB,项目名称:EASyProducer,代码行数:22,代码来源:AbstractEASyEditorPage.java

示例8: OverviewModelDetailSection

/**
 * 생성자
 * 
 * @param page
 * @param parent
 */
public OverviewModelDetailSection(FormPage page, Composite parent) {
    super(page, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION);

}
 
开发者ID:SK-HOLDINGS-CC,项目名称:NEXCORE-UML-Modeler,代码行数:10,代码来源:OverviewModelDetailSection.java

示例9: OverviewDocumentSection

/**
 * 생성자
 * 
 * @param overviewPage
 * @param parent
 */
public OverviewDocumentSection(OverviewPage page, Composite parent) {
    super(page, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION);
}
 
开发者ID:SK-HOLDINGS-CC,项目名称:NEXCORE-UML-Modeler,代码行数:9,代码来源:OverviewDocumentSection.java

示例10: DetailsModelLibrarySection

/**
 * 생성자
 * 
 * @param detailsPage
 * @param parent
 */
public DetailsModelLibrarySection(DetailsPage detailsPage, Composite parent) {
    super(detailsPage, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION);
}
 
开发者ID:SK-HOLDINGS-CC,项目名称:NEXCORE-UML-Modeler,代码行数:9,代码来源:DetailsModelLibrarySection.java

示例11: FragmentSection

/**
 * 생성자
 * 
 * @param page
 * @param parent
 */
public FragmentSection(FormPage page, Composite parent) {
    super(page, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION);
}
 
开发者ID:SK-HOLDINGS-CC,项目名称:NEXCORE-UML-Modeler,代码行数:9,代码来源:FragmentSection.java

示例12: DetailsProfileSection

/**
 * 생성자
 * 
 * @param page
 * @param parent
 */
public DetailsProfileSection(FormPage page, Composite parent) {
    super(page, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION);
}
 
开发者ID:SK-HOLDINGS-CC,项目名称:NEXCORE-UML-Modeler,代码行数:9,代码来源:DetailsProfileSection.java

示例13: DiagramSection

/**
 * 생성자
 * 
 * @param fragmentDiagramPage
 * @param parent
 */
public DiagramSection(FormPage page, Composite parent) {
    super(page, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION);
}
 
开发者ID:SK-HOLDINGS-CC,项目名称:NEXCORE-UML-Modeler,代码行数:9,代码来源:DiagramSection.java

示例14: OverviewGeneralSection

/**
 * 생성자
 * 
 * @param page
 * @param parent
 */
public OverviewGeneralSection(FormPage page, Composite parent) {
    super(page, parent, Section.TWISTIE | Section.EXPANDED | Section.DESCRIPTION);
}
 
开发者ID:SK-HOLDINGS-CC,项目名称:NEXCORE-UML-Modeler,代码行数:9,代码来源:OverviewGeneralSection.java


注:本文中的org.eclipse.ui.forms.widgets.Section.DESCRIPTION属性示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。