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


Java ExpandBar类代码示例

本文整理汇总了Java中org.eclipse.swt.widgets.ExpandBar的典型用法代码示例。如果您正苦于以下问题:Java ExpandBar类的具体用法?Java ExpandBar怎么用?Java ExpandBar使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


ExpandBar类属于org.eclipse.swt.widgets包,在下文中一共展示了ExpandBar类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getComposite

import org.eclipse.swt.widgets.ExpandBar; //导入依赖的package包/类
/**
   * @param parent
   * @param mappingSheetRow
   * @param component
   * @param widgetConfig
   * @return ExpressionComposite object on the basis of component name
   */
  public AbstractExpressionComposite getComposite(ExpandBar parent,MappingSheetRow mappingSheetRow,Component component
,WidgetConfig widgetConfig )
  {
 if(Constants.NORMALIZE.equalsIgnoreCase(component.getComponentName()))
 {
return new NormalizeExpressionComposite(parent, SWT.None, mappingSheetRow, component, widgetConfig);
 }
 else if(Constants.TRANSFORM.equalsIgnoreCase(component.getComponentName()))
 {
return new TransformExpressionComposite(parent, SWT.None, mappingSheetRow, component, widgetConfig);
 }
 else if(Constants.AGGREGATE.equalsIgnoreCase(component.getComponentName())||
	Constants.CUMULATE.equalsIgnoreCase(component.getComponentName()))
 {
return new AggregateCumulateExpressionComposite(parent, SWT.None, mappingSheetRow, component, widgetConfig);
 }
 else if(Constants.GROUP_COMBINE.equalsIgnoreCase(component.getComponentName()))
  {
	return new GroupCombineExpressionComposite(parent, SWT.None, mappingSheetRow, component, widgetConfig);
  }
    return null;
 }
 
开发者ID:capitalone,项目名称:Hydrograph,代码行数:30,代码来源:ExpressionCompositeFactory.java

示例2: buildAtdl4jWidgetMap

import org.eclipse.swt.widgets.ExpandBar; //导入依赖的package包/类
/**
 * @param aStrategyPanelList
 * @return
 * @throws Atdl4jClassLoadException 
 */
protected void buildAtdl4jWidgetMap( List<StrategyPanelT> aStrategyPanelList )
{
	Map<String, SWTWidget<?>> tempSWTWidgetMap = new HashMap<String, SWTWidget<?>>();
	
	setExpandBarList( new ArrayList<ExpandBar>() );

	// build panels and widgets recursively
	for ( StrategyPanelT panel : aStrategyPanelList )
	{
		tempSWTWidgetMap.putAll( SWTStrategyPanelFactory.createStrategyPanelAndWidgets( getParent(), panel, getParameterMap(), SWT.NONE, getExpandBarList(), getAtdl4jWidgetFactory() ) );
	}

	// 3/13/2010 John Shields HACK: make the first panel take the full width of the window
	Composite c = getParent();
	for ( Control child : c.getChildren() )
	{
        if (child instanceof Composite) 
        {
      	  Composite composite = (Composite) child;
      	  composite.setLayoutData( new GridData( SWT.FILL, SWT.FILL, true, true ) );
        }
    }
	
	setSWTWidgetMap( tempSWTWidgetMap );
}
 
开发者ID:atdl4j,项目名称:atdl4j,代码行数:31,代码来源:SWTStrategyUI.java

示例3: populateInputFieldExpandBarSection

import org.eclipse.swt.widgets.ExpandBar; //导入依赖的package包/类
private void populateInputFieldExpandBarSection(ExpandBar expandBar) {
	List<FilterProperties> inputPortFieldList = null;
	String count=(String)component.getProperties().get(Constants.INPUT_PORT_COUNT_PROPERTY);
	inputPortValue=Integer.valueOf(count);
	for (int i = 0; i < inputPortValue; i++) {
		if (joinMappingGrid != null) {
			if (joinMappingGrid.getLookupInputProperties() != null
					&& !joinMappingGrid.getLookupInputProperties()
							.isEmpty()) {
				if (i < joinMappingGrid.getLookupInputProperties().size())
					inputPortFieldList = joinMappingGrid
							.getLookupInputProperties().get(i);
				else
					inputPortFieldList = new ArrayList<>();
			} else {
				inputPortFieldList = new ArrayList<>();
			}
		}
		if (inputPorts != null) {
			inputPorts.add(inputPortFieldList);
			if (inputPortFieldList != null) {
				for (FilterProperties inputField : inputPortFieldList) {
					allInputFields.add(INPUT_PORT_ID_PREFIX + i + "." + inputField.getPropertyname());
				}
			}

		}
		
		addExpandItem(expandBar, inputPortFieldList, i);
	}
}
 
开发者ID:capitalone,项目名称:Hydrograph,代码行数:32,代码来源:JoinMapDialog.java

示例4: OperationClassDeleteDialog

import org.eclipse.swt.widgets.ExpandBar; //导入依赖的package包/类
/**
 * @param parentShell
 * @param transformMapping
 * @param expandBar
 */
public OperationClassDeleteDialog(Shell parentShell, TransformMapping transformMapping, ExpandBar expandBar,Component component) {
	super(parentShell);
	this.mappingSheetRowList =transformMapping.getMappingSheetRows();
	this.expandBar = expandBar;
	this.outerOutputList=transformMapping.getOutputFieldList();
	this.component=component;
}
 
开发者ID:capitalone,项目名称:Hydrograph,代码行数:13,代码来源:OperationClassDeleteDialog.java

示例5: createPartControl

import org.eclipse.swt.widgets.ExpandBar; //导入依赖的package包/类
/**
 * Creates the layout and fill it with data 
 */
public void createPartControl(Composite parent)
{
    bar = new ExpandBar(parent, SWT.V_SCROLL | SWT.BORDER);
    bar.setSpacing(8);
    UIHelper.setHelp(bar, "ProblemView");
    fillData(Activator.getSpecManager().getSpecLoaded());
}
 
开发者ID:tlaplus,项目名称:tlaplus,代码行数:11,代码来源:ProblemView.java

示例6: createPartControl

import org.eclipse.swt.widgets.ExpandBar; //导入依赖的package包/类
public void createPartControl(Composite parent)
{
    /*
     * Create the expand bar that will contain
     * a list of ExpandItems with interesting information
     * about obligations. The items for each obligation are created
     * in the method newMarker().
     */
    bar = new ExpandBar(parent, SWT.V_SCROLL | SWT.BORDER);
    bar.setSpacing(8);

    fillFromCurrentSpec();
}
 
开发者ID:tlaplus,项目名称:tlaplus,代码行数:14,代码来源:ObligationsView.java

示例7: expandAtdl4jWidgetParentStrategyPanel

import org.eclipse.swt.widgets.ExpandBar; //导入依赖的package包/类
/**
 * Navigates through aWidget's getParent() looking for ExpandBar with ExpandItems not-yet-expanded and expands those
 * @param aWidget
 * @return boolean indicating whether any ExpandBar ExpandItems were adjusted
 */
public boolean expandAtdl4jWidgetParentStrategyPanel( Atdl4jWidget<?> aWidget )
{
	boolean tempAdjustedFlag = false;
	if ( ( aWidget.getParent() != null ) && ( aWidget.getParent() instanceof Composite ) )
	{
		Composite tempParent = (Composite) aWidget.getParent();
		
		while ( tempParent != null ) 
		{
			// -- Expand if necessary --
			if ( tempParent instanceof ExpandBar )
			{
				ExpandBar tempExpandBar = (ExpandBar) tempParent;
				for ( ExpandItem tempExpandItem : tempExpandBar.getItems() )
				{
					if ( ! tempExpandItem.getExpanded() )
					{
						tempExpandItem.setExpanded( true );
						// -- (relayoutParents=false) --
						relayoutExpandBar( tempExpandBar, false );
						tempAdjustedFlag = true;
					}
				}
			}

			// -- Iterate to next parent --
			if ( ( tempParent.getParent() != null ) && ( ( tempParent.getParent() instanceof Composite ) ) )
			{
				tempParent = (Composite) tempParent.getParent();
			}
			else
			{
				break;
			}
		}
	}

	return tempAdjustedFlag;
}
 
开发者ID:atdl4j,项目名称:atdl4j,代码行数:45,代码来源:SWTStrategyPanelHelper.java

示例8: relayoutCollapsibleStrategyPanels

import org.eclipse.swt.widgets.ExpandBar; //导入依赖的package包/类
public void relayoutCollapsibleStrategyPanels()
{
	// -- avoid lots of 'thrash' during initial build/load of the various Strategy panels containing one or more collapsible panels --		
	for ( ExpandBar tempExpandBar : getExpandBarList() )
	{
		// -- Force re-sizing (to support non-collapsed, collapsible ExpandBar components) --
		if ( tempExpandBar.getItem( 0 ).getExpanded() )
		{
			SWTStrategyPanelHelper.relayoutExpandBar( tempExpandBar, false );
		}
	}
}
 
开发者ID:atdl4j,项目名称:atdl4j,代码行数:13,代码来源:SWTStrategyUI.java

示例9: SWTRelayoutExpandBarThread

import org.eclipse.swt.widgets.ExpandBar; //导入依赖的package包/类
public SWTRelayoutExpandBarThread( ExpandBar anExpandBar )
{
	expandBar = anExpandBar;
	
	Display.getCurrent().asyncExec(new Runnable()
	{
        public void run()
        {
        	SWTStrategyPanelHelper.relayoutExpandBar( expandBar );
        }
    });
}
 
开发者ID:atdl4j,项目名称:atdl4j,代码行数:13,代码来源:SWTRelayoutExpandBarThread.java

示例10: getExpandBar

import org.eclipse.swt.widgets.ExpandBar; //导入依赖的package包/类
public ExpandBar getExpandBar(){
	return bar;
}
 
开发者ID:convertigo,项目名称:convertigo-eclipse,代码行数:4,代码来源:EnginePreferenceComposite.java

示例11: createInputFieldExpandBarSection

import org.eclipse.swt.widgets.ExpandBar; //导入依赖的package包/类
private void createInputFieldExpandBarSection(Composite composite) {
	Composite composite_1 = new Composite(composite, SWT.NONE);
	GridLayout gl_composite_1 = new GridLayout(1, false);
	gl_composite_1.horizontalSpacing = 0;
	gl_composite_1.verticalSpacing = 0;
	gl_composite_1.marginWidth = 0;
	gl_composite_1.marginHeight = 0;
	composite_1.setLayout(gl_composite_1);
	GridData gd_composite_1 = new GridData(SWT.FILL, SWT.FILL, false, true,
			1, 1);
	gd_composite_1.widthHint = 276;
	composite_1.setLayoutData(gd_composite_1);
	composite_1.setBounds(0, 0, 64, 64);

	final ScrolledComposite scrolledComposite_1 = new ScrolledComposite(
			composite_1, SWT.BORDER | SWT.V_SCROLL );
	scrolledComposite_1.setLayoutData(new GridData(SWT.FILL, SWT.FILL,
			true, true, 1, 1));
	scrolledComposite_1.setExpandHorizontal(true);
	scrolledComposite_1.setExpandVertical(true);
	
	Composite composite_7 = new Composite(scrolledComposite_1, SWT.NONE);
	composite_7.setLayout(new GridLayout(1, false));

	final ExpandBar expandBar = new ExpandBar(composite_7, SWT.H_SCROLL);
	expandBar.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 1,
			1));
	
	expandBar.setBackground(CustomColorRegistry.INSTANCE.getColorFromRegistry( 240, 240, 240));
	populateInputFieldExpandBarSection(expandBar);

	expandBar.getItem(0).setExpanded(true);

	scrolledComposite_1.setContent(composite_7);
	scrolledComposite_1.setMinSize(composite_7.computeSize(SWT.DEFAULT,
			SWT.DEFAULT));
	
	
	composite_7.addControlListener(new ControlAdapter() {
		@Override
		public void controlResized(ControlEvent e) {
			
			for(ExpandItem expandItem:expandBar.getItems()){
				((TableColumn)expandItem.getData("TableColumn")).setWidth(scrolledComposite_1.getSize().x);
			}
		}
	});
}
 
开发者ID:capitalone,项目名称:Hydrograph,代码行数:49,代码来源:JoinMapDialog.java

示例12: main

import org.eclipse.swt.widgets.ExpandBar; //导入依赖的package包/类
public static void main(String[] args) {
    Display display = new Display();
    Shell shell = new Shell(display);
    shell.setLayout(new FillLayout());
    shell.setText("ExpandBar Example");
    ExpandBar bar = new ExpandBar(shell, SWT.V_SCROLL);
//    Image image = new Image(display, "yourFile.gif");

    // First item
    Composite composite = new Composite(bar, SWT.NONE);
    GridLayout layout = new GridLayout();
    layout.marginLeft = layout.marginTop = layout.marginRight = layout.marginBottom = 10;
    layout.verticalSpacing = 10;
    composite.setLayout(layout);
    Button button = new Button(composite, SWT.PUSH);
    button.setText("SWT.PUSH");
    button = new Button(composite, SWT.RADIO);
    button.setText("SWT.RADIO");
    button = new Button(composite, SWT.CHECK);
    button.setText("SWT.CHECK");
    button = new Button(composite, SWT.TOGGLE);
    button.setText("SWT.TOGGLE");
    ExpandItem item0 = new ExpandItem(bar, SWT.NONE, 0);
    item0.setText("What is your favorite button");
    item0.setHeight(composite.computeSize(SWT.DEFAULT, SWT.DEFAULT).y);
    item0.setControl(composite);
    
    
    ExpandItem item1 = new ExpandItem(bar, SWT.NONE, 0);
    item1.setText("What is your favorite button2");
    item1.setHeight(composite.computeSize(SWT.DEFAULT, SWT.DEFAULT).y);
    Button btn = new Button(bar, SWT.PUSH);
    btn.setText("hello");
    item1.setControl(btn);    
    
    
//    item0.setImage(image);

    item0.setExpanded(true);

    bar.setSpacing(8);
    shell.setSize(400, 350);
    shell.open();
    while (!shell.isDisposed()) {
      if (!display.readAndDispatch()) {
        display.sleep();
      }
    }
//    image.dispose();
    display.dispose();
  }
 
开发者ID:Transkribus,项目名称:TranskribusSwtGui,代码行数:52,代码来源:ExpandBarControlsAdding.java

示例13: StructuralMetadataWidget

import org.eclipse.swt.widgets.ExpandBar; //导入依赖的package包/类
public StructuralMetadataWidget(Composite parent, int style) {
		super(parent, style);
		this.setLayout(new GridLayout(2, false));
		this.setLayoutData(new GridData(SWT.LEFT, SWT.TOP, true, false, 1, 1));
		
		if (USE_EXPAND_BAR) {
			bar = new ExpandBar(this, SWT.V_SCROLL);
		}
		
		Composite container = USE_EXPAND_BAR ? bar : this;
		
		initPageMd();
		
		Label l0 = new Label(this, 0);
		l0.setText("Selected element type: ");
		
//		selectedShapeTypeText = new Text(this, SWT.SINGLE | SWT.BORDER);
//		selectedShapeTypeText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
		
		shapeTypeCombo = new Combo(this, SWT.DROP_DOWN | SWT.READ_ONLY);
		shapeTypeCombo.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
						
		shapeTypeCombo.setItems(RegionTypeUtil.ALL_REGIONS.toArray(new String[0]));
		
//		regionTypeText.setText("whatever");
		
		structureGroup = new Group(container, SWT.NONE);
//		structureGroup = new Composite(expandBar, SWT.NONE);
		structureGroup.setText("Structure Type");
		structureGroup.setLayoutData(new GridData(SWT.FILL, SWT.TOP, true, false, 2, 1));
		GridLayout structureGl = new GridLayout(2, false);
		structureGl.verticalSpacing = 0;
		structureGl.marginWidth = 1;
		structureGroup.setLayout(structureGl);
		
//		Label l1 = new Label(structureGroup, SWT.NONE);
//		l1.setText("Structure: ");
		structureText = new Text(structureGroup, SWT.SINGLE | SWT.BORDER);
		structureText.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 2, 1));
		structureText.setToolTipText("The structure type of the selected element - you can edit this field to change the type or choose any of the predifined types below. Clear this text to remove a previously defined structure type.");
		structModifyListener = new ModifyListener() {
			@Override public void modifyText(ModifyEvent e) {
				setStructureType(structureText.getText());
			}
		};
		structureText.addModifyListener(structModifyListener);
		
		for (final TextTypeSimpleType t : TextTypeSimpleType.values()) {
			final Button btn = createButton(structureGroup, SWT.RADIO, t.value(), 1, false);
			btn.addSelectionListener(new SelectionAdapter() {
				@Override public void widgetSelected(SelectionEvent e) {
					setStructureType(t.value());
				}
			});
			structureRadios.add(btn);
		}
		
		new Label(structureGroup, 0); // needed to align following button correctly!

		
		applyStructBtn = new Button(structureGroup, SWT.PUSH);
		applyStructBtn.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false, false, 1, 1));
		applyStructBtn.setText("Apply");
		applyStructBtn.setToolTipText("Applies the structure to all selected elements (note: if multiple elements are selected, the metadata is not applied automatically but with this button)");
		
		applyStructRecBtn = new Button(structureGroup, SWT.PUSH);
		applyStructRecBtn.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false, false, 1, 1));
		applyStructRecBtn.setText("Apply down");
		applyStructRecBtn.setToolTipText("Applies the structure to all selected elements and its child elements, e.g. for a region and all its line and word elements!");
		
		structureGroup.pack();

//		initTaggingWidget(container);
		
//		initTextStyleMd(container);
		
		if (USE_EXPAND_BAR)
			initExpandItmes();
	}
 
开发者ID:Transkribus,项目名称:TranskribusSwtGui,代码行数:80,代码来源:StructuralMetadataWidget.java

示例14: createLeftControlPanel

import org.eclipse.swt.widgets.ExpandBar; //导入依赖的package包/类
/*******************************************************
 * Creates the left control panel of the graph view
 * 
 * @param parent
 *            The {@link SashForm} parent of this panel
 *******************************************************/
private void createLeftControlPanel(Composite parent)
{
	// The expand bar
	ExpandBar bar = new ExpandBar(parent, SWT.V_SCROLL);

	// Create the composites of the Macro/Micro Expand Items:

	// --- 1 - The Macro composite
	Composite macroComp = new Composite(bar, SWT.BORDER | SWT.SHADOW_ETCHED_IN);
	macroComp.setLayout(new GridLayout(1, true));
	macroComp.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));

	// The enable button of the macro graph
	mEnableMacroGraph = new Button(macroComp, SWT.RADIO);
	mEnableMacroGraph.setLayoutData(new GridData(SWT.FILL, SWT.FILL, false, false));
	mEnableMacroGraph.setText("Enable Macro Graph");

	// The list of tactics for the macro graph: contains check boxes
	mMacroTactics = new Group(macroComp, SWT.BORDER | SWT.SHADOW_ETCHED_IN);
	mMacroTactics.setLayout(new GridLayout(1, true));
	mMacroTactics.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
	mMacroTactics.setText("Select Tactics");

	// --- 2 - The Micro composite
	Composite microComp = new Composite(bar, SWT.BORDER | SWT.SHADOW_ETCHED_IN);
	microComp.setLayout(new GridLayout(1, true));
	microComp.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));

	// The enable button of the micro graph
	mEnableMicroGraph = new Button(microComp, SWT.RADIO);
	mEnableMicroGraph.setLayoutData(new GridData(SWT.FILL, SWT.FILL, false, false));
	mEnableMicroGraph.setText("Enable Micro Graph");

	// The list of tactics for the macro graph: contains check boxes
	mMicroTactics = new Group(microComp, SWT.BORDER | SWT.SHADOW_ETCHED_IN);
	mMicroTactics.setLayout(new GridLayout(1, true));
	mMicroTactics.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
	mMicroTactics.setText("Select a Tactic");

	// Create the expand items:

	// 1 - The Macro Graph Expand Item
	mMacroExpandItem = new ExpandItem(bar, SWT.NONE);
	mMacroExpandItem.setText("Macro Graph");
	mMacroExpandItem.setImage(mImageRegistry.getImage("timIcon"));
	// Set the control of the expand item
	mMacroExpandItem.setHeight(macroComp.computeSize(SWT.DEFAULT, SWT.DEFAULT).y);
	mMacroExpandItem.setControl(macroComp);

	// 2 - The Macro Graph Expand Item
	mMicroExpandItem = new ExpandItem(bar, SWT.NONE);
	mMicroExpandItem.setText("Micro Graph");
	mMicroExpandItem.setImage(mImageRegistry.getImage("timIcon"));
	// Set the control of the expand item
	mMicroExpandItem.setHeight(microComp.computeSize(SWT.DEFAULT, SWT.DEFAULT).y);
	mMicroExpandItem.setControl(microComp);

	// Expand the macro item by default
	mMacroExpandItem.setExpanded(true);
	mMicroExpandItem.setExpanded(false);
}
 
开发者ID:ArchieProject,项目名称:Archie-Smart-IDE,代码行数:68,代码来源:GraphView.java

示例15: ObjectContextView

import org.eclipse.swt.widgets.ExpandBar; //导入依赖的package包/类
/**
 * Create the composite.
 * 
 * @param parent
 * @param style
 */
public ObjectContextView(CTApp app, AppWindow window, Composite parent, int style) {
	super(parent, style);

	this.app = app;

	setLayout(new GridLayout(1, false));

	ctools = new CTComposite(this, SWT.NONE);
	ctools.setBackground(CTResourceManagerFactory.instance().getActiontitle2Background());
	ctools.setForeground(CTResourceManagerFactory.instance().getActionTitle2Color());

	GridLayout ctoolslayout = new GridLayout();
	ctoolslayout.numColumns = 10;
	ctools.setLayout(ctoolslayout);
	ctools.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false, 1, 1));

	CTLabel ltitle = new CTLabel(ctools, SWT.NONE);

	scrolledComposite = new ScrolledComposite(this, SWT.BORDER | SWT.V_SCROLL);
	scrolledComposite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 1, 1));
	scrolledComposite.setExpandHorizontal(true);
	scrolledComposite.setExpandVertical(true);
	scrolledComposite.addListener(SWT.Resize, new Listener() {
		@Override
		public void handleEvent(Event arg0) {
			updateLayout();
		}
	});

	expandBar = new ExpandBar(scrolledComposite, SWT.NONE);
	expandBar.setBackground(CTResourceManagerFactory.instance().getControlBg());

	ExpandItem xpndtmUsedIn = new ExpandItem(expandBar, SWT.NONE);
	xpndtmUsedIn.setExpanded(true);
	xpndtmUsedIn.setText("Used in");

	cusedin = new CTComposite(expandBar, SWT.NONE);

	xpndtmUsedIn.setControl(cusedin);
	xpndtmUsedIn.setHeight(xpndtmUsedIn.getControl().computeSize(SWT.DEFAULT, SWT.DEFAULT).y);

	xpndtmProperties = new ExpandItem(expandBar, SWT.NONE);
	xpndtmProperties.setExpanded(true);
	xpndtmProperties.setText("Properties");

	propertiesview = new ObjectViewer(app, window, expandBar);
	xpndtmProperties.setControl(propertiesview);

	xpndtmChildren = new ExpandItem(expandBar, SWT.NONE);
	xpndtmChildren.setExpanded(true);
	xpndtmChildren.setText("children");

	createSubpartsTable();

	scrolledComposite.setContent(expandBar);
	scrolledComposite.setMinSize(expandBar.computeSize(SWT.DEFAULT, SWT.DEFAULT));
	ltitle.setText("Tree");
	ltitle.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false, 1, 1));

	propertiesview.addObjectChangeListener((e) -> {
		updateLayout();
	});
}
 
开发者ID:CollabThings,项目名称:collabthings.swt,代码行数:70,代码来源:ObjectContextView.java


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